PDA

View Full Version : yv12 ,xvideo support


localizer
03-10-2007, 02:58 AM
i have ati x1600 on amd x86_64 i've installed the driver 8.33.06
but when i run xine-check i get

Your X server doesn't support YV12 overlays.

and

Your X server doesn't have any XVideo support.

how can i fix this ?

Michael
03-10-2007, 07:22 AM
In your modules section of your xorg.conf does it show module extmod? What is the output of xvinfo ?

localizer
03-10-2007, 11:29 AM
In your modules section of your xorg.conf does it show module extmod? What is the output of xvinfo ?


i can't find extmod in xorg.conf

when i type
xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

Michael
03-10-2007, 11:34 AM
Add the following to your xorg.conf:

Section "Module"
Load "extmod"
EndSection

localizer
03-10-2007, 12:49 PM
Add the following to your xorg.conf:

Section "Module"
Load "extmod"
EndSection


i've added the above line in xorg.conf to be as follows :

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "DRI"
Group 0
MODE 0666
EndSection

Section "Module"
Load "extmod"
EndSection

and reboot , but the problem still exist

found xvinfo: X-Video Extension version 2.2
[ hint ] Your X server doesn't support YV12 overlays.
That means xine will have to do color space transformation and scaling
in software, which is quite CPU intensive. Maybe upgrading your
X server will help here.
If you have an ATI card, you'll find accelerated X servers on
http://www.linuxvideo.org/gatos/

Your X server doesn't have any XVideo support...
XVideo is an X server extension introduced by XFree86 4.x. This
extension provides access to hardware accelerated color space
conversion and scaling, which gives a great performance boost.
If you have a fast (>1GHz) machine, you may be able to watch all
kinds of video, anyway. You will waste lots of CPU cycles, though...

partha
03-17-2007, 10:50 AM
i have ati x1600 on amd x86_64 i've installed the driver 8.33.06
but when i run xine-check i get

Your X server doesn't support YV12 overlays.

and

Your X server doesn't have any XVideo support.

how can i fix this ?
Try this:

In the Device section of /etc/X11/xorg.conf add the following option:
Option "VideoOverlay" "on"
So, this sections should read:

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
EndSection


HTH,

Partha
www.partha.com

localizer
03-22-2007, 06:13 PM
Try this:

In the Device section of /etc/X11/xorg.conf add the following option:
Option "VideoOverlay" "on"
So, this sections should read:

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
EndSection


HTH,

Partha
www.partha.com

i've added the above line , but still the problem exist

glussier
03-22-2007, 09:51 PM
Add the following line to the Module section of your xorg.conf file:


Load "XVideo"



If it can help you, here's my xorg.conf file:


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "extmod"
Load "v4l"
Load "XVideo"
Load "dri"
Load "glx"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca(fr)"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "NEC Multisync"
Option "dpms"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
# Option "DesktopSetup" "horizontal"
Option "VideoOverlay" "on"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection


And here's my outpout from xvideo command


[glussier@pegasus ~]$ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 59
operations supported: PutVideo
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
number of attributes: 15
"XV_ENCODING" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_MUTE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_FREQ" (range 0 to 16000)
client settable attribute
client gettable attribute (current value is 0)
"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 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 66051)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"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)
number of encodings: 14
encoding ID #0: "PAL-television"
size: 768 x 576
rate: 0.020000
encoding ID #1: "NTSC-television"
size: 640 x 480
rate: 0.016683
encoding ID #2: "SECAM-television"
size: 768 x 576
rate: 0.020000
encoding ID #3: "PAL-Nc-television"
size: 640 x 576
rate: 0.020000
encoding ID #4: "PAL-M-television"
size: 640 x 576
rate: 0.020000
encoding ID #5: "PAL-N-television"
size: 768 x 576
rate: 0.020000
encoding ID #6: "NTSC-JP-television"
size: 640 x 480
rate: 0.016683
encoding ID #7: "PAL-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #8: "NTSC-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #9: "SECAM-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #10: "PAL-Nc-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #11: "PAL-M-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #12: "PAL-N-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #13: "NTSC-JP-composite1"
size: 640 x 480
rate: 0.016683
Adaptor #1: "ATI Radeon Video Overlay"
number of ports: 1
port base: 60
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, 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 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 66051)
"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 353)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 77)
"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)
[glussier@pegasus ~]$

