You are not logged in.

#1 2024-02-11 16:07:38

RononDex
Member
Registered: 2024-02-02
Posts: 15

[Solved] Games: How to get native resolution on scaled Hyprland screen

I have two screens in Hyprland:
- 4k @ 144Hz as my main (with 1.50 fractional scaling applied)
- 1440p @144hz as my secondary screen

My monitors.conf for hyprland looks like this:

monitor=DP-1,3840x2160@144.0,0x0,1.5000000000000004
monitor=DP-2,2560x1440@143.856003,2560x0,1.0

hyprlctl monitors shows this output:

Monitor DP-1 (ID 0):
	3840x2160@144.00000 at 0x0
	description: Acer Technologies XV275K P3 2324000334HA1 (DP-1)
	make: Acer Technologies
	model: XV275K P3
	serial: 2324000334HA1
	active workspace: 10 (10)
	special workspace: 0 ()
	reserved: 0 22 0 37
	scale: 1.50
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 1
	activelyTearing: false

Monitor DP-2 (ID 1):
	2560x1440@143.85600 at 2560x0
	description: Ancor Communications Inc ASUS MG279 0x0001CF7A (DP-2)
	make: Ancor Communications Inc
	model: ASUS MG279
	serial: 0x0001CF7A
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 0 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

However, in games I can only select 1440p as max resolution on my 4k screen. I am assuming this originates from the 1.5 fractional scaling, as xrandr reports this:

Screen 0: minimum 16 x 16, current 5120 x 1440, maximum 32767 x 32767
DP-1 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 600mm x 330mm
   2560x1440    143.91*+
   1920x1440    143.90  
   1600x1200    143.89  
   1440x1080    143.80  
   1400x1050    143.89  
   1280x1024    143.79  
   1280x960     143.86  
   1152x864     143.92  
   1024x768     143.87  
   800x600      143.83  
   640x480      143.85  
   320x240      142.05  
   1920x1200    143.89  
   1680x1050    143.88  
   1440x900     143.86  
   1280x800     143.84  
   1152x720     143.77  
   960x600      143.72  
   928x580      143.50  
   800x500      143.68  
   768x480      143.69  
   720x480      143.85  
   640x400      143.37  
   320x200      141.40  
   2048x1152    143.88  
   1920x1080    143.88  
   1600x900     143.93  
   1368x768     143.77  
   1280x720     143.67  
   1024x576     143.91  
   864x486      143.63  
   720x400      143.88  
   640x350      143.57  
DP-2 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 600mm x 340mm
   2560x1440    143.83*+
   1920x1440    143.81  
   1600x1200    143.72  
   1440x1080    143.69  
   1400x1050    143.78  
   1280x1024    143.67  
   1280x960     143.73  
   1152x864     143.75  
   1024x768     143.66  
   800x600      143.48  
   640x480      143.30  
   320x240      142.05  
   1920x1200    143.74  
   1680x1050    143.79  
   1440x900     143.73  
   1280x800     143.84  
   1152x720     143.57  
   960x600      143.72  
   928x580      143.50  
   800x500      143.25  
   768x480      143.69  
   720x480      143.35  
   640x400      143.37  
   320x200      141.40  
   2048x1152    143.74  
   1920x1080    143.72  
   1600x900     143.69  
   1368x768     143.61  
   1280x720     143.67  
   1024x576     143.62  
   864x486      143.23  
   720x400      143.29  
   640x350      143.57  

Is there any way I can get the full 4k resolution in steam / proton games?

Last edited by RononDex (2024-02-13 19:51:11)

Offline

#2 2024-02-11 16:44:57

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,113
Website

Re: [Solved] Games: How to get native resolution on scaled Hyprland screen

Please use code tags, not quote tags for terminal output.

https://wiki.archlinux.org/title/Genera … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-02-11 16:53:59

RononDex
Member
Registered: 2024-02-02
Posts: 15

Re: [Solved] Games: How to get native resolution on scaled Hyprland screen

Done smile

Offline

#4 2024-02-13 19:50:54

RononDex
Member
Registered: 2024-02-02
Posts: 15

Re: [Solved] Games: How to get native resolution on scaled Hyprland screen

Was able to solve it using this:

https://wiki.hyprland.org/Configuring/XWayland/

Offline

Board footer

Powered by FluxBB