Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[INVALID] Resolution can't be changed

#1
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?
Reply

#2
You should say more about your configuration - hardware, os, drivers etc.
My contributions to Xonotic: talking in the forum, talking some more, talking a bit in the irc, talking in the forum again, XSkie
Reply

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

#4
What about the commands vid_height and vid_width?
[Image: 21.png]
IRC (QuakeNet): #bot.xonotic | #xonotic.pickup | #xonotic | #xonotic.cup
Steam | Twitch.tv | YouTube
Movies: Mirification #1 | #2 | Mirificaption #1 | #3 | #4 | [BOT] Clan #3 | #5 | #6 | #7 | [BOT] Clan #4 | #8

Reply

#5
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"]
Reply

#6
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.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#7
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.
I'm at least a reasonably tolerable person to be around - Narcopic
Reply

#8
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.
Reply

#9
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.
I'm at least a reasonably tolerable person to be around - Narcopic
Reply

#10
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.
[Image: 561.png]
"One should strive to achieve; not sit in bitter regret."
Reply

#11
edh, just FYI, cvars are set using + instead of -. Same thing for console commands in general (+connect localhost etc.).
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply

#12
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.
Reply

#13
(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.
I'm at least a reasonably tolerable person to be around - Narcopic
Reply

#14
Oh, maybe they do, yeah. I don't know about that.
[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Little resolution issue since using Xonotic 0.8.1 N1mbus 4 1,916 09-03-2015, 02:34 PM
Last Post: N1mbus
  [SOLVED] Bad resolution change! Stuck on black screen! Dazerio 3 4,497 12-22-2012, 07:51 AM
Last Post: Dazerio

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-