Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56642 - Xorg X11 6.7.0-r1 + nvidia 6101 + winex/zsnes resolution switching kills Xserver
Summary: Xorg X11 6.7.0-r1 + nvidia 6101 + winex/zsnes resolution switching kills Xserver
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 16:41 UTC by Alexander Jenisch
Modified: 2004-09-13 06:04 UTC (History)
1 user (show)

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 Alexander Jenisch 2004-07-10 16:41:54 UTC
ok this is very weird, so you might need to read this twice :). i stumbled over this because i usually play games on a pure 2nd Xserver with only 2 Eterms open (nothing else, no window manager, no nothing). 

(1) if i start a game with winex/cedega OR zsnes and switch my resolution manually (or the resolution is switched by the application itself) the Xserver will crash with a signal 11.

(2) if do a resolution switch BEFORE i start zsnes/cedega, then start one of those and then switch the resolution (manually) the Xserver stays alive.

(3) i've also tried this with opera, but the Xserver runs fine in this case. i don't know which applications are affected, but it seems pretty obvious one's that try to mess with the nvidia drivers.

(4) this only occures with the 6101 drivers, not with 5336 or sooner. 

i've not tried xfree (and i won't).


my script to start the 2nd Xsession is pretty straight forward:
---------------------------------------------------------------
#!/bin/bash
startx ~/.xinitrc_2 -- :1


xinitrc_2 looks like this:
--------------------------
#!/bin/bash

__GL_DEFAULT_LOG_ANISO=0 
__GL_FSAA_MODE=0
__GL_SYNC_TO_VBLANK=0

export __GL_DEFAULT_LOG_ANISO __GL_FSAA_MODE __GL_SYNC_TO_VBLANK

#xmodmap -e "pointer = 1 2 3 6 7 4 5"
#imwheel -p -k -b "000067"
Eterm -g 127x25+0-0 &
exec Eterm -g 127x25+0+0
#exec fluxbox


my sys-specs:
-------------
Linux eNTi 2.6.7-rc3-mm2 #5 Sat Jul 10 02:22:14 CEST 2004 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux
Epox 8KHAL (VIA KT266A)
786MB Infineon DDR
Segate 160GB 7200rpm SATA UDMA6 (on PCI Promise Controller SATA150 TX2plus)
Asus V8460 Ultra GeForce 4 Ti4600 128MB [nVidia 1.0.6106]
Logitech MX310
Creative SBLive! [ALSA 1.0.5]

Xorg X11 6.7.0 / Fluxbox 0.9.9
Comment 1 Andrew Bevitt 2004-07-16 23:25:19 UTC
Try nvidia-glx-1.0.6106-r1 it fixes some of the defines for gl stuff.
Comment 2 Andrew Bevitt 2004-07-20 17:15:32 UTC
Update to the latest nvidia-glx nvidia-kernel and opengl-update
run opengl-update nvidia

Does the problem persist?
Comment 3 Alexander Jenisch 2004-08-04 13:43:53 UTC
same thing. nothing changed.
Comment 4 Andrew Bevitt 2004-08-05 18:12:25 UTC
Please test this with 6111 which just went into cvs.

Report back on success or failures.

Thanks.
Comment 5 Alexander Jenisch 2004-08-06 01:20:26 UTC
same game with 6111.

1. start new Xserver with my script "newx":

#!/bin/bash
startx ~/.xinitrc_2 -- :1 #-depth 16
---------------------------------------------------------
.xinitrc_2:
#!/bin/sh

__GL_DEFAULT_LOG_ANISO=0 
__GL_FSAA_MODE=0
__GL_SYNC_TO_VBLANK=0
LD_PRELOAD="/usr/lib/opengl/nvidia/lib/libGL.so.1"

export __GL_DEFAULT_LOG_ANISO __GL_FSAA_MODE __GL_SYNC_TO_VBLANK LD_PRELOAD

xmodmap -e "pointer = 1 2 3 6 7 4 5" &
Eterm -g 127x25+0-0 & 
exec Eterm -g 127x25+0+0
---------------------------------------------------------
2. run something, e.g. zsnes

3. manuall switch resolution, to fit zsnes window to screen

<-crash->
Comment 6 Andrew Bevitt 2004-08-30 04:14:33 UTC
Try rebuilding 6111 with the new enable_pci patch (its in cvs)
Comment 7 Alexander Jenisch 2004-08-30 16:11:26 UTC
same thing.
Comment 8 Alexander Jenisch 2004-09-13 05:02:42 UTC
this issue seems to fixed in 6.8.
Comment 9 Andrew Bevitt 2004-09-13 06:04:13 UTC
Thats good enough for me thanks :)

Closing