Re: xserver, video playback, direct rendering etc.
Felipe, Output of fglrxinfo: display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Radeon HD 2400 XT OpenGL version string: 2.1.7873 Release Daniel, Hmmm... that may be the problem... Output of dpkg -l '*libmesa*': un xlibmesa-drinone available) ii xlibmesa-gl 1:7.3+15 ii xlibmesa-glu1:7.3+15 un xlibmesa3 none -- Sorry, no, xlibmesa-dri has been replaced by libgl1-mesa-dri which is installed (the latest version). Output of dmesg | grep drm: [nothing] Is that bad? Output of cat /var/log/Xorg.0.log | grep dri: X.Org XInput driver : 2.0 (II) LoadModule: dri (II) Loading /usr/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor=X.Org Foundation (II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so ABI class: X.Org XInput driver, version 2.0 ABI class: X.Org XInput driver, version 2.0 (II) AMD Video driver is running on a device belonging to a group targeted for this release (II) AMD Video driver is signed (**) fglrx(0): Option dri true drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: node name is /dev/dri/card0 (==) fglrx(0): OpenGL ClientDriverName: fglrx_dri.so (II) fglrx(0): driver needs X.org 7.1.x.y with x.y = 0.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: node name is /dev/dri/card0 (II) fglrx(0): Kernel Module version matches driver. drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: node name is /dev/dri/card0 (WW) AIGLX: 3D driver claims to not support visual 0x23 (WW) AIGLX: 3D driver claims to not support visual 0x24 (WW) AIGLX: 3D driver claims to not support visual 0x25 ...snip (WW) AIGLX: 3D driver claims to not support visual 0x72 (II) AIGLX: Loaded and initialized /usr/lib/dri/fglrx_dri.so Warning: LookupDrawable()/SecurityLookupDrawable() are deprecated. Please convert your driver/module to use dixLookupDrawable(). --- Thanks for the questions guys! Regards, Nick Felipe Gallois wrote: what's $fglrxinfo returning? On Fri, Sep 12, 2008 at 18:34, Nicholas Syrotiuk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks for the suggestions, Kelly. First I stuck with the fglrx driver and added the two options to the Device section of xorg.conf. Unfortunately this didn't seem to make any difference to the video playback; i.e., it's still stuttering. Then I tried both the RadeonHD and the Radeon drivers. The xserver starts in each case (as expected) but direct rendering is disabled. Is there anything I can do to enable direct rendering with either of these drivers? Cheers, Nick Kelly Clowers wrote: On Fri, Sep 12, 2008 at 3:57 AM, Nicholas Syrotiuk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dear Debian users, I installed lenny on a new system last week. Without changing anything, the xserver started successfully. (Thanks!) But direct rendering was disabled. (No surprise there.) Regardless DVD/video playback was satisfactory using totem-xine. However it was desirable to try to get direct rendering working for all sorts of reasons so I: 1. installed fglrx-driver and fglrx-kernel-src 2. used module-assistant to build and install the fglrx module 3. used aticonfig to update xorg.conf When I restarted the xserver, direct rendering was indeed enabled but DVD/video playback now stutters every minute or so. Also, when my kids play Extreme Tux Racer the video stutters in a similar fashion. The other problem I have, regardless of the video driver, is that the xserver crashes in certain situations: 1. switching users via the User switcher applet; or 2. if the screensaver puts the display to sleep By crash I mean no video and no keyboard so must reboot. My kernel is: Linux mozart 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 and I have included my xorg.conf and lspci info below. I'd be grateful for any help or suggestions. Regards, Nick - 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 2400 XT That is an r600 series, if all else fails, you might get somewhere with the Radeon driver or the RadeonHD driver I don't think your problem has much to do with your xorg.conf, but it is really old and should be cleaned up anyway. The comment block at the top is old and all wrong and
Re: xserver, video playback, direct rendering etc.
On Sat, 13 Sep 2008 08:13:52 +0100 Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Output of dmesg | grep drm: [nothing] Is that bad? Maybe not for the closed source (ati's) driver, but for the open source driver if the drm kernel module is not loaded then DRI can't be done which means your getting unaccelerated video. I'm not familiar with ati's driver so I don't know if it is the same. If it is do modprobe radeon and then show the output of dmesg | tail Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature
Re: xserver, video playback, direct rendering etc.
On Fri, Sep 12, 2008 at 2:34 PM, Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Thanks for the suggestions, Kelly. First I stuck with the fglrx driver and added the two options to the Device section of xorg.conf. Unfortunately this didn't seem to make any difference to the video playback; i.e., it's still stuttering. Then I tried both the RadeonHD and the Radeon drivers. The xserver starts in each case (as expected) but direct rendering is disabled. Is there anything I can do to enable direct rendering with either of these drivers? Looking more carefully at the wiki, it looks like Radeon doesn't do acceleration for your card, but RadeonHD should if it is 1.2 (which is in Testing). AFAIK, the DRI and RenderAccel options should make it work. When you say direct rendering is disabled, did you determine that with glxinfo or what? Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
On Sat, Sep 13, 2008 at 9:03 AM, Kelly Clowers [EMAIL PROTECTED] wrote: On Fri, Sep 12, 2008 at 2:34 PM, Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Thanks for the suggestions, Kelly. First I stuck with the fglrx driver and added the two options to the Device section of xorg.conf. Unfortunately this didn't seem to make any difference to the video playback; i.e., it's still stuttering. Then I tried both the RadeonHD and the Radeon drivers. The xserver starts in each case (as expected) but direct rendering is disabled. Is there anything I can do to enable direct rendering with either of these drivers? Looking more carefully at the wiki, it looks like Radeon doesn't do acceleration for your card, but RadeonHD should if it is 1.2 (which is in Testing). AFAIK, the DRI and RenderAccel options should make it work. When you say direct rendering is disabled, did you determine that with glxinfo or what? Cheers, Kelly Clowers Just found a post on Phoronix from a dev that said: if you have an HD2400 then the problem is simply that we don't have video acceleration for your card yet, but we are working on it. dated 08/27/20008 So the RadeonHD driver will not work even though the wiki says it will, and cards above and below it are supported... You could take your fglrx problem to the Phoronix forum. They probably have the highest concentration of Linux graphics experts anywhere outside of the Xorg dev mailing lists. Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
Daniel, Here's the command: mozart:/home/ns# modprobe radeon WARNING: Error inserting drm (/lib/modules/2.6.26-1-686/kernel/drivers/char/drm/drm.ko): Cannot allocate memory FATAL: Error inserting radeon (/lib/modules/2.6.26-1-686/kernel/drivers/char/drm/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg) And here's the output in dmesg: ... [40019.547621] [fglrx] Reserved FB block: Unshared offset:fffc000, size:4000 [56066.247789] radeon: Unknown symbol drm_open [56066.247789] radeon: Unknown symbol drm_fasync [56066.247789] radeon: Unknown symbol drm_poll [56066.247789] radeon: Unknown symbol drm_get_resource_len [56066.247789] radeon: Unknown symbol drm_core_get_reg_ofs [56066.247789] radeon: Unknown symbol drm_irq_uninstall [56066.247789] radeon: Unknown symbol drm_ioctl [56066.247789] radeon: Unknown symbol drm_exit [56066.247789] radeon: Unknown symbol drm_getsarea [56066.247789] radeon: Unknown symbol drm_debug [56066.247789] radeon: Unknown symbol drm_core_ioremapfree [56066.247789] radeon: Unknown symbol drm_core_get_map_ofs [56066.247789] radeon: Unknown symbol drm_init [56066.247789] radeon: Unknown symbol drm_addmap [56066.247789] radeon: Unknown symbol drm_get_resource_start [56066.247789] radeon: Unknown symbol drm_vbl_send_signals [56066.247789] radeon: Unknown symbol drm_ati_pcigart_init [56066.247789] radeon: Unknown symbol drm_core_ioremap [56066.247789] radeon: Unknown symbol drm_mmap [56066.247789] radeon: Unknown symbol drm_order [56066.247789] radeon: Unknown symbol drm_ati_pcigart_cleanup [56066.247789] radeon: Unknown symbol drm_core_reclaim_buffers [56066.247789] radeon: Unknown symbol drm_release Doesn't look too good... Sorry, I don't know what to do about it either; could you please assist? Cheers, Nick Daniel Dickinson wrote: On Sat, 13 Sep 2008 08:13:52 +0100 Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Output of dmesg | grep drm: [nothing] Is that bad? Maybe not for the closed source (ati's) driver, but for the open source driver if the drm kernel module is not loaded then DRI can't be done which means your getting unaccelerated video. I'm not familiar with ati's driver so I don't know if it is the same. If it is do modprobe radeon and then show the output of dmesg | tail Regards, Daniel -- N Syrotiuk | Mimas | University of Manchester | Manchester M13 9PL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
Thanks, Kelly. That sounds fairly definitive. I will take my problem to Phoronix unless Daniel or Felipe come up with a solution. Cheers, Nick Kelly Clowers wrote: On Sat, Sep 13, 2008 at 9:03 AM, Kelly Clowers [EMAIL PROTECTED] wrote: On Fri, Sep 12, 2008 at 2:34 PM, Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Thanks for the suggestions, Kelly. First I stuck with the fglrx driver and added the two options to the Device section of xorg.conf. Unfortunately this didn't seem to make any difference to the video playback; i.e., it's still stuttering. Then I tried both the RadeonHD and the Radeon drivers. The xserver starts in each case (as expected) but direct rendering is disabled. Is there anything I can do to enable direct rendering with either of these drivers? Looking more carefully at the wiki, it looks like Radeon doesn't do acceleration for your card, but RadeonHD should if it is 1.2 (which is in Testing). AFAIK, the DRI and RenderAccel options should make it work. When you say direct rendering is disabled, did you determine that with glxinfo or what? Cheers, Kelly Clowers Just found a post on Phoronix from a dev that said: if you have an HD2400 then the problem is simply that we don't have video acceleration for your card yet, but we are working on it. dated 08/27/20008 So the RadeonHD driver will not work even though the wiki says it will, and cards above and below it are supported... You could take your fglrx problem to the Phoronix forum. They probably have the highest concentration of Linux graphics experts anywhere outside of the Xorg dev mailing lists. Cheers, Kelly Clowers -- N Syrotiuk | Mimas | University of Manchester | Manchester M13 9PL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
On Fri, Sep 12, 2008 at 07:57, Nicholas Syrotiuk [EMAIL PROTECTED]wrote: 1. installed fglrx-driver and fglrx-kernel-src 2. used module-assistant to build and install the fglrx module i think you should try the with latest drivers ati provide, downloading prom their site. i'm not aware about the version in the repositories, but maybe there are issues that have already been solved check the release notes in ati site so that you can find it out cheers! -- gallois aka Felipe Gallois website: www.gallois.com.br blog: www.gallois.com.br/blog fanglib homepage: www.gallois.com.br/fanglib
Re: xserver, video playback, direct rendering etc.
Thanks, Felipe. I have installed ATI Catalyst 8.8 from the AMD web site and tested it thoroughly but the problems I described earlier still remain. I wonder if it's a clocking/timing problem? But I honestly wouldn't know where to begin if that were the problem. Nick Felipe Gallois wrote: On Fri, Sep 12, 2008 at 07:57, Nicholas Syrotiuk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: 1. installed fglrx-driver and fglrx-kernel-src 2. used module-assistant to build and install the fglrx module i think you should try the with latest drivers ati provide, downloading prom their site. i'm not aware about the version in the repositories, but maybe there are issues that have already been solved check the release notes in ati site so that you can find it out cheers! -- gallois aka Felipe Gallois website: www.gallois.com.br http://www.gallois.com.br blog: www.gallois.com.br/blog http://www.gallois.com.br/blog fanglib homepage: www.gallois.com.br/fanglib http://www.gallois.com.br/fanglib -- N Syrotiuk | Mimas | University of Manchester | Manchester M13 9PL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
On Fri, Sep 12, 2008 at 3:57 AM, Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Dear Debian users, I installed lenny on a new system last week. Without changing anything, the xserver started successfully. (Thanks!) But direct rendering was disabled. (No surprise there.) Regardless DVD/video playback was satisfactory using totem-xine. However it was desirable to try to get direct rendering working for all sorts of reasons so I: 1. installed fglrx-driver and fglrx-kernel-src 2. used module-assistant to build and install the fglrx module 3. used aticonfig to update xorg.conf When I restarted the xserver, direct rendering was indeed enabled but DVD/video playback now stutters every minute or so. Also, when my kids play Extreme Tux Racer the video stutters in a similar fashion. The other problem I have, regardless of the video driver, is that the xserver crashes in certain situations: 1. switching users via the User switcher applet; or 2. if the screensaver puts the display to sleep By crash I mean no video and no keyboard so must reboot. My kernel is: Linux mozart 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 and I have included my xorg.conf and lspci info below. I'd be grateful for any help or suggestions. Regards, Nick - 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 2400 XT That is an r600 series, if all else fails, you might get somewhere with the Radeon driver or the RadeonHD driver I don't think your problem has much to do with your xorg.conf, but it is really old and should be cleaned up anyway. The comment block at the top is old and all wrong and could be removed to prevent confusion. The Files and Modules sections are no longer needed, and can be removed. This part *might* actually be relevant to your issue: In the Device section, try putting: Option RenderAccel true Option DRI true I am not sure about this, as fglrx does things very differently from the OSS drivers. Sorry I can't offer more help. Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
Thanks for the suggestions, Kelly. First I stuck with the fglrx driver and added the two options to the Device section of xorg.conf. Unfortunately this didn't seem to make any difference to the video playback; i.e., it's still stuttering. Then I tried both the RadeonHD and the Radeon drivers. The xserver starts in each case (as expected) but direct rendering is disabled. Is there anything I can do to enable direct rendering with either of these drivers? Cheers, Nick Kelly Clowers wrote: On Fri, Sep 12, 2008 at 3:57 AM, Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Dear Debian users, I installed lenny on a new system last week. Without changing anything, the xserver started successfully. (Thanks!) But direct rendering was disabled. (No surprise there.) Regardless DVD/video playback was satisfactory using totem-xine. However it was desirable to try to get direct rendering working for all sorts of reasons so I: 1. installed fglrx-driver and fglrx-kernel-src 2. used module-assistant to build and install the fglrx module 3. used aticonfig to update xorg.conf When I restarted the xserver, direct rendering was indeed enabled but DVD/video playback now stutters every minute or so. Also, when my kids play Extreme Tux Racer the video stutters in a similar fashion. The other problem I have, regardless of the video driver, is that the xserver crashes in certain situations: 1. switching users via the User switcher applet; or 2. if the screensaver puts the display to sleep By crash I mean no video and no keyboard so must reboot. My kernel is: Linux mozart 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 and I have included my xorg.conf and lspci info below. I'd be grateful for any help or suggestions. Regards, Nick - 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 2400 XT That is an r600 series, if all else fails, you might get somewhere with the Radeon driver or the RadeonHD driver I don't think your problem has much to do with your xorg.conf, but it is really old and should be cleaned up anyway. The comment block at the top is old and all wrong and could be removed to prevent confusion. The Files and Modules sections are no longer needed, and can be removed. This part *might* actually be relevant to your issue: In the Device section, try putting: Option RenderAccel true Option DRI true I am not sure about this, as fglrx does things very differently from the OSS drivers. Sorry I can't offer more help. Cheers, Kelly Clowers -- N Syrotiuk | Mimas | University of Manchester | Manchester M13 9PL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xserver, video playback, direct rendering etc.
what's $fglrxinfo returning? On Fri, Sep 12, 2008 at 18:34, Nicholas Syrotiuk [EMAIL PROTECTED]wrote: Thanks for the suggestions, Kelly. First I stuck with the fglrx driver and added the two options to the Device section of xorg.conf. Unfortunately this didn't seem to make any difference to the video playback; i.e., it's still stuttering. Then I tried both the RadeonHD and the Radeon drivers. The xserver starts in each case (as expected) but direct rendering is disabled. Is there anything I can do to enable direct rendering with either of these drivers? Cheers, Nick Kelly Clowers wrote: On Fri, Sep 12, 2008 at 3:57 AM, Nicholas Syrotiuk [EMAIL PROTECTED] wrote: Dear Debian users, I installed lenny on a new system last week. Without changing anything, the xserver started successfully. (Thanks!) But direct rendering was disabled. (No surprise there.) Regardless DVD/video playback was satisfactory using totem-xine. However it was desirable to try to get direct rendering working for all sorts of reasons so I: 1. installed fglrx-driver and fglrx-kernel-src 2. used module-assistant to build and install the fglrx module 3. used aticonfig to update xorg.conf When I restarted the xserver, direct rendering was indeed enabled but DVD/video playback now stutters every minute or so. Also, when my kids play Extreme Tux Racer the video stutters in a similar fashion. The other problem I have, regardless of the video driver, is that the xserver crashes in certain situations: 1. switching users via the User switcher applet; or 2. if the screensaver puts the display to sleep By crash I mean no video and no keyboard so must reboot. My kernel is: Linux mozart 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 and I have included my xorg.conf and lspci info below. I'd be grateful for any help or suggestions. Regards, Nick - 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 2400 XT That is an r600 series, if all else fails, you might get somewhere with the Radeon driver or the RadeonHD driver I don't think your problem has much to do with your xorg.conf, but it is really old and should be cleaned up anyway. The comment block at the top is old and all wrong and could be removed to prevent confusion. The Files and Modules sections are no longer needed, and can be removed. This part *might* actually be relevant to your issue: In the Device section, try putting: Option RenderAccel true Option DRI true I am not sure about this, as fglrx does things very differently from the OSS drivers. Sorry I can't offer more help. Cheers, Kelly Clowers -- N Syrotiuk | Mimas | University of Manchester | Manchester M13 9PL -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- gallois aka Felipe Gallois website: www.gallois.com.br blog: www.gallois.com.br/blog fanglib homepage: www.gallois.com.br/fanglib
Re: xserver, video playback, direct rendering etc.
On Fri, 12 Sep 2008 20:39:35 -0300 Felipe Gallois [EMAIL PROTECTED] wrote: Linux mozart 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 and I have included my xorg.conf and lspci info below. I'd be grateful for any help or suggestions. Do you have the necessary libmesa-* packages installed? (e.g. libmesa-dri) What does 'cat dmesg|grep drm' say How about 'cat /var/log/Xorg.0.log | grep dri' ? Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore: http://www.wightman.ca/~cshore signature.asc Description: PGP signature