You are not logged in.

#1 2024-11-30 12:19:41

anti4r
Member
From: East Coast US
Registered: 2017-08-14
Posts: 5

xandr doesnt recognize native 2560x1440p resolution

I have a Radeon 7900xt card on a Wayland gnome install with mesa vulkan-radeon libva-mesa-driver mesa-vdpau drivers installed, I try to configure the resolution on my 2560x1440p @ 360hz monitor with the following commands but it fails:

user@machine$ ~ cvt 2560 1440 
# 2560x1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 MHz
Modeline "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
user@machine$ ~ xrandr --newmode "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
user@machine$ ~ xrandr --addmode DP-2 2560x1440_60.00
user@machine$ ~ xrandr --output DP-2 --mode 2560x1440_60.00
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  21 (RRSetCrtcConfig)
  Value in failed request:  0x0
  Serial number of failed request:  22
  Current serial number in output stream:  22

xrandr output:

user@machine$ ~ xrandr
Screen 0: minimum 16 x 16, current 1456 x 819, maximum 32767 x 32767
DP-2 connected primary 1456x819+0+0 (normal left inverted right x axis y axis) 590mm x 330mm
   1456x819     359.90*+
   1024x768     359.67  
   800x600      359.75  
   640x480      359.07  
   320x240      359.06  
   1280x800     359.63  
   1152x720     359.66  
   960x600      359.90  
   928x580      359.80  
   800x500      359.35  
   768x480      359.29  
   720x480      359.48  
   640x400      359.21  
   320x200      357.70  
   1368x768     359.62  
   1280x720     359.75  
   1024x576     359.88  
   864x486      359.63  
   720x400      359.24  
   640x350      358.82  
   2560x1440_60.00  59.96  

user@machine$ ~ xrandr --listmonitors
Monitors: 1
 0: +*DP-2 1456/590x819/330+0+0  DP-2

Last edited by anti4r (2024-11-30 12:21:16)

Offline

#2 2024-11-30 12:30:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,694

Re: xandr doesnt recognize native 2560x1440p resolution

on a Wayland gnome install

xrandr & cvt/cvt12 are for X  .
Under wayland they are ran through a bare-boned X called xwayland and can do very little.

You'll have to use gnome tools to check things as wayland doesn't have a counterpart of xrandr .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2024-11-30 12:34:09

anti4r
Member
From: East Coast US
Registered: 2017-08-14
Posts: 5

Re: xandr doesnt recognize native 2560x1440p resolution

Thats what I thought, and in Gnome tools it even recognizes the resolution as 2560x1440 @ 360hz, but when I start a game in steam the game's resolution cannot be set past 1456x819 which is also the same resolution set automatically on xrandr.

Offline

#4 2024-11-30 15:02:36

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,694

Re: xandr doesnt recognize native 2560x1440p resolution

Which game ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2024-11-30 19:26:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 72,539

Re: xandr doesnt recognize native 2560x1440p resolution

Steam runs on xwayland - the resolution looks freakish, so this is likely some HiDPI scaling in action? (factor is 1.76. resp 0.57)

Offline

Board footer

Powered by FluxBB