Re: Xorg crashes in KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/07/2021 16:19, Eyal Lebedinsky wrote:


On 11/07/2021 10.22, Ed Greshko wrote:
On 10/07/2021 19:09, Eyal Lebedinsky wrote:

On 10/07/2021 10.56, Ed Greshko wrote:
On 10/07/2021 08:44, Eyal Lebedinsky wrote:
Recently I started having Xorg crash while using firefox.
This is f34 in a libvirt kvm, host (also f34) uses internal i915 video.
Kernel is 5.12.14-300.fc34.x86_64 but saw this with earlier 5.12.12/13 kernels.

I've not seen any crashes on my VM.  Host is F34 and multiple guests, including F34 guests.

As a test, have you tried changing your guest video from QXL to Virtio?

Worth a try. I am now running with Virtio video. Audio sync is a bit out...

Interestingly: I tried to change back to QXL for comparo but LXD could not start,
X repeatedly terminated with
    [    43.747] resizing primary to 3840x2160
    [    43.747] primary is 0x5640e09faa30
    [    43.747] (EE) qxl(0): failed to set mode: Cannot allocate memory(EE)
I will deal with this later.


Is your host running low on memory?

I do not think so. I changed back to QXL and LXDM failed in a loop, at that point
I did this on the host:

$ free
               total        used        free      shared buff/cache   available
Mem:        32734592     3232096     7343812      246400 22158684    28782264
Swap:       16777212     1064704    15712508

The guest is configured with 8GB memory.

[later] I had a very vague memory that I needed to fiddle with the domain xml file.
I restored /etc/libvirt/qemu/e4.xml from backup and compared and sure it was different.

I used
    $ sudo virsh edit e4
and set the <video> stanza to say
    <model type='qxl' ram='131072' vram='131072' vgamem='32768' heads='1' primary='yes'/>
where it originally said
    <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
Now lxdm starts OK.

Audio sync still bad. Video barely keeps up. Probably similar to virtio mode.

I will run this way until I get an Xorg crash, then switch to virtio to see if it is better.


OK....   I forgot to ask.  This is F34 installed from what Live Image?

I don't use VM's with audio.  I don't know if it is my slow HW or what, but I never got it to work well with
pulseaudio and I've not even given pipewire a try with VM's.  I had the same disappointing issues using
VirtualBox as well.


--
Remind me to ignore comments which aren't germane to the thread.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux