Forums » Suggestions

Set FIXED video output

Oct 25, 2016 Hoban-Wash-Washburne link
It would be really nice if we could set a fixed monitor and output resolution in a config file somewhere because this auto detect on Linux keeps hosing. I have to keep setting xrandr and then log in and out mulitple times before VO can manage to have the correct resolution in the list for Video settings.

VO is the ONLY game I have this issue with.
Oct 25, 2016 PaKettle link
Exactly what resolution are you trying to set?
Is it one from the options/Video menu or ?

I am running the standard 1680 x 1080 with no issues on linux
Oct 25, 2016 Hoban-Wash-Washburne link
The problem is that Vo doesn't pick up all available resolution on my 1920x1080 display. I have to xrandr to set my display to 0x0 and then log out and back in a few times before VO will pick it up with all available resolutions. I want to be able to set it to 1920x1080 in a config files so I don;t have to keep going through this every time I reboot.
Oct 25, 2016 abortretryfail link
Resolution detection is totally broken on Linux with multiple displays... Please fix this :(
Oct 25, 2016 TheRedSpy link
Dude you can totally do a fixed resolution in linux i've been doing it for years.

Post the video part of your config file and i'll show you the lines to change.
Oct 25, 2016 Hoban-Wash-Washburne link
I want to set a fixed display and resolution in VO in the cfg or whatever so that it doens't try and auto scan.
Oct 25, 2016 TheRedSpy link
Yes I know, post the wgaf.cfg or whatever.
Oct 26, 2016 TheRedSpy link
In your config.ini file, the bold ones are the relevant ones

[refgl]
doshaders=0
indowmode=1
textureresolution=2
shaderversion=0
2=
xf86vidmode=0
dovertexbuffers=1
doindexbuffers=1
do_compiled_vertex_array=1
do_env_combine=1
do_extensions=1
vbl=0
normalizenormalmaps=0
version=3
illummap=1
envmap=1
bumpmap=1
tc=1
aa_mode=0
minfilter=9728
maxfilter=9728
specular=1
windowmode=1
texturequality=32
gamma=8
def_freq=0
tfactor_hack=0
xsize=1920
ysize=1010

old_mesa_intel_drivers=0

as you can see, mine is designed to shave a bit off the top, which in my case accomodates the top bar on gnome 3.
Oct 26, 2016 Pizzasgood link
Note: The example TRS posted is for the refgl driver. If you're using the gl4 driver, then you do the same thing, but you have to do it in the [gl4] section instead of the [refgl] one. My advice would be to just do it in both of them as long as you're in there, so that if you ever swap between drivers when debugging something you'll already be covered.

It would be nice, of course, if the game just had an input field in the options where you could type in a custom resolution within the game instead of having to look up obscure config file settings.
Oct 26, 2016 Sieger link
Windows!!!
Oct 26, 2016 TheRedSpy link
Sucks!!!
Oct 27, 2016 Hoban-Wash-Washburne link
Here are both sections of my config.ini. I don't see an option in the gl4 portion to tell it not to scan and just use what is listed.

[refgl]
version=3
illummap=1
envmap=1
bumpmap=1
tc=0
aa_mode=0
minfilter=9987
maxfilter=9729
specular=1
windowmode=0
textureresolution=3
texturequality=32
gamma=8
def_freq=0
tfactor_hack=0
doshaders=0
shaderversion=0
xf86vidmode=1
dovertexbuffers=1
doindexbuffers=1
do_compiled_vertex_array=1
do_env_combine=1
do_extensions=1
vbl=0
normalizenormalmaps=0
old_mesa_intel_drivers=0

[Vendetta]
skin=skins/wash/
version=4
maxframerate=120
firsttime=0
reset_fov_hud=1
showlogoffconfirmation=0
AudioDriver=ALSA driver
VideoDriver=OpenGL 4 GKGL driver
xres=1920
yres=1080
bpp=24
HUDradar=1
HUDcrosshair=1
HUDtargetdir=1
HUDleadoff=1
HUDchat=1
HUDdistance=1
HUDspeed=1
HUDenergy=1
HUDdamagedir=1
HUDselfinfo=1
HUDtargetinfo=1
HUDlicense=1
HUDmissiontimers=1
HUDaddons=1
HUDcargo=1
HUDgroupinfo=1
HUDflightassistindicator=1
HUDflightassistnotification=1
HUDautoaimindicator=1
HUDautoaimnotification=1
HUDnfzindicator=1
HUDcentered=0
HUDShowRadarTextLabels=1
show3000mnavpoint=1
sort_by=3
si_unit=3
flashintensity=15
colorchatinput=1
colorname=1
enableTouchMode=0
showtooltips=1
showlowpowerdialog=1
showlogoffconfirmation=0
showsethomeconfirmation=0
showsellallconfirmation=0
showhelpstring=0
showbarupdatenotification=1
showbarupdatenotification_npc=0
showgroupkillnotification=1
usefontscaling=1
fontscale=80
sensorsort=1
cache_resources=0
dofirstpersoncinematics=1
fakevrmode=0
eulaVersion=1
font=DejaVuSansCondensed
Oct 31, 2016 Pizzasgood link
Just ensure that the following lines exist in both your [refgl] and [gl4] sections:

xf86vidmode=0
xsize=1920
ysize=1080

In other words, if they exist but with different values than these, change them. If they don't exist at all, add them. And make sure you do it while the game is not running. (And back the file up first, just in case.)
Oct 31, 2016 Hoban-Wash-Washburne link
Thanks
Nov 01, 2016 Luxen link
Is there a fix for making sure VO will start on the proper moniter? My primary moniter isn't my nicest; id like it to start on my other one. of course, I can fix it by un-fullscreening it and dragging it to the proper desktop, but that's wasted 20 seconds of my gameplay (if even)
Nov 03, 2016 Hoban-Wash-Washburne link
Well none of that worked. I am over this. Guess I;ll have to win the lottery to fund the time for this to get addressed.
Nov 04, 2016 abortretryfail link
If the [gl4] section isn't there, add it. I ran into that one when GL4 was first released.

Honestly, I think the way VO handles this is kind of silly. The way I get around it is to run the game windowed, forced to the size of my center display, then use my window manager to fullscreen it (Awesome WM)

That's got a side bonus of leaving the mouse usable for other applications.
Nov 04, 2016 Hoban-Wash-Washburne link
I put it both sections and still tries to auto detect and give me non relevant resolutions.