I'm having a problem with OpenGL rendering on my computer. If I run an OpenGL app, it renders fine until I try to move or resize the window. When I try to do that, the OpenGL rendering's x-position moves to the left side of the screen (perhaps the x-origin of the window moves to the x-origin of the display?). No matter where I move the window horizontally, the OpenGL rendering stays there. The actual rendering still occurs in the window, but the origin of the coordinate system is moved. The y-position moves with the window fine. I am having this problem only with the radeon DRI driver with hardware acceleration enabled. If I disable DRI or use the proprietary ATI fglrx driver, it works. I have an ATI Radeon Mobility M9 chipset. I think the problem may have arisen when X was updated to 7.0, but I am not sure. I have a friend with the same system and same version of X, but a different Linux distribution (Arch Linux), and he has the exact same issue, so I think the problem exists upstream, but I'm not sure which package is responsible for the bug. When I tried to downgrade the x11-drm package to a previous version, the problem persisted, so I'm not sure what package is causing the problem, but I do know that it only occurs with the radeon DRI driver in X. emerge --info: Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.4-r1, 2.6.16-gentoo-r2 i686) ================================================================= System uname: 2.6.16-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.0_pre17 ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O3 -pipe -mfpmath=sse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -O3 -pipe -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://acm.cs.rpi.edu/gentoo-portage" USE="x86 X aac alsa apm avi berkdb bitmap-fonts cairo canvas ccache cli crypt cups dga doc dri dvd dvi eds emboss encode firefox flac foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog ithreads jce jpeg libg++ libwww mad madwifi mikmod mmx motif mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt qt4 quicktime readline real reflection rtc sdl session snmp spell spl sse sse2 ssl tcpd tetex threads tiff truetype truetype-fonts type1-fonts vorbis win32codecs xml2 xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS lspci output: # lspci -vvvs 0:1 00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- Latency: 96 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 00003000-00003fff Memory behind bridge: c0100000-c01fffff Prefetchable memory behind bridge: e0000000-e7ffffff Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-
It's possible this is fixed in the latest 7.1 pre-releases. Please unmask xorg-server, mesa, and the relevant drivers (ati, etc) and give it a try. Note that many of the current unmasked drivers in the tree will not operate correctly with the latest xorg-server, so make sure you unmask everything you use. By the way, what do you have in your overlay?
In my portage overlay, I only have ebuilds for the mozart programming system, so nothing that should interfere with OpenGL. I'll try unmasking X 7.1 and the related package. Thanks.
Upgrading to version 7.1 of X, and upgrading mesa and the drivers fixed the issue. Thank you very much for your help.
Reopening bug to resolve as closed.
Closing bug
Awesome, good to hear. Thanks for resolving the bug.