You are not logged in.

#1 2016-10-24 03:00:54

kadmos
Member
Registered: 2016-10-24
Posts: 10

Can't change resolution in any game

Hi, i have a thinkpad t420 with a fresh install, got gnome and the video driver in use is intel i915.
The problem comes when i try to change the screen resolution inside a game, it only can use the resolution set in the system (ie 1920x1080) i cannot alter this.
If i change the resolution in the system, the game takes this new resolution when i open it. I have another computer with arch , has an nvidia card and i don't have this issue.

I want to keep the native resolution when i get out of the game, and pick a lower resolution in game for better performance.

What can i do? please help.

Offline

#2 2016-10-24 07:01:09

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Can't change resolution in any game

got gnome

On wayland? What the output of "xrandr -q"?
And specify "game".

Offline

#3 2016-10-24 11:27:02

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
XWAYLAND0 connected 1920x1080+0+0 530mm x 300mm
   1920x1080     59.96*+

This is an external screen. What games? well i have tried with salt and sanctuary and civ v , i have pillars of eternity from gog, that one can pick any resolution, so i think its a problem for steam games.

Last edited by kadmos (2016-10-24 11:30:07)

Offline

#4 2016-10-24 11:30:27

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Can't change resolution in any game

Yes, gnome on wayland. (it's the default, *sigh*)
On login, simply choose "gnome on xorg".

Offline

#5 2016-10-24 11:45:34

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

I tried, it just does not log in, it shows me the login screen again.

Offline

#6 2016-10-24 11:53:42

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

tried disabling wayland in /etc/gdm/custom.conf and rebooted, gdm wont start and had to go back to wayland, what i'm i missing here?

Offline

#7 2016-10-24 11:57:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,443
Website

Re: Can't change resolution in any game

kadmos wrote:

I tried, it just does not log in, it shows me the login screen again.

Did you install xorg?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#8 2016-10-24 12:00:32

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

xorg-server and xorg-server-utils are installed, reinstalled it and tried again, still not working

Offline

#9 2016-10-24 12:03:18

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

also installed the xorg meta package just to see if it would fix things, and nope.

Offline

#10 2016-10-24 12:09:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,443
Website

Re: Can't change resolution in any game

What about an xorg-video driver?  If xorg is installed but doesn't work, post the xorg log from the failed attempt.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#11 2016-10-24 12:18:05

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

xf86-video-intel is installed, where do i find the log?

Last edited by kadmos (2016-10-24 12:20:09)

Offline

#12 2016-10-24 12:22:23

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

xorg log:

[    16.576] (--) Log file renamed from "/home/max/.local/share/xorg/Xorg.pid-772.log" to "/home/max/.local/share/xorg/Xorg.0.log"
[    16.577] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    16.577] X Protocol Version 11, Revision 0
[    16.577] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[    16.577] Current Operating System: Linux charocal 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64
[    16.577] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=9f1e6af5-364e-44b9-84f9-7d69b39c6941 rw quiet
[    16.577] Build Date: 19 July 2016  05:54:24PM
[    16.577]  
[    16.577] Current version of pixman: 0.34.0
[    16.577] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    16.577] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.577] (==) Log file: "/home/max/.local/share/xorg/Xorg.0.log", Time: Mon Oct 24 08:02:24 2016
[    16.583] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    16.583] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    16.589] Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/10-monitor.conf
	"Subsection" is not a valid keyword in this section.
[    16.589] (EE) Problem parsing the config file
[    16.589] (EE) Error parsing the config file
[    16.589] (EE) 
Fatal server error:
[    16.589] (EE) no screens found(EE) 
[    16.589] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    16.589] (EE) Please also check the log file at "/home/max/.local/share/xorg/Xorg.0.log" for additional information.
[    16.589] (EE) 
[    16.590] (EE) Server terminated with error (1). Closing log file.

Offline

#13 2016-10-24 12:25:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,443
Website

Re: Can't change resolution in any game

Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/10-monitor.conf
    "Subsection" is not a valid keyword in this section.

Fix that.  Or just delete that file unless you are sure you need it for something.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Online

#14 2016-10-24 12:25:28

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

the problem was this file i created:
/etc/X11/xorg.conf.d/10-monitor.conf
attempting to fix the lack of resolutions i was able to pick from, besides having errors, it wasn't doing anything because i was using wayland instead of xorg.
After removing the file i can log into gnome with xorg, im going to try changing the game resolutions and report back

Offline

#15 2016-10-24 12:28:54

kadmos
Member
Registered: 2016-10-24
Posts: 10

Re: Can't change resolution in any game

yes, its all working now big_smile

Offline

Board footer

Powered by FluxBB