Graphic mode problems on ubuntu 6.0.6

Archives Forums/Linux Discussion/Graphic mode problems on ubuntu 6.0.6

dawlane(Posted 2006) [#1]
Has any body else had problems using the Graphics command. Because when I compile and run a BMax program that changes the video resolution to any other than the desktop, I get a appstub. single handler 11 error, yet it it will run in a window.

The hardware is a Toshiba Satellite 2450-S203
the video card is a nvidia Go 420 (what a pain to set up)


Marmoth(Posted 2006) [#2]
I have the same problem (also with Ubuntu 6.06) as soon as i try to turn to fullscreen mode.
(Card=nvidia Gefore Go 7900GS, nvidia drivers installed)

The (very simple) progam i try to run:
----------------------------------
Graphics 800,600,1

Delay 2000
----------------------------------

The output i get:
----------------------------------
Building Test
Compiling:Test.bmx
flat assembler version 1.64
3 passes, 2635 bytes.
Linking:Test
Executing:Test
appstub.linux signal handler 11
Process complete
----------------------------------

Thanks for help!

Marmoth


Marmoth(Posted 2006) [#3]
I found where the problem was coming from:

The X-System had no other resolution than the desktop one.
You have to add new resolutions manually to you x.config file.

this is a useful link to do that:

https://help.ubuntu.com/community/FixVideoResolutionHowto

note: This should be done on any computer that would use your program. Perhaps it should be better to warn users about that or to include a resolution checker in your program.

Cheers,

Marmoth


dawlane(Posted 2006) [#4]
Thanks for the info. I had a feeling it was some thing to do with the X configuration but i didn't have the time to play with it.