Xonotic Forums
[INVALID] Resolution can't be changed - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [INVALID] Resolution can't be changed (/showthread.php?tid=3160)



Resolution can't be changed - Majki - 06-20-2012

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?


RE: Resolution can't be changed - Cyber Killer - 06-20-2012

You should say more about your configuration - hardware, os, drivers etc.


RE: Resolution can't be changed - Majki - 06-20-2012

Everything was fine for me. My specs are nothing special, Nvidia, Arch Linux. Until today.


RE: Resolution can't be changed - Mirio - 06-20-2012

What about the commands vid_height and vid_width?


RE: Resolution can't be changed - Majki - 06-20-2012

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"]



RE: Resolution can't be changed - Mr. Bougo - 06-20-2012

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.


RE: Resolution can't be changed - edh - 06-20-2012

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.


RE: Resolution can't be changed - Majki - 06-20-2012

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?pid=1118727#p1118727

I noticed, that other games act weird too, when I use resolution other than native.


RE: Resolution can't be changed - edh - 06-20-2012

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.


RE: Resolution can't be changed - CuBe0wL - 06-20-2012

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.


RE: Resolution can't be changed - Mr. Bougo - 06-20-2012

edh, just FYI, cvars are set using + instead of -. Same thing for console commands in general (+connect localhost etc.).


RE: Resolution can't be changed - Majki - 06-20-2012

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.


RE: Resolution can't be changed - edh - 06-20-2012

(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.


RE: [INVALID] Resolution can't be changed - Mr. Bougo - 06-20-2012

Oh, maybe they do, yeah. I don't know about that.


RE: Resolution can't be changed - Unknown273 - 08-06-2022

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 ?‍♀️


RE: Resolution can't be changed - FAF - 08-13-2022

(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


RE: Resolution can't be changed - Unknown273 - 08-13-2022

(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/comments/vp5r7b/xonotic_085_released/?utm_medium=android_app&utm_source=share

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


RE: Resolution can't be changed - FAF - 08-14-2022

(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/comments/vp5r7b/xonotic_085_released/?utm_medium=android_app&utm_source=share

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

Good! This game rocks on many levels. Ty