Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Can't set 2k resolution

#1
I recently got a new Laptop with a RTX 3070 and 2560x1600@165Hz resolution screen, so I would like to use this resolution within Xonotic, same as desktop res.
I cannot get it to work, I tried the menue way, console way, config.cfg, etc., way, - nothing works.
Xonotic always bumps me back to some 1536/1707x807 resolution.
I tried all the vid_width 2560, vid_height 1600, vid_desktopfullscreen 1,vid_netwmfullscreen 1, vid_restart stuff recommeded elsewhere in here, but to no effect other than game in lowres.

Console says the following on trying to force mode change (vid_width 2560, vid_height 1600, vid_restart):
You can see it says "Changing to.." but it ends up in the same low res mode.
https://ibb.co/YW5RX19 (big)
[Image: Xon-Mode-Change1.png]


Note 1, there seems to be a small pause where it has set resolution, showing (slightly) misaligned screen, which gets adjusted/scaled back to the aformentioned 1536x807 quickly.
Note 2, setting 1707x1067 works, but nothing higher.
Note 3, setting resolution to 2k and enabling window mode sort of works, but only shows upper left quarter of rendered image, rest is outside screen.

Any ideas?
Please, prettty please (Yes, I am way over my head)
Reply

#2
This took me a while.
Solution is to NOT use Windows 10 Scaling to make "Text, Apps and other elements" appear bigger (Display Options).
Xonotic seems to take current resolution info from Windows which reports something mathematically related to native resolution und scaling factor, but not the actual native resolution.
Setting Scaling to 100% solves the issue.
I still think this is a serious bug that should be fixed.
Reply

#3
Why does..

Code:
"vid_width" "2560"
"vid_height" "1600"
vid_restart

..not override the windows scaling settings when windows desktop is running in native 2560x1600?
It should take precendence, shouldn't it..

Please help with a fix, I am a monkey  now
Reply

#4
There are several ways to be found on the internet via the Rightclick-menu on the executable (Properties, Compatibility, High DPI settings..) which all do not work for Xonotic.
It seems the application itself needs to be aware of DPI settings and allowing override ort something.
(At least so I read on superuser etc.)

[url=https://superuser.com/questions/952120/windows-10-per-app-scaling/1094206][/url] Can some developer please chime in?
Reply

#5
I am sort of disappointed that no one felt inclined to reply.
This a Help & Troubleshooting post, isn't it?

Anyway, I am now changing Windows Scaling to 100% before launching Xonotic.
This works well enough, now that I have found it the culprit.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Little resolution issue since using Xonotic 0.8.1 N1mbus 4 2,776 09-03-2015, 02:34 PM
Last Post: N1mbus
  [SOLVED] Bad resolution change! Stuck on black screen! Dazerio 3 6,313 12-22-2012, 07:51 AM
Last Post: Dazerio
  [INVALID] Resolution can't be changed Majki 13 8,339 06-20-2012, 02:37 PM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

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