Linux 15.028 Themen, 107.048 Beiträge

DGA,Framebuffer und xawtv unter Debian

Fridolin Michel / 11 Antworten / Baumansicht Nickles

Hallo!


Ich habe auf meinem PC Debian installiert und will mit xawtv und kwintv meine TV-Karte zum Fehrnsehen benutzen. Die TV-Treiber sind im Kernel als Module kompiliert und werden auch automatisch geladen, wenn ich "xawtv" auf der Komandozeile aufrufe. Auch das Programm xawtv startet, doch erweint nur ein scharzes Bild. Ich bekomme folgende Fehlermeldung:


WARNING: Your X-Server has no DGA support


WARNING: couldn´t find framebuffer base address, try manual configuration ("v41-conf-a <add>")


/etc/X11/xawtvrc:98:syntax error


ioctl:VDEOSPICT (params=32768/32768/32512/27648/0,depth=0,fmt=0):Invalid argument


ioctl:VIDEOCCAPTURE(on):Invalid argument


Auch bei kwintv erscheint nur ein schwarzes Bild. Wenn ich kv4lsetup aufrufe bekomme ich folgende Fehlermeldung:


WARNING: Your X-Server has no DGA support.


mode: 800*600, depth=16,bpp=16,bpl=1600, base=unknown


/dev/video[v4l2]: ioctl VIDEOQUERYCAP:Invalid argument


/de WARNING: couldn´t find framebuffer base address, try manual configuration ("v41-conf-a <add>")


v/video[v4l2]: V4l2 support seems to be missing, Using 4vl instead


Was ist ist DGA und was ist Framebuffer? Wie kann ich das Problem beheben?


Für Hilfe wäe ich sehr dankbar.


Gruß


Frido

bei Antwort benachrichtigen
the_mic Fridolin Michel „DGA,Framebuffer und xawtv unter Debian“
Optionen

was hast du für eine grafikkarte und kannst du mal deine /etc/X11/XF86Config-4 oder /etc/X11/XF86Config posten?

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
Fridolin Michel the_mic „was hast du für eine grafikkarte und kannst du mal deine /etc/X11/XF86Config-4...“
Optionen

Ich habe die ATI Xpert99 - Graphikkarte mit dem rage128-Chip. In der XF86config habe ich den rage 128-Chip eingestellt. Hier ist meine XF86Config:

# File generated by xf86config.

# # Copyright (c) 1999 by The XFree86 Project, Inc.
# # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions:
# # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software.
# # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# # Except as contained in this notice, the name of the XFree86 Project shall # not be used in advertising or otherwise to promote the sale, use or other # dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# ********************************************************************** # Refer to the XF86Config(4/5) man page for details about the format of
# this file. # **********************************************************************

# ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module.
SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
# Load "glx"

EndSection

# ********************************************************************** # Files section. This allows default font and rgb paths to be set # **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods)
# # If you don't have a floating point coprocessor and emacs, Mosaic or other # programs take long to start up, try moving the Type1 and Speedo directory # to the end of this list (or comment them out). #

# FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section. # **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the

bei Antwort benachrichtigen
the_mic Fridolin Michel „Ich habe die ATI Xpert99 - Graphikkarte mit dem rage128-Chip. In der XF86config...“
Optionen

interessant ist die zeile
SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection

korrigiere da mal die zeilenumbrüche zu
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection


danach kommentierst du mal die mittlere zeile aus, evtl hilft das schon.
SubSection "extmod"
#Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
Fridolin Michel the_mic „interessant ist die zeile SubSection extmod Option omit xfree86-dga don t...“
Optionen

Danke! Das war´s. Xawtv und kwintv funktionieren jetzt.
Gruß
Frido

bei Antwort benachrichtigen
the_mic Fridolin Michel „Danke! Das war s. Xawtv und kwintv funktionieren jetzt. Gruß Frido“
Optionen

freut mich!

cat /dev/brain > /dev/null
bei Antwort benachrichtigen
NANÜ Fridolin Michel „DGA,Framebuffer und xawtv unter Debian“
Optionen

zu dem Framebuffer folgendes:

Zitat http://www.linux-user.de/ausgabe/2002/05/044-framebuffer/framebuffer.html

