Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 298219 - sys-kernel/gentoo-sources-2.6.32: No DRI device node for radeon r300
Summary: sys-kernel/gentoo-sources-2.6.32: No DRI device node for radeon r300
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
Depends on:
Reported: 2009-12-24 14:44 UTC by Jan Essert
Modified: 2009-12-31 16:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

output of dmesg (dmesg,30.84 KB, text/plain)
2009-12-24 14:44 UTC, Jan Essert
The output of lspci -vv (lspci,13.00 KB, text/plain)
2009-12-24 14:45 UTC, Jan Essert
Xorg.0.log (xorg.log,30.50 KB, text/plain)
2009-12-24 14:45 UTC, Jan Essert
kernel .config (.config,61.18 KB, text/plain)
2009-12-24 14:45 UTC, Jan Essert

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Essert 2009-12-24 14:44:31 UTC
I have an old laptop with a Mobility Radeon 9600, which should be perfectly supported.
I used to have hardware acceleration, but since gentoo-sources-2.6.31 (I think), this does not work anymore.

The problem seems to be that the device node /dev/dri/card0 is not created, which leads to no hardware acceleration.

I will attach the kernel .config, Xorg.0.log and the output of dmesg and lspci -vv

I shall be happy to provide any additional information.

Reproducible: Always

Steps to Reproduce:

Portage 2.2_rc61 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)                            
System uname: Linux-2.6.32-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-2.0.1                           
Timestamp of tree: Thu, 24 Dec 2009 09:00:01 +0000                                                                         
ccache version 2.4 [enabled]                                                                                               
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.64
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
CFLAGS="-mtune=pentium-m -march=pentium-m -fomit-frame-pointer -O2 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=pentium-m -march=pentium-m -fomit-frame-pointer -O2 -pipe"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvb dvd dvdr eds emboss encode evo exif fam firefox flac gdbm gif gphoto2 hal iconv inotify ipod jpeg jpeg2k kde kdehiddenvisibility libnotify logrotate mad matroska mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vorbis win32codecs x264 x86 xcb xcomposite xml xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2 directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Comment 1 Jan Essert 2009-12-24 14:44:58 UTC
Created attachment 214037 [details]
output of dmesg
Comment 2 Jan Essert 2009-12-24 14:45:15 UTC
Created attachment 214038 [details]
The output of lspci -vv
Comment 3 Jan Essert 2009-12-24 14:45:28 UTC
Created attachment 214039 [details]
Comment 4 Jan Essert 2009-12-24 14:45:49 UTC
Created attachment 214041 [details]
kernel .config
Comment 5 Mike Pagano gentoo-dev 2009-12-30 13:26:12 UTC
x11 herd, any thoughts?
Comment 6 Jan Essert 2009-12-30 14:11:45 UTC
I have a partial solution to the problem. If I deactivate kernel mode setting, then DRI works. The kernel documentation mentions that kernel mode setting is experimental, but it never mentions that it may conflict with DRI. In any case, I would have expected a more useful error message than simply "device node not found".

Perhaps this is not a gentoo bug at all. If so, I am sorry for making noise. 

Is it possible to add an ewarn in the xf86-video-ati or in the gentoo-sources ebuild, such that others are warned?
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2009-12-30 14:15:18 UTC
For one i would try to disable radeonfb, since it is not required with KMS, and for second the kms is still highly experimental feature, and the warnings are already written in the kernel option when one enable it. So i dont think it is so mandatory to warn user once more in ebuild.
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-12-30 14:17:59 UTC
Indeed, radeonfb will prevent KMS from working correctly. No user should enable it.
Comment 9 Rémi Cardona gentoo-dev 2009-12-30 19:32:59 UTC
KMS should not conflict with DRI but maybe xf86-video-ati-9999 from the x11 overlay is needed to use this configuration.

Please try all that we suggested and get back to us.

Comment 10 Jan Essert 2009-12-31 16:40:49 UTC
Thank you, that did the trick.

Deactivating radeonfb transformed the DRI error message to something useful stating a version conflict.

Using the xf86-video-ati from x11 overlay then made things working.

I was not aware that radeonfb conflicts with KMS, and the kernel documentation did not say anything about this.

Thank you very much! Sorry for making so much noise.