Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136112 - dri fails after upgrading to xorg-server-1.1.0 mga g550 on an amd64
Summary: dri fails after upgrading to xorg-server-1.1.0 mga g550 on an amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
: 142398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-08 13:01 UTC by markus
Modified: 2006-12-12 19:20 UTC (History)
3 users (show)

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


Attachments
$strace glxinfo (strace_glxinfo,25.13 KB, text/plain)
2006-06-08 13:04 UTC, markus
Details
extract of /var/log/messages (drm.log,22.78 KB, text/plain)
2006-06-15 08:15 UTC, markus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markus 2006-06-08 13:01:12 UTC
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
Comment 1 markus 2006-06-08 13:04:24 UTC
Created attachment 88714 [details]
$strace glxinfo
Comment 2 Andrei Slavoiu 2006-06-08 13:32:48 UTC
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.
Comment 3 markus 2006-06-12 08:10:44 UTC
thanks alot, but 2.6.17_rc6 does not fix my issues, neither does x11-base/x11-drm.

markus
Comment 4 markus 2006-06-15 08:15:42 UTC
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
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2006-06-17 08:45:41 UTC
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!
Comment 6 markus 2006-06-18 04:12:36 UTC
posted this upstream as 7265 bugs.freedesktop.org

thank you markus
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2006-08-09 18:54:30 UTC
This has been fixed upstream.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-08-09 19:08:01 UTC
Fixed in 1.4.1-r1.
Comment 9 Joshua Baergen (RETIRED) gentoo-dev 2006-12-12 19:20:02 UTC
*** Bug 142398 has been marked as a duplicate of this bug. ***