Re: [GTALUG] Kernel and/or X upgrade broke my video setup

On October 11, 2017 10:19:28 AM EDT, ac via talk <talk@gtalug.org> wrote:
On Wed, 11 Oct 2017 10:01:07 -0400 Scott Sullivan via talk <talk@gtalug.org> wrote:.
Desktop implement UIs that talk to this functionality, and handle the
'memory' of layouts. KDE's for example will remember transient moinitor configureations, like my two different laptop docks at home and work, and will restore the right layout for each, matching against the Vendor IDs of the monitors.
Okay, but after a kernel update / distro update - no configs 'should have' been over written...
as it seems there has been config changes (both screens are still working & mouse moves to both screens, etc etc)
Not necessarily. Software is free to mangle your configs at run time. Distro will knowingly or unknowingly push updates from the upstream that 'upgrade' preferences files in ways that don't roll back. Especially in desktop applications. Firefox will be doing this with the 57 release as we learned last night. But another factor is driver updates can also result in the Output names changing. I've seen this in my own laptop. Usually as the generic drives gets tweaked to be aware of the specific model. In that case the old config doesn't match the remembered state and would reasonable fall back to defaults. And defaults are the convention of the person that wrote the software. -- Scott Sullivan

This is the output of my xrandr: Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 HDMI-0 disconnected (normal left inverted right x axis y axis) DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 59.93 + 60.00* 1680x1050 59.88 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 56.25 640x480 75.00 59.94 720x400 70.08 VGA-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm 1920x1080 60.00*+ 1680x1050 59.95 1600x900 60.00 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1280x720 60.00 1152x720 59.97 1024x768 75.03 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 59.94 Before the updates, both screens were able to report maximum resolution and even the make/model. Now that's only reported for the main (HDMI-connected) screen. I attach a screenshot of the config window that I once used to make it work under KDE. On 11 October 2017 at 11:18, Scott Sullivan via talk <talk@gtalug.org> wrote:
On October 11, 2017 10:19:28 AM EDT, ac via talk <talk@gtalug.org> wrote:
On Wed, 11 Oct 2017 10:01:07 -0400 Scott Sullivan via talk <talk@gtalug.org> wrote:.
Desktop implement UIs that talk to this functionality, and handle the
'memory' of layouts. KDE's for example will remember transient moinitor configureations, like my two different laptop docks at home and work, and will restore the right layout for each, matching against the Vendor IDs of the monitors.
Okay, but after a kernel update / distro update - no configs 'should have' been over written...
as it seems there has been config changes (both screens are still working & mouse moves to both screens, etc etc)
Not necessarily. Software is free to mangle your configs at run time. Distro will knowingly or unknowingly push updates from the upstream that 'upgrade' preferences files in ways that don't roll back. Especially in desktop applications.
Firefox will be doing this with the 57 release as we learned last night.
But another factor is driver updates can also result in the Output names changing. I've seen this in my own laptop. Usually as the generic drives gets tweaked to be aware of the specific model.
In that case the old config doesn't match the remembered state and would reasonable fall back to defaults. And defaults are the convention of the person that wrote the software. -- Scott Sullivan --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- Evan Leibovitch Toronto, Canada Em: evan at telly dot org Sk: evanleibovitch Tw: el56

On 11/10/17 12:02 PM, Evan Leibovitch wrote:
This is the output of my xrandr:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 HDMI-0 disconnected (normal left inverted right x axis y axis) DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis \-----------/
This chunk here, tells you what part of the framebuffer the monitor is occupying. In this case, it's 1920 wide, 1080 tall, and it's top-left offset is 0,0.
VGA-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
Same here, 1920 wide, 1080 tall, and it's top-left offset is 0,0.So they're on top of each other, and showing the same video output.
Before the updates, both screens were able to report maximum resolution and even the make/model.
Do you mean that there used to resolutions available higher then 1920x1080?
Now that's only reported for the main (HDMI-connected) screen Your Xrandr out does not say your using an HDMI output. Just your VGA and DVI outputs.
I'm assuming the driver has correct labels for your card. But you could also be using adapters, or evening the built in support for DVI that is mandatory HDMI equipment. Old, but still good explanation: https://gtalug.org/pipermail/legacy/2013-September/061899.html
I attach a screenshot of the config window that I once used to make it work under KDE.
KDE user here myself, as both monitors are position at 0,0 they are going to be drawn one on top of the other in the UI. You should be able to drag the top one off the other. Although, it says their not unified, so clicking unify, and then 'break unify' (same button, different states), might pop them apart for you in the UI (does for me at least). But failing that, there is also the direct approach. # xrandr --output DVI-0 --auto --primary --rotate normal --output VGA-0 --auto --right-of DVI-0 That should put the VGA-0's output on relative right of the DVI-0's output. This would make VGA-0's size and position 1920x1080+1920+0 -- Scott Sullivan

That was it. I didn't realize the displays were overlayed. The fix took seconds after implementing what you said using the GUI. Many thanks. On 11 October 2017 at 18:56, Scott Sullivan via talk <talk@gtalug.org> wrote:
On 11/10/17 12:02 PM, Evan Leibovitch wrote:
This is the output of my xrandr:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384 HDMI-0 disconnected (normal left inverted right x axis y axis) DVI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis
\-----------/
This chunk here, tells you what part of the framebuffer the monitor is occupying. In this case, it's 1920 wide, 1080 tall, and it's top-left offset is 0,0.
VGA-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis)
Same here, 1920 wide, 1080 tall, and it's top-left offset is 0,0.So they're on top of each other, and showing the same video output.
Before the updates, both screens were able to report maximum resolution
and even the make/model.
Do you mean that there used to resolutions available higher then 1920x1080?
Now that's only reported for the main (HDMI-connected) screen
Your Xrandr out does not say your using an HDMI output. Just your VGA and DVI outputs.
I'm assuming the driver has correct labels for your card. But you could also be using adapters, or evening the built in support for DVI that is mandatory HDMI equipment.
Old, but still good explanation: https://gtalug.org/pipermail/legacy/2013-September/061899.html
I attach a screenshot of the config window that I once used to make it
work under KDE.
KDE user here myself, as both monitors are position at 0,0 they are going to be drawn one on top of the other in the UI. You should be able to drag the top one off the other. Although, it says their not unified, so clicking unify, and then 'break unify' (same button, different states), might pop them apart for you in the UI (does for me at least).
But failing that, there is also the direct approach.
# xrandr --output DVI-0 --auto --primary --rotate normal --output VGA-0 --auto --right-of DVI-0
That should put the VGA-0's output on relative right of the DVI-0's output. This would make VGA-0's size and position 1920x1080+1920+0
-- Scott Sullivan --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
-- Evan Leibovitch Toronto, Canada Em: evan at telly dot org Sk: evanleibovitch Tw: el56
participants (2)
-
Evan Leibovitch
-
Scott Sullivan