You are not logged in.

#1 2007-05-19 15:14:42

tykho
Member
Registered: 2007-05-19
Posts: 8

Using alternative xorg config script?

Hello,

I've installed Starcraft Broodwar and it works just fine, but I can only run it in windowed mode which can get a little bit annoying after a while.
I've read that you can get it to run in fullscreen if you change your resolution to 640x480.

The thing is that I'm running a dual monitor setup, and I can't set it to such a low resolution it seems.

chgres list wrote:

2560x1024@135000
2048x768@78750

Anyone got a nice script that I can run to use another xorg config (with 640x480 set and no twinview options), run starcraft with, and when closing it maybe going back to the old xorg.conf, if it's possible to do this wink

Or any other ideas/suggestions?

Thanks

Offline

#2 2007-05-20 14:55:17

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Using alternative xorg config script?

i have tvinview set. two monitors on one card.. And i fixed fullscreen stuff like this by doing this in Section "Screen":

Option         "MetaModes" "1280x960_85, 1280x960_85;  1280x1024, NULL; 1024x768, NULL; 800x600, NULL; 640x480, NULL; 640x400, NULL; 320x240, NULL; 320x200;"

So that each time the screen changes resolution It gets sat on only one monitor and the other one goes black. I don't think it matters what i have in SubSection     "Display" but i only list Depth       24 there...


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#3 2007-05-20 15:23:15

tykho
Member
Registered: 2007-05-19
Posts: 8

Re: Using alternative xorg config script?

edit:

Thanks, I got it to work like you said. The only problem is that when I exit starcraft, I'm stuck in the 640x480 resolution, and trying to issue
chgres set 2560x1024@135000 (default one) gives me an error.

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:  0x155
  Serial number of failed request:  13
  Current serial number in output stream:  15

I need to restart X for it to go normal again.

Last edited by tykho (2007-05-20 15:37:56)

Offline

#4 2007-05-20 17:15:59

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Using alternative xorg config script?

you can use xrandr. type xrandr to see possibilities. for example xrandr -s 0 for the resolution at the top.

man xrandr might also be useful.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#5 2007-05-20 17:22:27

tykho
Member
Registered: 2007-05-19
Posts: 8

Re: Using alternative xorg config script?

test1000 wrote:

you can use xrandr. type xrandr to see possibilities. for example xrandr -s 0 for the resolution at the top.

man xrandr might also be useful.

Thanks alot, works great. big_smile

Offline

#6 2007-05-21 17:44:24

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Using alternative xorg config script?

i just found a nifty app called grandr http://dekorte.homeip.net/download/grandr-applet/, might be useful. And no problem man smile I'm here to help.


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB