View previous topic :: View next topic |
Author |
Message |
ixo Guru
Joined: 09 Jul 2005 Posts: 375
|
Posted: Wed Dec 20, 2006 4:17 pm Post subject: [(mostly) solved] bzflag doesn't start (nvidia problem?) |
|
|
Hi,
since some time I'm not able to start bzflag:
Code: | $ bzflag
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 134 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x65
Serial number of failed request: 141
Current serial number in output stream: 143
|
Do I miss some use flags?
I'm using an nvidia card (from lspci):
Code: | 01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1)
|
with x11-drivers/nvidia-drivers version 1.0.8776. glsgears runs with about 1335 fps, so the card seems to run fine.
Does anybody have an idea about this?
Thanks, ixo
Last edited by ixo on Thu Dec 21, 2006 6:12 pm; edited 1 time in total |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Dec 20, 2006 4:45 pm Post subject: |
|
|
is opengl in your USE flags? If not add it too make.conf and emerge -uDNp world
Last edited by Dan on Wed Dec 20, 2006 5:34 pm; edited 1 time in total |
|
Back to top |
|
|
ixo Guru
Joined: 09 Jul 2005 Posts: 375
|
Posted: Wed Dec 20, 2006 4:48 pm Post subject: |
|
|
opengl is in the use flags.
make.conf shows them as follows:
Quote: | USE="3dnow X a52 aac aalib alsa arts asf avi berkdb cdparanoia cdr crypt cups divx4linux dri dv dvd dvdr dvdread emacs encode foomaticdb gif gnome gpm gtk gtk2 hal ieee1394 imlib java javascript jpeg kde kdehiddenvisibility kdexdeltas libg++ libwww live lm_sensors mad mikmod mjpeg mmap mmx motif mp3 mpeg ncurses network nls nptl nptlonly nvidia ogg oggvorbis opengl other_var1 other_var2 pam pda perl pdf pdflib png ppds python qt qt3 quicktime readline real rtc samba sdl server slang slp spell sse2 ssl svga tcpd theora truetype usb v4l vorbis win32codecs wxgtk1 x86 xcomposite xine xml2 xv xvid zeroconf zlib"
USE="$USE -gdbm -oss"
|
|
|
Back to top |
|
|
01mf02 Veteran
Joined: 21 Nov 2004 Posts: 1070 Location: Innsbruck, Austria
|
Posted: Wed Dec 20, 2006 5:48 pm Post subject: |
|
|
I think you should get more FPS. Post if "glxinfo | grep direct" says direct rendering is enabled or not. |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Dec 20, 2006 5:59 pm Post subject: |
|
|
have you emerge -uDN world and revdep-rebuild ?
have you tried opengl set nvidia?
# emerge -pvt bzflag
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild R ] games-action/bzflag-2.0.8 USE="dedicated sdl" 0 kB
Does Xorg.0.log show anything? Try to start it and when/if it errors post the end of Xorg.0.log
all mine does is show that it switches my dual screen off then back on again when I close the game
(II) NVIDIA(0): Setting mode "1024x768"
(II) NVIDIA(0): Setting mode "1024x768,1024x768" |
|
Back to top |
|
|
ixo Guru
Joined: 09 Jul 2005 Posts: 375
|
Posted: Wed Dec 20, 2006 6:15 pm Post subject: |
|
|
Yes,
I forgot 'eselect opengl set nvidia' .
After running it, I now get about 10200 fps (direct rendering is on now).
But this doesn't change the behaviour of bzflag:
Quote: | $ bzflag
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 135 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x136
Serial number of failed request: 141
Current serial number in output stream: 143
|
@dcoats:
'emerge -uDN world' doesn't change anything.
I've just run a revdep-rebuild. Everything was/is fine.
# emerge -pvt bzflag
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
[ebuild R ] games-action/bzflag-2.0.8 USE="sdl -dedicated" 0 kB
# equery uses bzflag
[ Searching for packages matching bzflag... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for games-action/bzflag-2.0.8 ]
U I
- - dedicated : Adds support for dedicated game servers (some packages do not provide clients and servers at the same time)
+ + sdl : Adds support for Simple Direct Layer (media library)
Dedicated should mean nothing for this problem.
|
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Dec 20, 2006 6:41 pm Post subject: |
|
|
ok then It is probably a resolution issue.
try bzflag -window or
bzflag -window -geometry 640x48
once there (If that starts fine) go to display settings and make sure that It setup correctly. |
|
Back to top |
|
|
ixo Guru
Joined: 09 Jul 2005 Posts: 375
|
Posted: Wed Dec 20, 2006 6:59 pm Post subject: |
|
|
This is really strange (I'm running with 1600x1200)
When I run:
bzflag -window -geometry 1600x1200
it works.
When I run
bzflag or 'bzflag -geometry 1600x1200'
I get the error messages described above.
Same with a resultion of 1240x1024. Seems it only starts in a window!?
When I start with a window and change the resolutions inside of bzflag, then it runs in that resolution without a windows (full screen). Very strange. |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Dec 20, 2006 7:40 pm Post subject: |
|
|
I run it fine at 1024x768 have not seen an error.
I assume once you got it running fine (the way you want) you selected save settings on exit? |
|
Back to top |
|
|
ixo Guru
Joined: 09 Jul 2005 Posts: 375
|
Posted: Thu Dec 21, 2006 10:26 am Post subject: |
|
|
I'm running with 1600x1200 which is fine for this machine (core2duo 6600).
Save settings on exit doesn't help. I have to choose the option -window to be able to start again. But in my opinion, 90% of the problem is solved, because bzflag now simply runs. |
|
Back to top |
|
|
Dan Veteran
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Thu Dec 21, 2006 5:41 pm Post subject: |
|
|
Please add [Solved] to the original topic |
|
Back to top |
|
|
ixo Guru
Joined: 09 Jul 2005 Posts: 375
|
Posted: Thu Dec 21, 2006 6:12 pm Post subject: |
|
|
mostly solved
(like 'mostly harmless') |
|
Back to top |
|
|
|