Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251674 - x11-drivers/ati-drivers-8.561, 3D acceleration not working
Summary: x11-drivers/ati-drivers-8.561, 3D acceleration not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 21:06 UTC by Johannes Hirte
Modified: 2008-12-23 21:11 UTC (History)
2 users (show)

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


Attachments
Xorg.0.log (Xorg.0.log.old,43.93 KB, text/plain)
2008-12-19 21:06 UTC, Johannes Hirte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2008-12-19 21:06:05 UTC
with x11-drivers/ati-drivers-8.56 3D acceleration is not working, cause of missing /dev/dri (with all device files)

Reproducible: Always

Steps to Reproduce:
Comment 1 Johannes Hirte 2008-12-19 21:06:56 UTC
Created attachment 175899 [details]
Xorg.0.log
Comment 2 Wormo (RETIRED) gentoo-dev 2008-12-20 23:07:07 UTC
This is likely a problem on the kernel side -- do you have the radeon kernel module loaded? Also, please post your 'emerge --info'.
Comment 3 Johannes Hirte 2008-12-22 19:57:33 UTC
(In reply to comment #2)
> This is likely a problem on the kernel side -- do you have the radeon kernel
> module loaded?
No, I've had explicitly removed the radeon module. The fglrx module seemed to be loaded correct, but no /dev/dri/ - device file was created.

> Also, please post your 'emerge --info'.
 Portage 2.2_rc18 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27.10 x86_64)
=================================================================                                 
System uname: Linux-2.6.27.10-x86_64-AMD_Opteron-tm-_Processor_144-with-glibc2.2.5                
Timestamp of tree: Mon, 22 Dec 2008 18:05:01 +0000                                                
app-shells/bash:     3.2_p48                                                                      
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                          
dev-lang/python:     2.5.2-r8                                                                     
dev-util/cmake:      2.6.2                                                                        
sys-apps/baselayout: 2.0.0                                                                        
sys-apps/openrc:     0.4.0                                                                        
sys-apps/sandbox:    1.2.18.1-r3                                                                  
sys-devel/autoconf:  2.13, 2.63                                                                   
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                    
sys-devel/binutils:  2.19                                                                         
sys-devel/gcc-config: 1.4.0-r4                                                                    
sys-devel/libtool:   2.2.6a                                                                       
virtual/os-headers:  2.6.27-r2                                                                    
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                    
CBUILD="x86_64-pc-linux-gnu"                                                                      
CFLAGS="-march=k8 -O2 -pipe"                                                                                            
CHOST="x86_64-pc-linux-gnu"                                                                                             
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"                                                       
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/initng/daemon /etc/initng/net /etc/initng/system /etc/pam.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strictunmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/kde-crazy /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac accessibility acl acpi alsa amd64 amr amrnb amrwb aspell authfile avi bash-completion berkdb boost bzip2 bzlib cairo caps cdparanoia chipcard chm cisco cli consolekit cracklib crypt css cups cvs dbus djvudlloader dri dts dv dvd dvdr dvdread encode enscript exif exiv2 fastcgi ffmpeg fftw flac fortran gcc-libffi gcj gd gdbmgif gimp git glitz gmp gnuplot gpm graphviz hal hbci htmlhandbook http iconv idl idle ieee1394 imagemagick inotify ipv6isdnlog java java5 java6 jikes jpeg kde kdehiddenvisibility kdepim kdeprefix kipi lame latex lcms ldap libnotify libsamplerate live lm_sensors logrotate lucene lzo mad matroska midi mjpeg mmap mmx mmxext mng mp2 mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses network networkmanager nfs nls nolvm1 nptl nptlonly nsplugin obex ogg oggvorbis openal openexr opengl openmp pam patch pcre pda pdf perl pic plasma png pnm posix postscript pppd python pyx qt qt3 qt3support qt4 quicktime readline redland reflection rtc samba sasl sdl sendfile session silvercity slang smime smp snmpsoundtouch speex spell spl sqlite sse sse2 ssl subversion svg sysfs tcpd tetex theora threads tiff tk trayicon truetypeunicode usb userlocales v4l v4l2 vorbis vorbis-psy webkit x264 xattr xcb xcomposite xext xhtml xine xml xml2 xmp xorg xscreensaver xulrunner xv xvid yv12 zeroconf zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="canon" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Johannes Hirte 2008-12-22 23:44:18 UTC
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 1400 MBytes.
[fglrx]   vendor: 1002 device: 4150 count: 1
[fglrx] ioport: bar 1, base 0x9000, size: 0x100
[fglrx] Kernel PAT support detected, disabling driver built-in PAT support
[fglrx] module loaded - fglrx 8.56.4 [Dec  1 2008] with 1 minors
[fglrx] module unloaded - fglrx 8.56.4 [Dec  1 2008]

this is the dmesg output from the fglrx kernel module
Comment 5 Johannes Hirte 2008-12-23 21:11:39 UTC
For the logs, it works now. But I'm not sure why.

First, /dev/dri/card0 is not created when loading the fglrx-module but when accessing it. So loading fglrx and looking at /dev for the dri-directory couldn't work.
Second, I removed dri completely from my kernel. But I don't think this was the problem, cause it worked in the past with dri as module (with radeon).
Third, I used libdrm and mesa from svn (X11-overlay). I also reverted this to the versions in portage.
Last I completely removed ati-drivers and re-emerged it. So with all this, 3D-acceleration works again.