Skip to content

Instantly share code, notes, and snippets.

@SAW4
Last active April 20, 2023 23:24
Show Gist options
  • Select an option

  • Save SAW4/f9968bd53027d7d33c4c6f3e64c9d138 to your computer and use it in GitHub Desktop.

Select an option

Save SAW4/f9968bd53027d7d33c4c6f3e64c9d138 to your computer and use it in GitHub Desktop.
Fix: kde plasma external monitor low resolution problem

Fix: kde plasma external monitor low resolution problem

Find you modeLine

cvt 1920 1080
# you will get something like this:
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Create new mode config with xrandr

xrandr --newmode "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

Find your interface

$ xrandr
Screen 0: minimum 8 x 8, current 3520 x 1080, maximum 32767 x 32767
eDP1 connected primary 1600x900+0+180 (normal left inverted right x axis y axis) 280mm x 160mm
   1600x900      60.00*+
   1920x1080     60.04 +
   1400x1050     59.98  
   1280x1024     60.02  
   1280x960      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x1200     60.00  
   1680x1050     59.95  
   1280x1024     75.02    60.02  
   1440x900      59.89  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Add mode to interface

xrandr --addmode DP2 1920x1080_60.00

Last Step

Then you should see new mode is added in Settings->Display and Monitor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment