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

Monitor resolution not recognized when using extension cable

Tags: None
(comma "," separated)
Duber
Registered Member
Posts
10
Karma
0
After adding a VGA extension cable krandrtray recognizes less resolution modes than before. Specifically, I used to have my monitor at 1280x1024 and 75Hz and now its capped and automatically set during boot at 1024x768 at 60 Hz.

If I take away the cable extension the 1280 resolution is recognized again, and if I put back the extension after the 1280 was recognized, it is maintained. But after rebooting with the extension cable 1280 is missing again.

I have temporally fixed this by manually adding a new mode with xrandr and forcing it to be used:
Code: Select all
xrandr --newmode "1280x1024" 138.75  1280 1368 1504 1728  1024 1027 1034 1072 -hsync +vsync
xrandr --addmode VGA-0 1280x1024
xrandr --output VGA-0 --mode 1280x1024

Also, I obtained the details for the new mode from:
Code: Select all
cvt 1280 1024 75


Any idea how could I get the system to recognize the proper resolutions again ? Or how to set up the 1280 resolution from boot instead of changing it afterwards by the means of xrandr ?

Thanks in advance
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
One question that comes to my mind: did you check the cable?


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Duber
Registered Member
Posts
10
Karma
0
Mamarok wrote:One question that comes to my mind: did you check the cable?

What do you mean ? The cable is not broken and seems to be properly connected. I have found its not uncommon that with some cables the resolutions are not properly recognized.

Yet those resolutions that are not recognized still works if you manage to set them up. I'm looking how could I extend the range of available resolutions beyond those recognized by the system.

Thanks for your time
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
The detection of resolutions depends on the passing of EDID data from the monitor to the graphics card/computer. The behaviour you are reporting indicates that the cable is failing to allow this crucial data to be exchanged. It is likely therefore that certain pins are not wired in the cable, or the cable is damaged partially.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Duber
Registered Member
Posts
10
Karma
0
bcooksley wrote:The detection of resolutions depends on the passing of EDID data from the monitor to the graphics card/computer. The behaviour you are reporting indicates that the cable is failing to allow this crucial data to be exchanged. It is likely therefore that certain pins are not wired in the cable, or the cable is damaged partially.

I see, thank you for the information. I supposed it had to be something like that.

Any idea how can I force the system to set a specific resolution at startup ?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You should be able to do this by adding a executable script into ~/.config/autostart/ with the appropriate xrandr commands to add the mode lines and change the resolution.

Be aware that this may cause startup to take slightly longer (you could also move it into ~/.kde4/env/ which will run much sooner, before the KDE splash screen runs even).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Duber
Registered Member
Posts
10
Karma
0
I was looking to set the resolution at the time its recognized during boot instead of changing it afterwards, but anyway your answer will make it for now.

Thanks


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar