question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Xwayland in Gnome supports more resolutions.

See original GitHub issue

Xwayland in Gnome supports more resolutions.

In gnome I use the monitor at 4k scaled at 200% and in Qtile using wlr-randr.

If I write to a console in Gnome the xrandr command, it gives me the following output

XWAYLAND0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 620mm x 340mm
   3840x2160     59.98*+
   2048x1536     59.95  
   1920x1440     59.90  
   1600x1200     59.87  
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   2560x1600     59.94  
   1920x1200     59.88  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   3200x1800     59.96  
   2880x1620     59.96  
   2560x1440     59.96  
   2048x1152     59.90  
   1920x1080     59.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77 

and if I write it to Qtile, only this

XWAYLAND0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 620mm x 340mm
   1920x1080     59.96*+

This makes steam games in qtile the maximum resolution is 1920x1080, while in gnome games can use resolutions up to 4k (my monitor is 4k), could something be done so that this can be implemented in qtile? Thank you

_Originally posted by @cr1ogen in https://github.com/qtile/qtile/discussions/2409#discussioncomment-3676479_

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Magnitudexxcommented, Nov 11, 2022

i know it isn’t going to help but I can confirm this behaviour

1reaction
m-colcommented, Nov 7, 2022

I’ve looked into this a few times and played around a bunch with the code, and carefully compared what we do with sway and dwl (which both print a longer list of modes) and I still can’t figure out what’s causing this!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add custom resolution and refresh rate when using Wayland
Monitors and/or adapters don't always return all the supported resolutions and refresh rates to your computer. In those cases you may need ...
Read more >
Manually add a resolution to Gnome with Wayland - Super User
So my question is how can we manually add a resolution in Wayland? resolution · vmware · gnome · arch-linux · wayland ·...
Read more >
Any way to set custom resolution under Wayland? - Reddit
Is there any way to set a custom resolution in Wayland like you can with Xorg using Xrandr? Thanks in advance.
Read more >
Maximum resolution is not detected in Gnome/Wayland session
Hi all, My Lenovo S145 with a Intel Iris Plus Graphics G1 GPU is not detecting the maximum resolution (2560x1080) of an LG...
Read more >
How to Set Custom Screen Resolution in Ubuntu Wayland ...
The good side is that it works on both Wayland and Xorg. Downsides includes: You can't set custom resolution higher than the maximum...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found