localizer
03-23-2007, 04:47 AM
Add the following line to the Module section of your xorg.conf file:


Load "XVideo"



If it can help you, here's my xorg.conf file:


# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "extmod"
Load "v4l"
Load "XVideo"
Load "dri"
Load "glx"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca(fr)"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "NEC Multisync"
Option "dpms"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
# Option "DesktopSetup" "horizontal"
Option "VideoOverlay" "on"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection


And here's my outpout from xvideo command


[glussier@pegasus ~]$ xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 59
operations supported: PutVideo
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
number of attributes: 15
"XV_ENCODING" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_MUTE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_FREQ" (range 0 to 16000)
client settable attribute
client gettable attribute (current value is 0)
"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 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 66051)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"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)
number of encodings: 14
encoding ID #0: "PAL-television"
size: 768 x 576
rate: 0.020000
encoding ID #1: "NTSC-television"
size: 640 x 480
rate: 0.016683
encoding ID #2: "SECAM-television"
size: 768 x 576
rate: 0.020000
encoding ID #3: "PAL-Nc-television"
size: 640 x 576
rate: 0.020000
encoding ID #4: "PAL-M-television"
size: 640 x 576
rate: 0.020000
encoding ID #5: "PAL-N-television"
size: 768 x 576
rate: 0.020000
encoding ID #6: "NTSC-JP-television"
size: 640 x 480
rate: 0.016683
encoding ID #7: "PAL-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #8: "NTSC-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #9: "SECAM-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #10: "PAL-Nc-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #11: "PAL-M-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #12: "PAL-N-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #13: "NTSC-JP-composite1"
size: 640 x 480
rate: 0.016683
Adaptor #1: "ATI Radeon Video Overlay"
number of ports: 1
port base: 60
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, 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 1)
"XV_COLORKEY" (range 0 to -1)
client settable attribute
client gettable attribute (current value is 66051)
"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 353)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_COLOR" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 77)
"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)
[glussier@pegasus ~]$




i've used you xorg.conf file changed only the location of files in modulepath and the type of monitor to be "Generic Autodetecting Monitor"
in section monitor but still no luck , same problem exist

mlau
03-23-2007, 05:06 AM
i've used you xorg.conf file changed only the location of files in modulepath and the type of monitor to be "Generic Autodetecting Monitor"
in section monitor but still no luck , same problem exist

Do the OpenGL output modes of mplayer, xine work?
e.g. mplayer -vo gl <file>
xine -V gl <file>

(post the _complete_ xorg.log too, please)

localizer
03-23-2007, 03:52 PM
Do the OpenGL output modes of mplayer, xine work?
e.g. mplayer -vo gl <file>
xine -V gl <file>

(post the _complete_ xorg.log too, please)

xine -V gl file the file worked but with following msg

This is xine (X11 gui) - a free video player v0.99.4.
(c) 2000-2004 The xine Team.
Xlib: extension "XFree86-DRI" missing on display ":0.0".
video_out_opengl: compiled for BGRA output, but missing extension.
[mpeg4 @ 0x2aaab03230e0]header damaged
[mpeg4 @ 0x2aaab03230e0]header damaged

localizer
03-23-2007, 03:55 PM
i receive error when i try to post the complete log of
cat /var/log/Xorg.0.log

so i will post only last lines

fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) fglrx(0): Acceleration enabled
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
(II) fglrx(0): Direct rendering disabled
(==) fglrx(0): Using hardware cursor
(WW) fglrx(0): Textured Video not supported without DRI enabled.
(WW) fglrx(0): Video Overlay not supported on AVIVO based graphics cards. For XVideo support use Option "TexturedVideo".
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib64/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(**) Option "Protocol" "IMPS/2"
(**) Mouse0: Device: "/dev/input/mice"
(**) Mouse0: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/input/mice"
(**) Option "Emulate3Buttons" "yes"
(**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) Mouse0: ps2EnableDataReporting: succeeded

SheeEttin
03-23-2007, 04:21 PM
Try pasting it to some Pastebin service.

The only useful line there is that DRI is disabled.

Alternatively, try posting the output of "cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW".

localizer
03-23-2007, 06:27 PM
Try pasting it to some Pastebin service.

The only useful line there is that DRI is disabled.

Alternatively, try posting the output of "cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW".

cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW


(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "v4l" (module does not exist, 0)
(EE) Failed to load module "TexturedVideo" (module does not exist, 0)
(EE) fglrx(0): GART is not initialized, disabling DRI
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) Warning, couldn't open module v4l
(WW) Warning, couldn't open module TexturedVideo
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): Failed to open DRM connection
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): No DRM connection for driver fglrx.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
(WW) fglrx(0): Textured Video not supported without DRI enabled.
(WW) fglrx(0): Video Overlay not supported on AVIVO based graphics cards. For XVideo support use Option "TexturedVideo".

glussier
03-23-2007, 07:13 PM
Seems like you are missing video for linux. What linux distribution are you using?

localizer
03-24-2007, 05:21 AM
Seems like you are missing video for linux. What linux distribution are you using?
i use fedora core 6

uname -a
Linux deep 2.6.19-1.2911.6.5.fc6 #1 SMP Sun Mar 4 16:05:34 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

partha
03-24-2007, 06:47 AM
cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW

...
(WW) Warning, couldn't open module v4l
(WW) Warning, couldn't open module TexturedVideo
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): Failed to open DRM connection
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): No DRM connection for driver fglrx.
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed! *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ********************************************* *
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
(WW) fglrx(0): Textured Video not supported without DRI enabled.
(WW) fglrx(0): Video Overlay not supported on AVIVO based graphics cards. For XVideo support use Option "TexturedVideo".

You can see the problem right above. You need to install, correctly, the fglrx drivers. It is possible that you upgraded your kernerl without rebuilding the fglrx drivers. I am about to post cautions about this on my website. In the meantime, make sure that your kernel and the fglrx modules match. Once you do that, post the output of the errors you are receiving.

HTH,

Partha
www.partha.com

localizer
03-24-2007, 10:00 AM
You can see the problem right above. You need to install, correctly, the fglrx drivers. It is possible that you upgraded your kernerl without rebuilding the fglrx drivers. I am about to post cautions about this on my website. In the meantime, make sure that your kernel and the fglrx modules match. Once you do that, post the output of the errors you are receiving.

HTH,

Partha
www.partha.com

i've just updated the kernel

Linux deep 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:00:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

what should i do exactly now ?

partha
03-24-2007, 10:30 AM
i've just updated the kernel

Linux deep 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:00:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

what should i do exactly now ?
Short answer, look at my website where I posted about just this dilemma. :)

Long answer, you will need to use Michael's script to recreate the fglrx driver and update the kernel module corresponding to your current kernel. Then you will have to install this kernel module and restart X.

As per Michael, you should be able to do this with the new driver as well.

HTH,

Partha
www.partha.com

localizer
03-24-2007, 01:33 PM
Short answer, look at my website where I posted about just this dilemma. :)

Long answer, you will need to use Michael's script to recreate the fglrx driver and update the kernel module corresponding to your current kernel. Then you will have to install this kernel module and restart X.

As per Michael, you should be able to do this with the new driver as well.

HTH,

Partha
www.partha.com

the script fglrx-f7t1-builder.sh is using
fglrx 8.33.6 drivers , and i've just downloaded ati-driver-installer-8.34.8-x86.x86_64.run

is that script is still valid ?

partha
03-24-2007, 01:49 PM
You could run the script or try out the new driver. See the last line of my previous reply to you.

HTH,

Partha
www.partha.com

