View previous topic :: View next topic |
Author |
Message |
thaldyron Apprentice
Joined: 25 Sep 2002 Posts: 227 Location: On Earth
|
Posted: Fri Aug 06, 2004 6:14 am Post subject: Xv Problem: sometimes it works sometimes it doesn't |
|
|
Everytime I upgrade xorg, xine or mplayer, it seems to be pure coincidence if the video output via xv is still working and I don't really know why since I'm still a n00b regarding multimedia and Linux...
Any help/suggestions is very welcome!
Code: |
> xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "ATI Radeon Video Overlay"
number of ports: 1
port base: 61
operations supported: PutImage
supported visuals:
depth 16, visualID 0x23
depth 16, visualID 0x24
depth 16, visualID 0x25
depth 16, visualID 0x26
depth 16, visualID 0x27
depth 16, visualID 0x28
depth 16, visualID 0x29
depth 16, visualID 0x2a
number of attributes: 12
"XV_SET_DEFAULTS" (range 0 to 1)
client settable attribute
"XV_AUTOPAINT_COLORKEY" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 30)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -2)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -2)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -2)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -2)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is -2)
"XV_RED_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_GREEN_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BLUE_INTENSITY" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
|
Code: |
# File generated by xf86config.
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
Section "Module"
Load "dbe" # Double buffer extension
# 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 "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:-1"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
**********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
# Mouse-speed setting for PS/2 mouse.
Section "InputDevice"
Identifier "Mouse2"
Driver "synaptics"
Option "Protocol" "PS/2"
Option "Device" "/dev/mice"
EndSection
**********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
# Option "CalcAlgorithm" CheckDesktopGeometry"
Identifier "syncmaster"
DisplaySize 474 356
HorizSync 31.5 - 64.3
Option "DPMS"
VertRefresh 58-78
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
# Standard VGA Device:
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
EndSection
# Device configured by xf86config:
Section "Device"
Identifier "atiradeon"
Driver "radeon"
#Option "XaaNoOffscreenPixmaps"
#VideoRam 65536
# Insert Clocks lines here if appropriate
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen 1"
Device "atiradeon"
Monitor "syncmaster"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1400x1050" "1280x1024"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1400x1050"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
|
Code: |
> cat /usr/src/linux/.config
...
# CONFIG_AGP is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
...
|
Last edited by thaldyron on Fri Aug 06, 2004 12:46 pm; edited 1 time in total |
|
Back to top |
|
|
InfinityX Guru
Joined: 31 Jan 2004 Posts: 385
|
Posted: Fri Aug 06, 2004 8:00 am Post subject: |
|
|
Try sticking this in your Ati device section:
Code: | Option "XaaNoOffscreenPixmaps" |
It's the only way I can get xv to work at all. |
|
Back to top |
|
|
thaldyron Apprentice
Joined: 25 Sep 2002 Posts: 227 Location: On Earth
|
Posted: Fri Aug 06, 2004 8:51 am Post subject: |
|
|
InfinityX wrote: | Try sticking this in your Ati device section:
Code: | Option "XaaNoOffscreenPixmaps" |
It's the only way I can get xv to work at all. |
Thanks for your response, just tried it unfortunately it didn't help. Sound works but the picture stays blue |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|