You are not logged in.
Pages: 1
I was trying to change the xwayland primary output on sway by running the command
xrandr --output DP-3however it gives the output
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: 0x30c
Serial number of failed request: 33
Current serial number in output stream: 33Last edited by blook_industries (2025-07-14 17:05:13)
Offline
xrandr talks to a shim (xwayland) on wayland, you cannot use it to configure anything and the stuff it prints is of limited value as well.
https://wiki.archlinux.org/title/Sway#Outputs
Offline
xrandr talks to a shim (xwayland) on wayland, you cannot use it to configure anything and the stuff it prints is of limited value as well.
https://wiki.archlinux.org/title/Sway#Outputs
the link you sent me says that I should configure my primary monitor with xwayland in section 5.10
Wayland has no concept of a primary monitor. Instead, you can specify a primary monitor for Xwayland to use via xrandr
edit:formating
Last edited by blook_industries (2025-07-12 23:10:04)
Offline
Ah, but that's not what
xrandr --output DP-3
will do at all, "xrandr --output DP-3 --primary" would (sorry, didn't read the description of what you wanted to achieve)
Also nb.
Wayland has no concept of a primary monitor
- this will *only* apply to xwayland clients.
Also
xrandr -q # is DP-3 even correct hereYou might also want to opt for /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
Identifier "DP-3"
Option "Primary" "true"
EndSectionOffline
thanks, this seems to have worked, the game i was trying to play (ULTRAKILL) doesn't seem to be respecting the primary monitor even in X11 desktops.
Offline
Pages: 1