Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upWrong screen resolution (64x64) set for AppVM X server when xrandr unavailable on Dom0 side #998
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 14, 2015
Member
Can you paste here output of xrandr in dom0 in such case?
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
Can you paste here output of Best Regards, |
marmarek
added
bug
C: core
C: gui-virtualization
P: minor
labels
May 14, 2015
marmarek
added this to the Release 3.0 milestone
May 14, 2015
marmarek
self-assigned this
May 14, 2015
marmarek
closed this
in
marmarek/old-qubes-gui-daemon@7bb67ac
May 15, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
plushambush
May 15, 2015
Seems that it's not needed anymore, but as you asked
[ricochet@dom0 Desktop]$ xrandr -q RandR extension missing
plushambush
commented
May 15, 2015
|
Seems that it's not needed anymore, but as you asked [ricochet@dom0 Desktop]$ xrandr -q RandR extension missing |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
plushambush
May 15, 2015
But this patch marmarek/qubes-gui-daemon@7bb67ac will just make watch-screen-layout-changes ignore all further layout changes and it become completely useless.
plushambush
commented
May 15, 2015
|
But this patch marmarek/qubes-gui-daemon@7bb67ac will just make watch-screen-layout-changes ignore all further layout changes and it become completely useless. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 15, 2015
Member
Yes, if xrandr does not report screen dimensions it is pointless
forwarding xrandr events to the VM. I think in such a case,
qubes-monitor-layout-notify will not be called at all in the first
place.
If you want some other screen size notification method, feel free to
provide a more details, or - preferably - a patch.
Without this mechanism, VM still know the full screen size - it is sent
by gui-daemon at the VM startup.
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
Yes, if xrandr does not report screen dimensions it is pointless Without this mechanism, VM still know the full screen size - it is sent Best Regards, |
plushambush commentedMay 14, 2015
When Dom0 start AppVM it set AppVM's X server resolution by asking xrandr for the current screen resolution and passing result to the SetMonitorLayout RPC service on the AppVM side.
But qubes-monitor-layout-notify script which is responsible for this job don't check result returned by xrandr for correct data. As result It send an empty string to the SetMonitorLayout, this empty string is received by xrandr on AppVM side and screen resolution set to minimum (which is 64x64)
Consider using other means of getting screen resolution (xwininfo?) when xrandr is unavailable
Tested on Qubes 3 RC1
Screen setup: 3 heads, 2 video cards (1 on Intel + 2 on Nvidia), Xinerama is on