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

Plasma 5: custom resolution

Tags: None
(comma "," separated)
kstanislawek
Registered Member
Posts
1
Karma
0

Plasma 5: custom resolution

Mon May 25, 2015 10:08 am
Hello,

I have monitor with native resolution 1920 x 1080. I want it to be 1600 x 900, but this option doesn't appear in kscreen. I used some advices and set it using xrandr, here is my output right now:
Code: Select all
 ~ $ sudo xrandr -q
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
eDP1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080      60.1 +   59.9 
   1680x1050      60.0     59.9 
   1600x1024      60.2 
   1400x1050      60.0 
   1600x900       59.9 
   1280x1024      60.0 
   1440x900       59.9 
   1280x960       60.0 
   1360x768       59.8     60.0 
   1152x864       60.0 
   1024x768       60.0 
   800x600        60.3     56.2 
   640x480        59.9 
   1600x900_60.00   59.9*
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

But it doesn't cooperate with kscreen, and I'd have to use a startup script. I also can't use NVidia drivers this way, because with them, after changing resolution, screen is rampaging. Is there a way to add this resolution, so that even kscreen can see it?
jetpeach
Registered Member
Posts
28
Karma
0

Re: Plasma 5: custom resolution

Mon May 27, 2019 6:53 am
i have a similar problem - i have to run xrandr commands to get my monitors default resolution to show up.
this wiki page calls out how to add changes persistently:
https://wiki.ubuntu.com/X/Config/Resolu ... rsistently
however, I don't like the idea of using xprofile (I haven't tried) since it takes place late in startup. And I can't find the kdm startup scripts (that page is out of date, showing something for kde4). And i definitely don't want to deal with creating an xorg.conf file....

I am trying the xprofile options listed here now:
https://askubuntu.com/questions/754231/ ... ith-xrandr

going to reboot and see if it works for me. not sure if it's a solution for you though, but maybe can help.

oh - one other thread, probably not related but cvt command gives me the wrong output. not sure if that relates to your 'screen is rampaging' problem, but in any case, it seems the output of cvt is not always correct.
https://ubuntuforums.org/showthread.php ... dr+startup


UPdate:
Ok, .xprofile didn't work, but putting these into .profile did work seemlessly. I autologin anyway, didn't notice any additional flicker or issues in my case, so this was my solution
-Added to ~/.profile
# I add to fix resolution issue
sudo xrandr --newmode "2560x1440_60" 241.50 2560 2608 2640 2720 1440 1442 1447 1481 +hsync +vsync
sudo xrandr --addmode HDMI-1 2560x1440_60

I had manually set in kscreen this resolution before reboot, and it seemed to remember now that it picked up this option from the .profile file


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]