Ubuntu 16.04 KVM + QXL Guest - Can't change resolutionReinstall package and its installed dependenciesKVM...
Do I have to take mana from my deck or hand when tapping a dual land?
How can I safely use "Thalidomide" in my novel while respecting the trademark?
Do you waste sorcery points if you try to apply metamagic to a spell from a scroll but fail to cast it?
How would you translate "more" for use as an interface button?
How to test the sharpness of a knife?
Given this phrasing in the lease, when should I pay my rent?
Should I warn new/prospective PhD Student that supervisor is terrible?
Would this string work as string?
Why is the Sun approximated as a black body at ~ 5800 K?
Language involving irrational number is not a CFL
Typing CO_2 easily
How do I prevent inappropriate ads from appearing in my game?
How to reduce predictors the right way for a logistic regression model
If Captain Marvel (MCU) were to have a child with a human male, would the child be human or Kree?
Anime with legendary swords made from talismans and a man who could change them with a shattered body
How do I tell my boss that I'm quitting in 15 days (a colleague left this week)
Is there a RAID 0 Equivalent for RAM?
Limit max CPU usage SQL SERVER with WSRM
How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?
How do I Interface a PS/2 Keyboard without Modern Techniques?
If the only attacker is removed from combat, is a creature still counted as having attacked this turn?
Why is participating in the European Parliamentary elections used as a threat?
Does Doodling or Improvising on the Piano Have Any Benefits?
Usage of an old photo with expired copyright
Ubuntu 16.04 KVM + QXL Guest - Can't change resolution
Reinstall package and its installed dependenciesKVM guest disk performanceUbuntu KVM Guest DNS problemsWhy can't I see a QXL device in my windows 10 kvm guestCreate a 16.04 KVM guest on 14.04Ubuntu 16.04 External monitor slow to turn on after suspendWhy does xrandr give me errors if I try and use commands on my computer, but not if I ssh into it?Installing Ubuntu 16.04 on MSI GE72MVR, system freezes when I restartEnabling multiple screens on KVM/spice Ubuntu guestKVM guest poor graphic performancesCan't start KVM guest
Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.
After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.
spice-vdagent and the xorg QXL driver are installed on the guest.
(edit: added additional info)
This allowed me to change the resolution, but is not persistent across reboots:
xrandr -s 1680x1050
16.04 kvm spice
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.
After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.
spice-vdagent and the xorg QXL driver are installed on the guest.
(edit: added additional info)
This allowed me to change the resolution, but is not persistent across reboots:
xrandr -s 1680x1050
16.04 kvm spice
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.
After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.
spice-vdagent and the xorg QXL driver are installed on the guest.
(edit: added additional info)
This allowed me to change the resolution, but is not persistent across reboots:
xrandr -s 1680x1050
16.04 kvm spice
Using Spice + QXL for a 16.04 guest running on a 16.04 KVM hypervisor. This was working normally until recently.
After the last reboot of the guest, resolution was set to 1024x768. When I try setting it back to 1680x1050 (or any resolution), the session freezes until the timeout reverts back to the previous resolution.
spice-vdagent and the xorg QXL driver are installed on the guest.
(edit: added additional info)
This allowed me to change the resolution, but is not persistent across reboots:
xrandr -s 1680x1050
16.04 kvm spice
16.04 kvm spice
edited Jan 18 '18 at 15:30
lrussell123
asked Jan 10 '18 at 19:03
lrussell123lrussell123
43211
43211
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.
1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)
2) Updated ~/.config/monitors.xml with:
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>unknown</vendor>
<product>unknown</product>
<serial>unknown</serial>
<width>1440</width>
<height>900</height>
<rate>59.990913391113281</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1440</width>
<height>900</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
</monitors>
3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"
4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:
sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y
Hope this helps!
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
add a comment |
The problem is in a new HWE kernel in ubuntu 16.04 (4.13).
As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.
sudo apt-get install linux-generic-lts-xenial
sudo apt-get purge linux-image-4.13*
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f994449%2fubuntu-16-04-kvm-qxl-guest-cant-change-resolution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.
1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)
2) Updated ~/.config/monitors.xml with:
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>unknown</vendor>
<product>unknown</product>
<serial>unknown</serial>
<width>1440</width>
<height>900</height>
<rate>59.990913391113281</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1440</width>
<height>900</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
</monitors>
3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"
4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:
sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y
Hope this helps!
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
add a comment |
I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.
1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)
2) Updated ~/.config/monitors.xml with:
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>unknown</vendor>
<product>unknown</product>
<serial>unknown</serial>
<width>1440</width>
<height>900</height>
<rate>59.990913391113281</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1440</width>
<height>900</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
</monitors>
3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"
4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:
sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y
Hope this helps!
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
add a comment |
I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.
1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)
2) Updated ~/.config/monitors.xml with:
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>unknown</vendor>
<product>unknown</product>
<serial>unknown</serial>
<width>1440</width>
<height>900</height>
<rate>59.990913391113281</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1440</width>
<height>900</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
</monitors>
3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"
4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:
sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y
Hope this helps!
I had this same issue, but I tried so many things that I am not sure what made the difference. Going in reverse of what I did to get a working solution.
1) In the KVM host, I changed the Video from "QXL" --> "VGA" (worked after this)
2) Updated ~/.config/monitors.xml with:
<monitors version="1">
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>unknown</vendor>
<product>unknown</product>
<serial>unknown</serial>
<width>1440</width>
<height>900</height>
<rate>59.990913391113281</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
<configuration>
<clone>no</clone>
<output name="Virtual-0">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1440</width>
<height>900</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
<primary>yes</primary>
<presentation>no</presentation>
<underscanning>no</underscanning>
</output>
</configuration>
</monitors>
3) Updated /etc/default/grub adding: "GRUB_GFXMODE=1440x900" and then running "sudo update-grub"
4) Using advice from this post ( Reinstall package and its installed dependencies) to reinstall Gnome:
sudo apt-cache depends gnome | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs sudo apt-get --reinstall install -y
Hope this helps!
answered Jan 17 '18 at 17:19
deesodeeso
1
1
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
add a comment |
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
Thanks for the info, but moving to VGA you lose many of the advantages of QXL. The goal here is to figure out how to get QXL + Spice working correctly again.
– lrussell123
Jan 18 '18 at 14:51
add a comment |
The problem is in a new HWE kernel in ubuntu 16.04 (4.13).
As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.
sudo apt-get install linux-generic-lts-xenial
sudo apt-get purge linux-image-4.13*
add a comment |
The problem is in a new HWE kernel in ubuntu 16.04 (4.13).
As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.
sudo apt-get install linux-generic-lts-xenial
sudo apt-get purge linux-image-4.13*
add a comment |
The problem is in a new HWE kernel in ubuntu 16.04 (4.13).
As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.
sudo apt-get install linux-generic-lts-xenial
sudo apt-get purge linux-image-4.13*
The problem is in a new HWE kernel in ubuntu 16.04 (4.13).
As a workaround you can use the kernel from LTS branch (4.4), it doesn't have this problem with resolution switch on QXL and spice, and seems to work good with another QEMU virtual hardware.
sudo apt-get install linux-generic-lts-xenial
sudo apt-get purge linux-image-4.13*
answered Mar 3 '18 at 3:49
An AnAn An
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f994449%2fubuntu-16-04-kvm-qxl-guest-cant-change-resolution%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown