AMD Radeon HD 6310 DRI Initialization Failed

Hello,

I have been trying to configure my video card without success.

Video Card:
AMD Radeon HD 6310

Linux Version:
openSuse 11.4 64 bits Kernel 2.6.37.1-1.2

I’m using fglrx video driver, I installed it using Catalyst 11.9.

However, I’m not able to use desktop effects. =(

grep ‘EE’ /var/log/Xorg.0.log gives:
47.549] Current Operating System: Linux Facebook-FB 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
47.652] (II) Loading extension MIT-SCREEN-SAVER
48.169] (EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
48.404] (EE) fglrx(0): XMM failed to open CMMQS connection.(EE) fglrx(0):
48.404] (EE) fglrx(0): XMM failed to initialize

grep ‘WW’ /var/log/Xorg.0.log gives:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
47.596] (WW) The directory “/usr/share/fonts/TTF/” does not exist.
47.596] (WW) The directory “/usr/share/fonts/OTF/” does not exist.
47.597] (WW) The directory “/usr/share/fonts/misc/sgi” does not exist.
47.849] (WW) Falling back to old probe method for fglrx
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:1:1) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:5) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:0) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:1) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:21:2) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:0) found
47.933] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:2) found
48.069] (WW) fglrx(0): board is an unknown third party board, chipset is supported
48.069] (WW) fglrx(0): Hasn’t establisted DRM connection
48.069] (WW) fglrx(0): No DRM connection for driver fglrx.
** 48.169] (WW) fglrx(0): ***********************************************************
48.169] (WW) fglrx(0): * DRI initialization failed *
48.169] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
48.169] (WW) fglrx(0): * 2D and 3D acceleration disabled *
48.169] (WW) fglrx(0): *************************************************************
48.264] (WW) fglrx(0): Textured Video not supported without DRI enabled.
48.404] (WW) fglrx(0): No XV video playback available
48.404] (WW) fglrx(0): Option “VendorName” is not used
48.404] (WW) fglrx(0): Option “ModelName” is not used

Any help would be greatly appreciated. =(

Regards.

I’m not sure about this, but I’ve seen reports which suggest that support for Radeon HD6XXX cards may not yet be fully supported by the current fglrx driver. See if the idea of using a minimal /etc/X11/xorg.conf will work for you:

AMD Developer Forums - Linux driver for E350/Zacate Radeon HD 6310 for APP/OpenCL

Hopefully what is reported below is simply a reflection of your card not being listed in the driver’s database, and not something more complex…

 48.069] (WW) fglrx(0): board is an unknown third party board, chipset is supported
 48.069] (WW) fglrx(0): Hasn't establisted DRM connection
 48.069] (WW) fglrx(0): No DRM connection for driver fglrx.
 48.169] (WW) fglrx(0): ***********************************************************
 48.169] (WW) fglrx(0): * DRI initialization failed *
 48.169] (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
 48.169] (WW) fglrx(0): * 2D and 3D acceleration disabled *
 48.169] (WW) fglrx(0): ***********************************************************

Thank you for your help!

I tried to follow instructions on the link you gave me, but now I’m stuck while building the driver:

  1. **/lib/modules/fglrx/build_mod # ./make.sh gives: **
AMD kernel module generator version 2.1
Error:
kernel includes at /lib/modules/2.6.37.1-1.2-desktop/build/include do not match current kernel.
they are versioned as "2.6.37.6-0.7-desktop"
instead of "2.6.37.1-1.2-desktop".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

what should I do?
This is what I have in my current configuration:

  1. uname -r
    2.6.37.1-1.2-desktop

  2. /lib/modules/2.6.37.1-1.2-desktop # ll
    total 2472
    lrwxrwxrwx 1 root root 39 Sep 13 18:27 build -> /lib/modules/2.6.37.6-0.7-desktop/build

  3. /usr/src # ll
    total 24
    drwxr-xr-x 2 root root 4096 Oct 8 22:14 ati
    drwxr-xr-x 3 root root 4096 Oct 8 22:46 kernel-modules
    lrwxrwxrwx 1 root root 18 Sep 13 18:15 linux -> linux-2.6.37.6-0.7
    drwxr-xr-x 23 root root 4096 Sep 13 18:15 linux-2.6.37.6-0.7
    drwxr-xr-x 3 root root 4096 Jul 26 18:32 linux-2.6.37.6-0.7-obj
    drwxr-xr-x 3 root root 4096 Jul 26 18:32 linux-obj
    drwxr-xr-x 8 root root 4096 Mar 2 2011 packages

I don’t see any reference to the kernel version in my folder /usr/include.

Thank you in advance. =)

Please post the output of:


rpm -qa '*kernel*'

On the surface it looks like you have kernel-source for the 2.6.37.6 kernel installed, but are running the 2.6.37.1 kernel. Have you rebooted since a kernel update ? That rpm command might help show what is wrong here.

rpm -qa ‘kernel
kernel-xen-devel-2.6.37.6-0.7.1.x86_64
kernel-desktop-2.6.37.1-1.2.2.x86_64
kernel-devel-2.6.37.6-0.7.1.noarch
kernel-default-devel-2.6.37.6-0.7.1.x86_64
kernel-syms-2.6.37.6-0.7.1.x86_64
kernel-source-2.6.37.6-0.7.1.noarch
kernel-desktop-devel-2.6.37.6-0.7.1.x86_64

Thank you

I’ve highighted in bold and red the problem in building the proprietary driver by installing the manual method (also called in the past 'the hardway (that is not hard) ’ ) .

The manual method builds the driver from source and it needs a consistent kernel-source and kernel-syms with your kernel-desktop version. I’m not 100% certain about kernel-syms but it MUST have a kernel source version.

Clearly it does not have consistent versions on your PC.

For some reason you rolled back to the older kernel-desktop-2.6.37.1-1.2.2.x86_64 but left installed the most current kernel-syms-2.6.37.6-0.7.1.x86_64 and kernel-source-2.6.37.6-0.7.1.noarch .

That’s a problem when building a driver. Any driver. You need to ensure those version numbers are the same. ie either roll back kernel-source and kernel-syms (and their associated dependencies) to the 2.6.37.1 kernel, or update your kernel-desktop to the 2.6.37.6 kernel such that the versions are the same.

Perfect!!!

Doing so everything is going fine now!

I even didn’t need to build the driver. I updated the kernel-desktop, reboot and now I have Desktop Effects!!! =)

Extremely good!

Thanks your all your help!

grep “DRI” /var/log/Xorg.0.log
25.847] (II) Loading extension XFree86-DRI
25.858] (II) Loading extension DRI2
29.845] (==) fglrx(0): NoDRI = NO
29.845] (II) Loading extension ATIFGLRXDRI
29.876] (II) fglrx(0): DRI initialization successfull
29.899] (II) fglrx(0): [DRI] installation complete
32.360] (II) AIGLX: Loaded and initialized OpenGL driver(II) GLX: Initialized DRI GL provider for screen 0

Hello,

I am having a very similar issue with the drivers for my ATI Radeon HD4550 and the Linux Proprietary Display drivers.

I have not attempted to update kernel, just installed the vanilla OS, then generated a SUSE specific .rpm for the following display driver as specifed in the installation doc:

(downloaded from AMD’s website this week)
ati-driver-installer-11-11-x86.x86_64.run

Here is my Xorg.0.log info:

(WW) fglrx(1): DRI initialization on primary screen failed.
(WW) fglrx(1): ***********************************************************
(WW) fglrx(1): * DRI initialization failed *
(WW) fglrx(1): * kernel module (fglrx.ko) may be missing or incompatible *
(WW) fglrx(1): * 2D and 3D acceleration disabled *
(WW) fglrx(1): ***********************************************************

rpm -qa ‘kernel

linux-kernel-headers-2.6.32-1.4.13
kernel-default-devel-2.6.32.12-0.7.1
kernel-default-2.6.32.12-0.7.1
kernel-xen-devel-2.6.32.12-0.7.1
kernel-source-2.6.32.12-0.7.1
kernel-default-base-2.6.32.12-0.7.1
kernel-syms-2.6.32.12-0.7.1

Mostly the trouble I am having is laggy video response when moving a window accross the screen or scrolling in any application but I am guessing this is a very similar issue gerardorcm was seeing.

Any help or advice you could provide would be appriciated.

Thanks!

I know on my completely different hardware (Radeon HD3450) I disabled KMS (using YaST) PRIOR to installing the catalyst/fglrx proprietary AMD driver. This is described in the openSUSE-11.4 and 12.1 release notes. Whether that may make a difference, I do not know.

Thanks for the response.

I think you are on the right track. I did not disable KMS prior to installing the display driver. I will report back once I test with a fresh install of the driver.

As a side note, I have been advised to make sure that /etc/modprobe.d/unsupported-modules has allow_unsupported_modules 1.

Thanks again.

After changing the flag:

/etc/modprobe.d/unsupported-modules -> allow_unsupported_modules 1

from:

/etc/modprobe.d/unsupported-modules -> allow_unsupported_modules 0

I was able to restart my PC and there is no more video lag.

I hope this helps someone else when installing their ATI Linux proprietary drivers.

Cheers!

Did you also disable KMS as oldcpu suggested?

I did not disable KMS.

It should not make a difference, because the postinstall script of the fglrx rpm (at least since Catalyst 11.10) will disable KMS and rebuild initrd (if KMS was enabled before). I explained it here: http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/466438-wrong-driver-fglrx-version-loading-bootup-3.html#post2413770

However it doesn’t look in initrd, just in /etc/sysconfig/kernel, meaning it doesn’t look if KMS is currently enabled but only if it was set to be enable or disable after running YaST (more precisely SuSEconfig, I guess). So it might not work in the (rare) cases where people have rebuilt the initial ramdisk manually (not using YaST).