Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84650 - DRI does not initialise when xorg-x11 is first started (radeon open-source driver).
Summary: DRI does not initialise when xorg-x11 is first started (radeon open-source dr...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-09 11:04 UTC by Paul Worrall
Modified: 2005-04-26 18:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Worrall 2005-03-09 11:04:38 UTC
On first starting X (/etc/init.d/xdm start), Direct Rendering is not initialised.  Xorg.0.log has:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed

The net effect is 3d hardware acceleration does not work and I can't play tuxracer :-(

On restarting X (/etc/init.d/xdm restart), all is OK. Xorg.0.log has:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)

And tuxracer plays fine :-)

This problem first appeared after emerging xorg-x11-6.8.0-r4

Reproducible: Always
Steps to Reproduce:
1. Power up system
2. /etc/init.d/xdm start
3.

Actual Results:  
No DRI  

Expected Results:  
DRI 

I am using the radeon driver that comes with xorg-x11, I do not have 
media-video/ati-drivers installed.  My video card is reported as: "ATI 
Technologies Inc Radeon RV280 [Radeon 9200] rev 1" 
 
 
 
Gentoo Base System version 1.4.16 
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, 
glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r1-prw-r10 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r1-prw-r10 i686 AMD Athlon(TM) XP 2700+ 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  6 2005, 
22:51:14)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r1 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv 
usersandbox" 
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://mirror.uni-c.dk/gentoo/ 
http://mirror.datapipe.net/gentoo ftp://mir.zyrianes.net/gentoo/" 
LANG="en_GB" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts cdparanoia crypt cscope 
cups curl dvb emboss encode esd expat f77 fam flac font-server foomaticdb 
fortran gdbm gif gnome gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 java jpeg 
junit kde kdeenablefinal lcms ldap libg++ libwww live mad mikmod mmx mmx2 
motif mozilla mp3 mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib 
perl png python qt quicktime readline real samba sdl slang spell ssl svga 
tcltk tcpd theora tiff truetype truetype-fonts type1-fonts xine xml2 xmms xv 
xvid zlib video_cards_radeon linguas_en_GB" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Paul Worrall 2005-03-09 11:23:15 UTC
I can also work round this by putting 'radeon' in /etc/modules.autoload.d/kernel-2.6, but I never had to do this before r4.

I am using udev (don't know if that's significant)
Comment 2 Sander Sweers 2005-03-09 15:48:31 UTC
And before you where using devfs? If so then this is correct behaviour, udev does not autoload modules.
Comment 3 Paul Worrall 2005-03-10 09:29:45 UTC
No, before I was using xorg-x11-6.8.0-r3 with udev, and even with r4 the radeon module loads when I start X (otherwise dri still wouldn't work after restarting X).
Comment 4 Samir M. Nassar 2005-04-26 09:37:19 UTC
I can reproduce this using  xorg-x11 6.8.2-r1.

I am using HAL and DBUS
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-26 18:57:15 UTC
Please test 6.8.99.3 and get back to us with a report. Reopen the bug then.

Thanks!