Xonotic Forums

Full Version: Resolution can't be changed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't change resolution of game neither in menu and cfg file.

My CFG file:
http://pastebin.com/raw.php?i=farDn5WY

Any ideas?
You should say more about your configuration - hardware, os, drivers etc.
Everything was fine for me. My specs are nothing special, Nvidia, Arch Linux. Until today.
What about the commands vid_height and vid_width?
Okay, here comes funny part. Game is in 1280x800, but console says different:
Code:
^71 possible variable:
^7^3vid_height^7 is "800" ["768"] resolution
^7Draw_CachePic: failed to load gfx/menu/luminos/icon_mod_Nex25+AirContr
^7]vid_height
^7"vid_height" is "800" ["768"]
^7]vid_width
^7"vid_width" is "1280" ["1024"]
Yeah, set the resolution using vid_height and vid_width.

For example, if your monitor's a 800x600, you type:
Code:
vid_width 800
vid_height 600
vid_restart

The vid_restart makes it so that you don't have to restart the game to have it set right.
Does anything get printed to the console when you try? What about running vid_restart? This will be required after changeing vid_width and vid_height manually and will give you the most useful information on the console.

I'm running Xonotic on Arch with NVIDIA and it's all working fine here on latest rsync.
Well, Mr.Bougo I said, that settings are NOT applied. I ave deleted profile of the game, still nothing. After typing in commands manually, it's still 1280x800. But interesting stuff in the console after vid_restart

^7]vid_restart
^7VID_Restart: changing from fullscreen 1280x800x16bpp, to fullscreen 800x600x16bpp.
^7OpenGL Backend shutting down
^7Loading OpenGL driver libGL.so.1
^7Using XFree86-VidModeExtension Version 2.2
^7Using XVidMode fullscreen mode at 1280x800

I have a suspect. Recently, after nvidia upgrade I had to change one string in MATE (gnome fork) in order to get it running.

https://bbs.archlinux.org/viewtopic.php?...7#p1118727

I noticed, that other games act weird too, when I use resolution other than native.
Strange. If you run Xonotic from the command line and append -vid_width 800 -vid_height 600 what happens? I would be very surprised if it does not work then.
You might try vid_netwmfullscreen 1. That'll pin your resolution to what your system uses (also will enable alt+tab Big Grin)
Only problem: now you really won't be able to change resolution from the game, only systemvise.
edh, just FYI, cvars are set using + instead of -. Same thing for console commands in general (+connect localhost etc.).
Okay guys. I think it's not related with Xonotic at all. I have problem with other games, like Urban Terror, Unreal2004 - I'm marking this thread as INVALID.
(06-20-2012, 12:55 PM)Mr. Bougo Wrote: [ -> ]edh, just FYI, cvars are set using + instead of -. Same thing for console commands in general (+connect localhost etc.).
I guess I'm showing how much I still relate to doing things with Quake in the old days! With GLQuake you could only set video modes on the command line when starting the game and it was -width, -height and -bpp. I get the feeling that these and the -vid_ ones still work with Darkplaces even if everyone else uses +'s these days.
Oh, maybe they do, yeah. I don't know about that.
One silly fix that worked for me was to set the display scale to 100%
Mine was at 200% hence couldn't change the resolution ?‍♀️
(08-06-2022, 03:09 PM)Unknown273 Wrote: [ -> ]One silly fix that worked for me was to set the display scale to 100%
Mine was at 200% hence couldn't change the resolution ?‍♀️

10 years later Smile
(08-13-2022, 02:44 AM)FAF Wrote: [ -> ]
(08-06-2022, 03:09 PM)Unknown273 Wrote: [ -> ]One silly fix that worked for me was to set the display scale to 100%
Mine was at 200% hence couldn't change the resolution ?‍♀️

10 years later Smile
Yeah
I learned about this FOSS game thanks to this reddit post https://www.reddit.com/r/xonotic/comment...urce=share

And tbh
I'm pretty god damn impressed by the game
Love it
(08-13-2022, 03:16 AM)Unknown273 Wrote: [ -> ]
(08-13-2022, 02:44 AM)FAF Wrote: [ -> ]
(08-06-2022, 03:09 PM)Unknown273 Wrote: [ -> ]One silly fix that worked for me was to set the display scale to 100%
Mine was at 200% hence couldn't change the resolution ?‍♀️

10 years later Smile
Yeah
I learned about this FOSS game thanks to this reddit post https://www.reddit.com/r/xonotic/comment...urce=share

And tbh
I'm pretty god damn impressed by the game
Love it

Good! This game rocks on many levels. Ty