Bug#589807: xserver-xorg-video-radeon: dri disabled ([dri] RADEONDRIGetVersion failed because of a version mismatch)

2010-07-21 Thread Julien Cristau
On Wed, Jul 21, 2010 at 10:41:56 +0200, Aleix Conchillo Flaqué wrote:

 Package: xserver-xorg-video-radeon
 Version: 1:6.13.0-2
 Severity: important
 
 If kernel radeon driver is not loaded before X starts (gdm in my case) it 
 might
 result into a blank screen (not always). Also, the same happens when 
 suspending
 or changing to console mode (attached X.0.log is the failing one):
 
 (EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version 
 mismatch.
 [dri] This chipset requires a kernel module version of 1.17.0,
 [dri] but the kernel reports a version of 2.0.0.[dri] If using legacy
 modesetting, upgrade your kernel.
 [dri] If using kernel modesetting, make sure your module is
 [dri] loaded prior to starting X, and that this driver was built
 [dri] with support for KMS.
 [dri] Disabling DRI.
 
 The solution that works for me is to force loading the radeon module in
 /etc/modules.

This should not be necessary, udev should autoload radeon on boot.  Can
you attach dmesg after removing radeon from /etc/modules?

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#589807: xserver-xorg-video-radeon: dri disabled ([dri] RADEONDRIGetVersion failed because of a version mismatch)

2010-07-21 Thread Julien Cristau
On Wed, Jul 21, 2010 at 12:25:38 +0200, Aleix Conchillo Flaqué wrote:

 On 07/21/2010 11:45 AM, Julien Cristau wrote:
 On Wed, Jul 21, 2010 at 10:41:56 +0200, Aleix Conchillo Flaqué wrote:
 
 The solution that works for me is to force loading the radeon module in
 /etc/modules.
 
 This should not be necessary, udev should autoload radeon on boot.  Can
 you attach dmesg after removing radeon from /etc/modules?
 
 
 From the dmesg timings, I can see that the drm initialization starts
 at [9.797560] when radeon module loaded in /etc/modules (see drm
 messages in original bug). From the dmesg output below, I see that
 drm initialization starts at [   22.688394]. So, it seems to me that
 udev is not loading the driver properly. I can easily detect this,
 because when radeon module is loaded properly before X, the text
 mode resolution changes.
 
 Also, if I boot with (recovery mode), the radeon module is not
 loaded (only if added in /etc/module).
 
That's weird...  Can you get the contents of
/sys/bus/pci/devices/:01:00.0/modalias, make sure it looks like
pci:v1002d95C4sv1043sd19D3bc03sc00i00 and then give us
the output of /sbin/modprobe -R -b $modalias.  This *should* show
radeon.  If not then something's screwy in your modprobe config.  If yes
then I don't understand why udev isn't loading it.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#589807: xserver-xorg-video-radeon: dri disabled ([dri] RADEONDRIGetVersion failed because of a version mismatch)

2010-07-21 Thread Aleix Conchillo Flaqué

On 07/21/2010 12:46 PM, Julien Cristau wrote:

That's weird...  Can you get the contents of
/sys/bus/pci/devices/:01:00.0/modalias, make sure it looks like
pci:v1002d95C4sv1043sd19D3bc03sc00i00 and then give us
the output of /sbin/modprobe -R -b $modalias.  This *should* show
radeon.  If not then something's screwy in your modprobe config.  If yes
then I don't understand why udev isn't loading it.



modalias is the same you said:

$ cat /sys/bus/pci/devices/:01:00.0/modalias
pci:v1002d95C4sv1043sd19D3bc03sc00i00

modprobe can not get the right module:

$ sudo /sbin/modprobe -R -b 
pci:v1002d95C4sv1043sd19D3bc03sc00i00

$

I have tried it with another device (sound card) and works fine.
$ sudo /sbin/modprobe -R -b 
pci:v1002dAA28sv1002sdAA28bc04sc03i00

snd_hda_intel
snd_hda_intel

Any suggestion?

Cheers,

Aleix



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#589807: xserver-xorg-video-radeon: dri disabled ([dri] RADEONDRIGetVersion failed because of a version mismatch)

2010-07-21 Thread Aleix Conchillo Flaqué

On 07/21/2010 12:46 PM, Julien Cristau wrote:


That's weird...  Can you get the contents of
/sys/bus/pci/devices/:01:00.0/modalias, make sure it looks like
pci:v1002d95C4sv1043sd19D3bc03sc00i00 and then give us
the output of /sbin/modprobe -R -b $modalias.  This *should* show
radeon.  If not then something's screwy in your modprobe config.  If yes
then I don't understand why udev isn't loading it.



I finally found the problem. You were right, it was an issue with my 
modprobe config. I had an old file /etc/modprobe.d/display_class.conf 
that blacklisted the display device:


install pci:v*d*sv*sd*bc03sc*i* /bin/true

Removing this file, there is no need to load the radeon module in 
/etc/modules.


I guess you should mark this bug as invalid.

Thanks for your help.

Aleix



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org