Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121519 - Intense flashing with OpenGL, mga (Matrox G400) in Quake, d2x
Summary: Intense flashing with OpenGL, mga (Matrox G400) in Quake, d2x
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 02:57 UTC by Kimmo Sundqvist
Modified: 2006-11-05 11:32 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 Kimmo Sundqvist 2006-02-04 02:57:21 UTC
Running d2x in a window as d2x-gl.  Menu appears, but the text in the menu is so that the letters are oddly dark at corners, more than they should be, and going through the menu with arrow keys, the lines are left pale yellow instead of returning to grey as they should be.

Choosing "new game", the skill level menu is painted on the main menu, i.e. the main menu is not cleared before that.

Running the game, the screen flashes AS IF it was not double-buffered at all.  Depending on how the LCD's 60Hz refresh and the game's refresh rate coincide, I see half-painted lights and shapes.  It is hardware accelerated, because the movement is smooth.  It is just that everything in the picture keeps flashing.

The same problem happens with glxquake and nprquake-sdl.

Game loads and runs, and reports no errors.  The console and the actual game
keep flashing on top of each other at the engine's framerate.  The flashing is
so intense that it is impossible to see the menu.

Must blindly open console and type "quit" or remember a key sequence to choose
"quit" from the menu.

Doing set gl_triplebuffer 0 (or set gl_triplebuffer 1) does not help.

[ebuild   R   ] x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow -bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="C"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib acl alsa apm audiofile avi berkdb bitmap-fonts bzip2 cairo cdr crypt cups curl dga eds emboss encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 guile hal idn imagemagick imlib ipv6 jack java jikes jpeg kde ladcca lcms libcaca libg++ libwww mad mhash mikmod mmx mng motif mozilla mp3 mpeg mpi mysql nas ncurses nls nptl ogg oggvorbis openal opengl pam pcre pdflib perl png ppds python qt quicktime readline samba sdl slang speex sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Kimmo Sundqvist 2006-02-18 13:04:58 UTC
Upgrading to unofficial monolithic new X didn't help:

[ebuild   R   ] x11-base/xorg-x11-6.9.0-r1  -3dfx -bitmap-fonts -cjk -debug -doc -font-server -insecure-drivers +ipv6 -minimal +nls -nocxx +opengl +pam -sdk -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 0 kB [1] 

With DRI disabled, I get 1 to 2 FPS in nprquake-sdl and d2x, and the picture doesn't flash.  d2x's menus have totally disappeared if direct rendering is enabled, i.e. I can navigate the menus blindly, start a game or quit, but the window (or screen, in fullscreen mode) stays totally black.

And once I get to the actual game, if dri is enabled, everything flashes really fast.  doomsday works fine, with no flashing, as does prboom in opengl mode.  Something within the last year must have broken something in drm or the mga driver or somewhere else.
Comment 2 Joshua Baergen (RETIRED) gentoo-dev 2006-11-05 11:32:20 UTC
Have you given X 7.0 or 7.1 a try? Let us know if it fixed your problem.