localizer
03-24-2007, 02:29 PM
i've followed the instructions using partha.com site and using the script

fglrx-f7t1-builder.sh

i've installed the four new rpm generated


now i have one problem

Your X server doesn't support YV12 overlays

cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "v4l" (module does not exist, 0)
(EE) Failed to load module "XVideo" (module does not exist, 0)
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) Warning, couldn't open module v4l
(WW) Warning, couldn't open module XVideo
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
(WW) <default pointer>: No Device specified, looking for one...

partha
03-24-2007, 10:26 PM
i've followed the instructions using partha.com site and using the script

fglrx-f7t1-builder.sh

i've installed the four new rpm generated


now i have one problem

Your X server doesn't support YV12 overlays

cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) Failed to load module "v4l" (module does not exist, 0)
(EE) Failed to load module "XVideo" (module does not exist, 0)
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) Warning, couldn't open module v4l
(WW) Warning, couldn't open module XVideo
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Option "VendorName" is not used
(WW) fglrx(0): Option "ModelName" is not used
(WW) <default pointer>: No Device specified, looking for one...

Please get rid of all the extraneous lines in your xorg.conf file. FC6 does not even require an xorg.conf file for proper operation. We (the users of fglrx) need it only for the fglrx driver. In particular, please remove the lines containing XVideo and v4l.

I recall from your previous post

(WW) fglrx(0): Textured Video not supported without DRI enabled.
(WW) fglrx(0): Video Overlay not supported on AVIVO based graphics cards. For XVideo support use Option "TexturedVideo".


So, please change the option VideoOverly to TexturedVideo and let me know what you get. I am assuming that DRI and 3d acceleration is now working?

Partha
www.partha.com

localizer
03-25-2007, 01:45 PM
Please get rid of all the extraneous lines in your xorg.conf file. FC6 does not even require an xorg.conf file for proper operation. We (the users of fglrx) need it only for the fglrx driver. In particular, please remove the lines containing XVideo and v4l.

I recall from your previous post


So, please change the option VideoOverly to TexturedVideo and let me know what you get. I am assuming that DRI and 3d acceleration is now working?

Partha
www.partha.com

okay i've deleted lines for XVideo and v41 and inserted option TexturedVideo instead of VideoOverlay

here is the output after all
cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) <default pointer>: No Device specified, looking for one...


still this X video overlay problem

localizer
03-25-2007, 01:46 PM
okay i've deleted lines for XVideo and v41 and inserted option TexturedVideo instead of VideoOverlay

here is the output after all
cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) <default pointer>: No Device specified, looking for one...


still this X video overlay problem


Your X server doesn't support YV12 overlays.

partha
03-25-2007, 04:51 PM
Your X server doesn't support YV12 overlays.

I see you have answered yourself. :)

What is the output of
grep DRI /var/log/Xorg.0.log -A 10

?

Partha
www.partha.com

localizer
03-25-2007, 05:00 PM
grep DRI /var/log/Xorg.0.log -A 10
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(**) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "fglrx"
(II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
--
(==) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Reloading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
(II) fglrx(0): Depth moves disabled by default
(==) fglrx(0): Capabilities: 0x00000000
(==) fglrx(0): CapabilitiesEx: 0x00000000
(==) fglrx(0): cpuFlags: 0x4000001f
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(**) fglrx(0): ATI GART size: 128 MB
(II) fglrx(0): [pcie] 126976 kB allocated with handle 0xdeadbeef
--
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID PCI:6:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
--
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.33.6
(II) fglrx(0): Date: Jan 8 2007
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.20-1.2933.fc6
(II) fglrx(0): Build-Kernel MODVERSIONS: yes
(II) fglrx(0): Build-Kernel __SMP__: yes
--
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xd0000000 FBMappedSize: 0x00701000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,1434)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumption)
(II) fglrx(0): Largest offscreen area available: 1280 x 410
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
--
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(==) fglrx(0): Using hardware cursor
(II) fglrx(0): Interrupt handler installed at IRQ 19.
(II) fglrx(0): Exposed events to the /proc interface
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP

