hi i don't know if this is an upstream bug or not. after upgrading xorg-server to 1.1.0 glxinfo and every other 3d application fails on an opteron based system with a mga g500 graphics board and 64 bit gentoo linux. dri worked well with xorg-server prior to version 1.1. the system s configuration was not altered during or past the upgrade. example: $ glxinfo name of display: :0.0 libGL warning: 3D driver claims to not support visual 0x4b -- at this point the program freezes, as any other gl application tried does. recompiling mesa and mga drivers did not change the situation. emerge --info follows and an strace of glxinfo is attached. thank you very much markus $ emerge --info Portage 2.1_rc4-r4 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.4-r3, 2.6.16.20_hope3 x86_64) ================================================================= System uname: 2.6.16.20_hope3 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.12.1 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" 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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks metadata-transfer sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aalib acpi alsa apache2 arts auctex bash-completion berkdb bitmap-fonts bzip2 cairo cdda cddb cdparanoia chroot cli cpudetection crypt cups curl dbus dri dvd dvdr dvdread dvi eds emboss encode exif fam fb fbcon fbdev ffmpeg flac fontconfig foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 guile hal idea idn imagemagick imap imlib immqt input_devices_keyboard input_devices_mouse ipv6 java javascript jpeg jpeg2k kde kdeenablefinal lcd lcms lm_sensors lua lzw matrox mng motif mozilla mp3 mpeg mpeg2 mpeg4 mplayer ncurses nfs nls nptl nptlonly ogg openal opengl pam pcre pdf pdflib perl php png postgres pppd python qt quicktime readline reflection sasl sdl session spell spl ssl tcltk tcpd tetex tiff truetype-fonts type1-fonts udev unicode usb utf8 vorbis xine xinetd xorg xpm xv zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU video_cards_mga video_cards_fbdev video_cards_vesa video_cards_vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 88714 [details] $strace glxinfo
You should try with a newer version of the DRM modules. On my system (with ATI Radeon 9550) I had similar problems when using kernel 2.6.16 (although in my case it didn't get stuck, just fall back to indirect rendering). With kernel 2.6.17-rc4 however it works well. If you don't want to use an unstable kernel it might work by disabling DRM in the kernel and emerging x11-base/x11-drm.
thanks alot, but 2.6.17_rc6 does not fix my issues, neither does x11-base/x11-drm. markus
Created attachment 89249 [details] extract of /var/log/messages hi enabling the debug option for x11-drm's drm.ko module prints out the attached dmesg. thank you! markus
I think it's time to move this upstream. File a bug at https://bugs.freedesktop.org under the DRI section. Please drop a link here when you're done. Thanks!
posted this upstream as 7265 bugs.freedesktop.org thank you markus
This has been fixed upstream.
Fixed in 1.4.1-r1.
*** Bug 142398 has been marked as a duplicate of this bug. ***