Lange Zeit war das Anzeigen von Bildern oder Videofilmen der grafischen Oberfläche X11 vorbehalten - wer sich Bilder anschauen wollte, kam um die Installation und (oft aufwendige) Konfiguration von XFree86 nicht herum. Mit dem Linux Kernel 2.2 hielt dann das Framebuffer Device Einzug in die Linux-Welt, und es wurde möglich, Bilder und sogar Videofilme auf der Konsole ohne Qualitätsverlust anzuzeigen. Bevor wir uns mit dem eigentlichen Framebuffer Device genauer beschäftigen, möchte ich zum besseren Verständnis noch darauf hinweisen, dass die eigentliche Textkonsole, die in jedem Kernel standardmäßig aktiviert ist, und der Framebuffer im Kernel streng voneinander getrennt sind. Beide laufen unabhängig.
Die Technik

Das Framebuffer Device repräsentiert im System den Speicher der Grafikkarte und übernimmt die Koordination mit ihr. Es stellt gleichzeitig eine einheitliche Schnittstelle im /dev-Verzeichnis zur Verfügung, über die die verschiedenen Programme auf den Speicher der Grafikkarte indirekt zugreifen können. Die Programme, die auf der Konsole Bilder und Videofilme darstellen, kommunizieren also nicht direkt mit der Karte, sondern benutzen das Framebuffer Device als "Dolmetscher" zum System. Die dafür erforderlichen Schnittstellen werden über Gerätedateien in /dev angesprochen. Das erste Framebuffer Device im System verwendet /dev/fb0, das zweite /dev/fb1 usw.

Zitatende

den Rest lies dir bitte unter dem angegebenen Link durch.


zu DGA schau mal http://www.debianforum.net/forum/viewtopic.php?t=2072=KLICK MICH und ganz allgemein findest du unter www.debianforum.net sowie unter www.debian.org gute Artikel, Manpages usw. zu diesem Thema!

Soweit ich die Angaben (WARNING: Your X-Server has no DGA support.) richtig interpretiere, fehlt dir ein Treiber für die Graka.
ATI unterstützt aber Linux, also schau mal auf deren Homepage nach Linux-Treibern.

cu

NANÜ


P.S. Mit der Eingabe DGA Support + Linux findest du
unter www.google.de
mehr als 100 Seiten, die dir sicher weiterhelfen.


bei Antwort benachrichtigen
Fridolin Michel NANÜ „zu dem Framebuffer folgendes: Zitat...“
Optionen

Soweit ich das verstanden habe benötigt man das Framebuffer-Device, um kwintv oder xawtv direkt von der Konsole zu starten. Ich will aber die TV-Programme unter kde starten und brauche daher gar kein Framebuffer. Unter SuSe hatte ich die gleiche Kernelkonfiguration verwendet und auch Frambuffer im kernel deaktiviert gehabt.Trotzdem lief kwintv. Allerdings habe ich unter Debian kwinTV und xawtv über eine der KDE-Konsolen gestartet. Vieleicht liegt das daran. Wie kann ich aber die TV-Programme anders starten (ohne Konsolen)?

bei Antwort benachrichtigen
NANÜ Fridolin Michel „DGA,Framebuffer und xawtv unter Debian“
Optionen

Anmerkung: KWinTv funktioniert bei mir nur, wenn ich die 3D Unterstützung deaktiviere! Was soll man davon halten................???
Da ist zwar ein neues KwinTV in der Entwicklung, aber bis dahin verwende ich - natürlich - ausschließlich XawTV. Poste mal bitte deine Einstellungen von XawTV.

bei Antwort benachrichtigen
NANÜ Fridolin Michel „DGA,Framebuffer und xawtv unter Debian“
Optionen

Ohne Konsole geht es so.............Rechtsklick in KDE=> neu erstellen => Verknüpfung mit Adresse(url) => z.B. /usr/X11R6/bin/XawTV oder wo XawTV auch immer bei dir liegt............jetzt kannst du unter Eigenschaften noch ein Icon auswählen und das wars.

cu

NANÜ

bei Antwort benachrichtigen
Fridolin Michel NANÜ „Ohne Konsole geht es so.............Rechtsklick in KDE neu erstellen...“
Optionen

Danke für deine Tips. Der Bildschirm bleibt jedoch trotz Start ohne Konsole schwarz.

bei Antwort benachrichtigen
NANÜ Fridolin Michel „DGA,Framebuffer und xawtv unter Debian“
Optionen

poste bitte mal deine xawtv Einstellungen.................wählst du auch composite1?
Das stellen viele falsch ein...........

cu

NANÜ

bei Antwort benachrichtigen