SheeEttin
03-25-2007, 10:57 PM
According to that, DRI seems to be working fine. There were no warning or error lines containing DRI there.

Could you post "cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW" again? It looks to me like it changed.

localizer
03-27-2007, 02:35 PM
According to that, DRI seems to be working fine. There were no warning or error lines containing DRI there.

Could you post "cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW" again? It looks to me like it changed.

i forgot to mention that since i've installed the new rpms , my pc log me off when i run xine

hereis

cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) <default pointer>: No Device specified, looking for one...

partha
03-27-2007, 06:07 PM
i forgot to mention that since i've installed the new rpms , my pc log me off when i run xine

hereis

cat /var/log/Xorg.0.log | grep EE && cat /var/log/Xorg.0.log | grep WW
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The core pointer device wasn't specified explicitly in the layout.
(WW) fglrx: No matching Device section for instance (BusID PCI:6:0:1) found
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) <default pointer>: No Device specified, looking for one...

I am confused. Please post your computer specs and your /etc/X11/xorg.conf.

Also, you have checked to see whether DRI is working? (I can see from the previous post that it is. But please double check with fgl_glxgears.)

When you use the default opensource driver "radeon" do you have any issues in terms of xine or what is the output using the radeon driver?

Let me know.

Thanks,

Partha
www.partha.com

localizer
03-29-2007, 01:57 PM
AMD Athlon 64 x2 4200+ , 1 gega ram , graphic card : ati radeon x1600

cat /etc/X11/xorg.conf

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
# Option "VendorName" "ATI Proprietary Driver"
# Option "ModelName" "Generic Autodetecting Monitor"
VendorName "ATI Proprietary Driver"
ModelName "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
# Driver "radeon"
# Option "VideoOverlay" "on"
Option "TexturedVideo" "on"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "DRI"
Group 0
MODE 0666
EndSection

Section "Module"
Load "extmod"
#Load "v4l"
# Load "XVideo"
Load "dri"
Load "glx"
#Load "TexturedVideo"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection

fgl_glxgears
gives output a moving box

i can't understand your last question

partha
03-29-2007, 06:26 PM
AMD Athlon 64 x2 4200+ , 1 gega ram , graphic card : ati radeon x1600

cat /etc/X11/xorg.conf

# Xorg configuration created by system-config-display

....

I would try to following first (also related to my last questions. Reduce to xorg.conf to the following:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
# Screen "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
Inputdevise "mouse" "CorePointer" #Please point to your mouse here.
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "mouse"
Driver "mouse" #please fix for your system
Option "device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
ModelName "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
# Option "VideoOverlay" "on"
Option "TexturedVideo" "on"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "DRI"
Group 0
MODE 0666
EndSection


Now you can switch between using the radeon driver and the fglrx driver to test whether you are having the problems you described with xine. So, change the flgrx to radeon driver, then reboot and test whether you still get an issue with xvinfo and xine. Hope that was coherent.

fgl_glxgears
gives output a moving box

So, 3D is working. That is good. :)

i can't understand your last question
[/QUOTE]
Is it clearer now?

HTH,

Partha
www.partha.com

localizer
03-31-2007, 01:43 PM
I would try to following first (also related to my last questions. Reduce to xorg.conf to the following:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
# Screen "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
Inputdevise "mouse" "CorePointer" #Please point to your mouse here.
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "mouse"
Driver "mouse" #please fix for your system
Option "device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
ModelName "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "radeon"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
# Option "VideoOverlay" "on"
Option "TexturedVideo" "on"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

Section "DRI"
Group 0
MODE 0666
EndSection


Now you can switch between using the radeon driver and the fglrx driver to test whether you are having the problems you described with xine. So, change the flgrx to radeon driver, then reboot and test whether you still get an issue with xvinfo and xine. Hope that was coherent.

So, 3D is working. That is good. :)


Is it clearer now?

HTH,

Partha
www.partha.com[/QUOTE]

when i used the above xorg.conf code the xserver didn't even start ....