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 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=pentium-m -march=pentium-m -fomit-frame-pointer -O2 -pipe" CHOST="i686-pc-linux-gnu" 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" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" 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" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 214037 [details] output of dmesg
Created attachment 214038 [details] The output of lspci -vv
Created attachment 214039 [details] Xorg.0.log
Created attachment 214041 [details] kernel .config
x11 herd, any thoughts?
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?
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.
Indeed, radeonfb will prevent KMS from working correctly. No user should enable it.
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. Thanks
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.