You are not logged in.

#21 2018-12-02 21:16:19

hikinrory
Member
From: Kentucky
Registered: 2018-11-16
Posts: 23

Re: [SOLVED]Can't seem to add resolutions to xrandr above 1024x768

Thank you.

Offline

#22 2018-12-05 06:55:19

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED]Can't seem to add resolutions to xrandr above 1024x768

hikinrory wrote:

The only "glitch" I have found to  this workaround is that the screen is black for about 2-3 seconds while it runs the commands.

maybe xrandr supports command chaining, and you can put all that on one line?
i.e.:

xrandr --newmode "1680x1050"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync --addmode VGA-0 "1680x1050" --output VGA-0 --mode "1680x1050"

(not tested)

Offline

#23 2018-12-06 00:03:49

hikinrory
Member
From: Kentucky
Registered: 2018-11-16
Posts: 23

Re: [SOLVED]Can't seem to add resolutions to xrandr above 1024x768

ohnonot wrote:
hikinrory wrote:

The only "glitch" I have found to  this workaround is that the screen is black for about 2-3 seconds while it runs the commands.

maybe xrandr supports command chaining, and you can put all that on one line?
i.e.:

xrandr --newmode "1680x1050"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync +Vsync --addmode VGA-0 "1680x1050" --output VGA-0 --mode "1680x1050"

(not tested)

Thank you for the idea. I was wondering about that actually, but I figured since it was still running 3 commands it would take the same amount of time whether or not they were in one line or not.

I'm good for now. When I get time, I will find out where it stores the detected display settings and change it or force it to detect the correct settings. (I think I have downloaded every GPU driver known to man.) Then all will be right with the world. Until then, this is a very acceptable work around. I'm not going to lose sleep over an extra couple of seconds boot time.

Last edited by hikinrory (2018-12-06 00:05:15)

Offline

#24 2018-12-06 09:32:32

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [SOLVED]Can't seem to add resolutions to xrandr above 1024x768

hikinrory wrote:

I figured since it was still running 3 commands it would take the same amount of time whether or not they were in one line or not.

actually no, the difference is that you call xrandr three times, whereas in my example - that is IF it supports command chaining - you call it only once.
Calling includes:

  • reading the executable from hard drive

  • executing stuff

  • closing it

  • the shell doing things in between

and all that three times instead of once.

Offline

#25 2018-12-06 09:47:30

hikinrory
Member
From: Kentucky
Registered: 2018-11-16
Posts: 23

Re: [SOLVED]Can't seem to add resolutions to xrandr above 1024x768

That makes sense, but it didn't work as written. Thanks for trying.

Offline

Board footer

Powered by FluxBB