Increasing screen resolution in Plasma wayland

Have been using X for plasma up until now, thought I would try wayland.
My monitor is 2560x1080, and in X, had used xrandr to add a new mode, then add that to xorg.conf.d/50-monitor.conf - all good.
How do I do the same in wayland?
Have searched, but unable to find a solution.
Thanks.

I’m not currently using Wayland, but perhaps the following will be of value here…

1 Like

Fixes bootloader resolution (who cares…), but resolution in OS is still 1920x1080…

KWin is only aware of the modes supplied by the graphics driver via EDID, so in your case it may be necessary to create/supply a suitable EDID binary and load it at boot…

https://wiki.archlinux.org/title/kernel_mode_setting#Forcing_modes_and_EDID

Thanks for the reply, but… Seriously???
This is the new, up-to-date, simple to use, solution to a window manager, and it can’t do resolutions above 1920x1080?? The move these days is to higher resolution monitors/multiple monitors, and linux STILL cannot do this??
I love Linux, and keep trying to push it out there to friends/workmates etc, but how can I when you STILL need to be an IT guru, to get basic stuff to work??

Sorry, certainly not having a go at anyone in particular, but this should be basic stuff…
How do I get this to work for my Parents/Grandparents/Wife, even kids? Even they don’t want to have to go back to basics, JUST to get the correct resolution…

End of rant

As much as I hate to say it, Windows just works…

Thanks.

X11 just works.

TouchE!
Well, no, not really, still had to manually use xrandr etc to configure…

Does Windows automatically select resolution that you want? Is this resolution really native resolution or emulated? E.g. my Sony TV claims 1920x1080 while physical matrix is 1368x768.

Showing which modes kernel detects and decoded EDID would be a start. Or are you just after ranting here?

As you haven’t provided hardware or software specifications (the latest version of inxi, not the 6 month old one in TW, using inxi -GSayz would provide the relevant ones), I can’t provide the possible solution I would offer, but I have been lead to believe a kernel command line option in Grub might do it. I’ve never used Wayland, and my 2560x1080 screen won’t power up to test with. This one is incomplete, but may nevertheless work: video=2560x1080

To upgrade inxi: inxi -U or https://smxi.org/docs/inxi-installation.htm#inxi-manual-install

ls -1 /sys/class/drm output might be helpful too.

Quit your ranting. Provide definitive information, otherwise we can only speculate.


CPU: quad core Intel Core i5-4590 (-MCP-) speed/min/max: 3332/800/3700 MHz
Kernel: 5.17.3-1-default x86_64 Up: 0h 8m Mem: 4758.1/15906.7 MiB (29.9%)
Storage: 3.17 TiB (33.3% used) Procs: 313 Shell: Bash inxi: 3.3.15

and

john@boss:~> ls -1 /sys/class/drm
card0
card0-DP-1
card0-DP-2
card0-HDMI-A-1
card0-HDMI-A-2
card0-VGA-1
renderD128
version

john@boss:~> inxi -GSayz
System:
 Kernel: 5.17.3-1-default arch: x86_64 bits: 64 compiler: gcc v: 11.2.1
   parameters: BOOT_IMAGE=/boot/vmlinuz-5.17.3-1-default
   root=UUID=f6a4ff82-1d3f-474f-9bc5-f8ed0c8e1d43 splash=silent
   mitigations=auto quiet video=HDMI-A-1:2560x1080@50
 Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.2 wm: kwin_wayland vt: 2
   dm: SDDM Distro: openSUSE Tumbleweed 20220415
Graphics:
 Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
   vendor: Dell driver: i915 v: kernel ports: active: HDMI-A-1
   empty: DP-1, DP-2, HDMI-A-2, VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0412
   class-ID: 0300
 Device-2: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
   bus-ID: 2-6:2 chip-ID: 0c45:636b class-ID: 0102 serial: <filter>
 Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.1
   compositor: kwin_wayland driver: X: loaded: modesetting unloaded: fbdev,vesa
   alternate: intel gpu: i915 display-ID: 0
 Monitor-1: HDMI-A-1 res: 1920x1080 size: N/A modes: N/A
 OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2) v: 4.6 Mesa 22.0.1
   compat-v: 3.1 direct render: Yes

