This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to get screen rotation on Wayland+Nvidia

Tags: None
(comma "," separated)
idno
Registered Member
Posts
1
Karma
0
Hello,
I would like to be able to rotate the output of my second monitor when using Wayland by 90 degrees. Im using KDE Plasma 5.21 with an Nvidia GPU. This is pretty much the only thing keeping me from switching from X.

Thanks for your help!
archeynice
Registered Member
Posts
1
Karma
0
Hi
I am having the same issue. Running on Arch. Some Information of my system:
Code: Select all
# uname -a
5.10.32-1-lts #1 SMP Wed, 21 Apr 2021 12:28:13 +0000 x86_64 GNU/Linux
# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=75d967a5-f1b7-44a6-b021-2bd8c89fd12a rw loglevel=3 nvidia-drm.modeset=1

My installed nvidia related packages:
Code: Select all
# pacman -Qs nvidia
local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/ffnvcodec-headers 11.0.10.1-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/ffnvcodec-headers8.1 8.1.24.11-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 465.27-1
    NVIDIA NV-CONTROL X extension
local/nvidia 465.27-2
    NVIDIA drivers for linux
local/nvidia-lts 1:465.27-1
    NVIDIA drivers for linux-lts
local/nvidia-settings 465.27-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 465.27-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-1 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

Software as reported by KDE system settings:
  • KDE Plasma Version: 5.21.4
  • KDE Frameworks Version: 5.81.0
  • QT Version: 5.15.2
  • Kernel Version: 5.10.32-1
  • OS Type 64-bit
  • Graphics Platform: X11
Current monitor setup (HDMI-0 is an optional display (TV) which is connected occasionally ie. when watching films but not continuously used).
Code: Select all
# xrandr
Screen 0: minimum 8 x 8, current 4650 x 1680, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1200+1050+320 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1680x1050     59.95 
   1600x1200     60.00 
   1280x1024     75.02    60.02 
   1280x960      75.00 
   1024x768      75.03    60.00 
   800x600       75.00    60.32 
   640x480       75.00    59.94 
HDMI-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  59.94    50.00    29.97    25.00    23.98    60.05    60.00    50.04 
   1680x1050     59.95 
   1600x900      60.00 
   1440x900      59.89 
   1366x768      59.79 
   1280x1024     75.02    60.02 
   1280x800      59.81 
   1280x720      60.00    59.94    50.00 
   1152x864      75.00 
   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32 
   720x576       50.00 
   720x480       59.94 
   640x480       75.00    72.81    59.94 
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1050x1680+0+0 right (normal left inverted right x axis y axis) 434mm x 270mm
   1680x1050     59.95*+
   1280x1024     75.02    60.02 
   1280x960      60.00 
   1152x864      75.00 
   1024x768      75.03    60.00 
   800x600       75.00    60.32    56.25 
   640x480       75.00    59.94 
DVI-D-1 connected 1680x1050+2970+470 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050     59.88*+  59.95 
   1280x1024     75.02    60.02 
   1280x960      60.00 
   1152x864      75.00 
   1024x768      75.03    70.07    60.00 
   800x600       75.00    72.19    60.32    56.25 
   640x480       75.00    72.81    59.94 


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]