Monitor: https://www.lg.com/au/it-monitors/lg-29WL500-B

john@boss:~> xrandr  (from Tumbleweed/Plasma Wayland)
Screen 0: minimum 16 x 16, current 1920 x 1080, maximum 32767 x 32767
XWAYLAND0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 800mm x 340mm
  1920x1080     59.96*+
  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
  1680x1050     59.95
  1440x900      59.89
  1280x800      59.81
  720x480       59.71
  640x400       59.95
  320x200       58.96
  1600x900      59.95
  1368x768      59.88
  1280x720      59.86
  1024x576      59.90
  864x486       59.92
  720x400       59.55
  640x350       59.77

john@boss:~> xrandr   (from Tumbleweed/Plasma X)
Screen 0: minimum 320 x 200, current 2560 x 1080, maximum 16384 x 16384
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 798mm x 334mm
   2560x1080_60.00  60.00*+
   1920x1080     60.00    50.00    59.94   
   1680x1050     59.88   
   1600x900      60.00   
   1280x1024     75.02    60.02   
   1280x800      59.91   
   1152x864      75.00   
   1280x720      60.00    50.00    59.94   
   1024x768      75.03    60.00   
   832x624       74.55   
   800x600       75.00    60.32   
   720x576       50.00   
   720x480       60.00    59.94   
   640x480       75.00    60.00    59.94   
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)

Thanks.

If video=HDMI-A-1:2560x1080@50 didn’t work, try each in turn video=HDMI-A-1:2560x1080@60, video=HDMI-1:2560x1080@50, and video=HDMI-1:2560x1080@60.

You could try running xrandr before wayland starts. Put a script in /etc/X11/xinit/xinitrc.d/ containing: xrandr --output HDMI-1 --mode 2560x1050 --rate 60, or with HDMI-A-1 instead of HDMI-1, or 50 instead of 60.

Another possibility: configure via /etc/X11/xorg.con*, since wayland is a protocol rather than an application, and depends on portions of Xorg’s foundation (or Xorg itself?).

If none of this works, my only remaining suggestions, other than running Xorg itself, are a bug report, or a GPU newer than 8 years old, or a display that’s not a 21.333:9 (64/27) mode, but I’m leaning toward needs a bug report if not Xorg.

That’s not correct. KWin is acting as a Wayland compositor in its own right here. Xorg configuration will not help AFAIU.

I agree, that a bug report may well be required.

These may be of help for debugging purposes…

FWIW, I did find a bug report describing similar behavior (related to i915.ko) and found to be related to a 165MHz pixel clock limit that may be preventing the 2560x1080@60 mode from being used. Comment #3 of that report summarizes…

So yeah, basically that means that you’re trying to drive it out of spec, or the manufacturer messed up and used a dual-mode chip that misreports its maximum TMDS clock. We have to err on the side of caution and filter out modes that look out of spec, doing otherwise would lead to some poor chap getting a black screen.

However if you want you can still keep driving it out of spec with the custom modeline. I guess the question is how would you add one under whatever wayland compositor you use

Also, refer this github page…

Wayland in KDE is still very much BETA. You would do better to just use X which works all in all much better then current Wayland. Unless you are testing Wayland, it is experimental still. :open_mouth:

Just to be clear here. This is not a Wayland issue per se. It manifests as an Intel driver issue (165MHz clock limit) that affects some display hardware corner cases, and can be worked around (via a custom modeline) with Xorg, but not for Wayland.

Title says Wayland. Wayland is still beta at least in KDE. SO don’t use Wayland as a measure of Video support on Linux.If you do you choose to experment which may or may not work well for you.

On a tumbleweed vm with plasma-wayland desktop running, “display configuration” shows availability of resolutions up to 2560 x 1600. I don’t have display hardware to support that for a test.

@hornetster does your system not show the 2560 x 1600 option or does it not work?

tom kosvic

On a tumbleweed vm with plasma-wayland desktop running, “display configuration” shows availability of resolutions up to 2560 x 1600. I don’t have display hardware to support that for a test. <br><br>@hornetster does your system not show the 2560 x 1600 option or does it not work?<br><br>tom kosvic<br><br><br>

No, highest resolution available in my system, in that location, is 1920x1080.
Ubuntu now uses Wayland as the default for gnome…