QEMU cannot launch the latest Pop!_OS image

I’m using the virt-manager to install Pop!_OS on a virtual machine from the latest ISO image (…38.iso) with QEMU for testing:

GRUB starts okay, running the tests. Then the QEMU window turns completely black and nothing changes for hours. This didn’t happen with the previous …36.iso of the image.

Any help is highly appreciated. Thank you!

note that, this issue has been around since …37.iso

humuhumu,

worth noting that I updated all my virtual machines created with 36.iso to the latest kernels, etc, and they function without any problems…

I can’t get the fresh installs using 37.iso and 38.iso to function (always blank screen)

Quackdoc,
@Quackdoc@lemmy.world avatar

can you send your virt manager xml?

humuhumu, (edited )

xml (default)

::: spoiler spoiler


<span style="color:#323232;"><domain type='kvm'>
</span><span style="color:#323232;">  <name>ubuntu22.04</name>
</span><span style="color:#323232;">  <uuid>6d73c780-19db-4d42-8fc7-e7d1d0a715f5</uuid>
</span><span style="color:#323232;">  <metadata>
</span><span style="color:#323232;">    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
</span><span style="color:#323232;">      <libosinfo:os id="http://ubuntu.com/ubuntu/22.04"/>
</span><span style="color:#323232;">    </libosinfo:libosinfo>
</span><span style="color:#323232;">  </metadata>
</span><span style="color:#323232;">  <memory unit='KiB'>6291456</memory>
</span><span style="color:#323232;">  <currentMemory unit='KiB'>6291456</currentMemory>
</span><span style="color:#323232;">  <vcpu placement='static'>4</vcpu>
</span><span style="color:#323232;">  <os>
</span><span style="color:#323232;">    <type arch='x86_64' machine='pc-q35-6.2'>hvm</type>
</span><span style="color:#323232;">  </os>
</span><span style="color:#323232;">  <features>
</span><span style="color:#323232;">    <acpi/>
</span><span style="color:#323232;">    <apic/>
</span><span style="color:#323232;">    <vmport state='off'/>
</span><span style="color:#323232;">  </features>
</span><span style="color:#323232;">  <cpu mode='host-passthrough' check='none' migratable='on'/>
</span><span style="color:#323232;">  <clock offset='utc'>
</span><span style="color:#323232;">    <timer name='rtc' tickpolicy='catchup'/>
</span><span style="color:#323232;">    <timer name='pit' tickpolicy='delay'/>
</span><span style="color:#323232;">    <timer name='hpet' present='no'/>
</span><span style="color:#323232;">  </clock>
</span><span style="color:#323232;">  <on_poweroff>destroy</on_poweroff>
</span><span style="color:#323232;">  <on_reboot>restart</on_reboot>
</span><span style="color:#323232;">  <on_crash>destroy</on_crash>
</span><span style="color:#323232;">  <pm>
</span><span style="color:#323232;">    <suspend-to-mem enabled='no'/>
</span><span style="color:#323232;">    <suspend-to-disk enabled='no'/>
</span><span style="color:#323232;">  </pm>
</span><span style="color:#323232;">  <devices>
</span><span style="color:#323232;">    <emulator>/usr/bin/qemu-system-x86_64</emulator>
</span><span style="color:#323232;">    <disk type='file' device='disk'>
</span><span style="color:#323232;">      <driver name='qemu' type='qcow2' discard='unmap'/>
</span><span style="color:#323232;">      <source file='/home/pop/virt/pop.qcow2'/>
</span><span style="color:#323232;">      <target dev='vda' bus='virtio'/>
</span><span style="color:#323232;">      <boot order="1"/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</span><span style="color:#323232;">    </disk>
</span><span style="color:#323232;">    <controller type='usb' index='0' model='qemu-xhci' ports='15'>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='0' model='pcie-root'/>
</span><span style="color:#323232;">    <controller type='pci' index='1' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='1' port='0x10'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='2' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='2' port='0x11'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='3' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='3' port='0x12'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='4' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='4' port='0x13'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='5' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='5' port='0x14'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='6' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='6' port='0x15'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='7' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='7' port='0x16'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='8' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='8' port='0x17'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='9' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='9' port='0x18'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='10' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='10' port='0x19'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='11' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='11' port='0x1a'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='12' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='12' port='0x1b'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='13' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='13' port='0x1c'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='pci' index='14' model='pcie-root-port'>
</span><span style="color:#323232;">      <model name='pcie-root-port'/>
</span><span style="color:#323232;">      <target chassis='14' port='0x1d'/>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='sata' index='0'>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <controller type='virtio-serial' index='0'>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</span><span style="color:#323232;">    </controller>
</span><span style="color:#323232;">    <serial type='pty'>
</span><span style="color:#323232;">      <target type='isa-serial' port='0'>
</span><span style="color:#323232;">        <model name='isa-serial'/>
</span><span style="color:#323232;">      </target>
</span><span style="color:#323232;">    </serial>
</span><span style="color:#323232;">    <console type='pty'>
</span><span style="color:#323232;">      <target type='serial' port='0'/>
</span><span style="color:#323232;">    </console>
</span><span style="color:#323232;">    <channel type='unix'>
</span><span style="color:#323232;">      <target type='virtio' name='org.qemu.guest_agent.0'/>
</span><span style="color:#323232;">      <address type='virtio-serial' controller='0' bus='0' port='1'/>
</span><span style="color:#323232;">    </channel>
</span><span style="color:#323232;">    <channel type='spicevmc'>
</span><span style="color:#323232;">      <target type='virtio' name='com.redhat.spice.0'/>
</span><span style="color:#323232;">      <address type='virtio-serial' controller='0' bus='0' port='2'/>
</span><span style="color:#323232;">    </channel>
</span><span style="color:#323232;">    <input type='tablet' bus='usb'>
</span><span style="color:#323232;">      <address type='usb' bus='0' port='1'/>
</span><span style="color:#323232;">    </input>
</span><span style="color:#323232;">    <input type='mouse' bus='ps2'/>
</span><span style="color:#323232;">    <input type='keyboard' bus='ps2'/>
</span><span style="color:#323232;">    <graphics type='spice'>
</span><span style="color:#323232;">      <listen type='none'/>
</span><span style="color:#323232;">      <image compression='off'/>
</span><span style="color:#323232;">    </graphics>
</span><span style="color:#323232;">    <sound model='ich9'>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
</span><span style="color:#323232;">    </sound>
</span><span style="color:#323232;">    <audio id='1' type='spice'/>
</span><span style="color:#323232;">    <video>
</span><span style="color:#323232;">      <model type='virtio' heads='1' primary='yes'>
</span><span style="color:#323232;">        <acceleration accel3d='no'/>
</span><span style="color:#323232;">      </model>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</span><span style="color:#323232;">    </video>
</span><span style="color:#323232;">    <redirdev bus='usb' type='spicevmc'>
</span><span style="color:#323232;">      <address type='usb' bus='0' port='2'/>
</span><span style="color:#323232;">    </redirdev>
</span><span style="color:#323232;">    <redirdev bus='usb' type='spicevmc'>
</span><span style="color:#323232;">      <address type='usb' bus='0' port='3'/>
</span><span style="color:#323232;">    </redirdev>
</span><span style="color:#323232;">    <memballoon model='virtio'>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</span><span style="color:#323232;">    </memballoon>
</span><span style="color:#323232;">    <rng model='virtio'>
</span><span style="color:#323232;">      <backend model='random'>/dev/urandom</backend>
</span><span style="color:#323232;">      <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</span><span style="color:#323232;">    </rng>
</span><span style="color:#323232;">  </devices>
</span><span style="color:#323232;"></domain>
</span>

::: spoiler spoiler

humuhumu, (edited )

and I tried adding 3d acceleration and opengl

spoiler<domain type=‘kvm’> <name>ubuntu22.04</name> <uuid>6d73c780-19db-4d42-8fc7-e7d1d0a715f5</uuid> <metadata> <libosinfo:libosinfo xmlns:libosinfo=“http://libosinfo.org/xmlns/libvirt/domain/1.0”> <libosinfo:os id=“http://ubuntu.com/ubuntu/22.04”/> </libosinfo:libosinfo> </metadata> <memory unit=‘KiB’>6291456</memory> <currentMemory unit=‘KiB’>6291456</currentMemory> <vcpu placement=‘static’>4</vcpu> <os> <type arch=‘x86_64’ machine=‘pc-q35-6.2’>hvm</type> </os> <features> <acpi/> <apic/> <vmport state=‘off’/> </features> <cpu mode=‘host-passthrough’ check=‘none’ migratable=‘on’/> <clock offset=‘utc’> <timer name=‘rtc’ tickpolicy=‘catchup’/> <timer name=‘pit’ tickpolicy=‘delay’/> <timer name=‘hpet’ present=‘no’/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <pm> <suspend-to-mem enabled=‘no’/> <suspend-to-disk enabled=‘no’/> </pm> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type=‘file’ device=‘disk’> <driver name=‘qemu’ type=‘qcow2’ discard=‘unmap’/> <source file=‘/home/pop/virt/pop.qcow2’/> <target dev=‘vda’ bus=‘virtio’/> <boot order=“1”/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x04’ slot=‘0x00’ function=‘0x0’/> </disk> <controller type=‘usb’ index=‘0’ model=‘qemu-xhci’ ports=‘15’> <address type=‘pci’ domain=‘0x0000’ bus=‘0x02’ slot=‘0x00’ function=‘0x0’/> </controller> <controller type=‘pci’ index=‘0’ model=‘pcie-root’/> <controller type=‘pci’ index=‘1’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘1’ port=‘0x10’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x0’ multifunction=‘on’/> </controller> <controller type=‘pci’ index=‘2’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘2’ port=‘0x11’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x1’/> </controller> <controller type=‘pci’ index=‘3’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘3’ port=‘0x12’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x2’/> </controller> <controller type=‘pci’ index=‘4’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘4’ port=‘0x13’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x3’/> </controller> <controller type=‘pci’ index=‘5’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘5’ port=‘0x14’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x4’/> </controller> <controller type=‘pci’ index=‘6’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘6’ port=‘0x15’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x5’/> </controller> <controller type=‘pci’ index=‘7’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘7’ port=‘0x16’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x6’/> </controller> <controller type=‘pci’ index=‘8’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘8’ port=‘0x17’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x02’ function=‘0x7’/> </controller> <controller type=‘pci’ index=‘9’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘9’ port=‘0x18’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x0’ multifunction=‘on’/> </controller> <controller type=‘pci’ index=‘10’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘10’ port=‘0x19’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x1’/> </controller> <controller type=‘pci’ index=‘11’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘11’ port=‘0x1a’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x2’/> </controller> <controller type=‘pci’ index=‘12’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘12’ port=‘0x1b’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x3’/> </controller> <controller type=‘pci’ index=‘13’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘13’ port=‘0x1c’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x4’/> </controller> <controller type=‘pci’ index=‘14’ model=‘pcie-root-port’> <model name=‘pcie-root-port’/> <target chassis=‘14’ port=‘0x1d’/> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x03’ function=‘0x5’/> </controller> <controller type=‘sata’ index=‘0’> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x1f’ function=‘0x2’/> </controller> <controller type=‘virtio-serial’ index=‘0’> <address type=‘pci’ domain=‘0x0000’ bus=‘0x02’ slot=‘0x00’ function=‘0x0’/> </controller> <serial type=‘pty’> <target type=‘isa-serial’ port=‘0’> <model name=‘isa-serial’/> </target> </serial> <console type=‘pty’> <target type=‘serial’ port=‘0’/> </console> <channel type=‘unix’> <target type=‘virtio’ name=‘org.qemu.guest_agent.0’/> <address type=‘virtio-serial’ controller=‘0’ bus=‘0’ port=‘1’/> </channel> <channel type=‘spicevmc’> <target type=‘virtio’ name=‘com.redhat.spice.0’/> <address type=‘virtio-serial’ controller=‘0’ bus=‘0’ port=‘2’/> </channel> <input type=‘tablet’ bus=‘usb’> <address type=‘usb’ bus=‘0’ port=‘1’/> </input> <input type=‘mouse’ bus=‘ps2’/> <input type=‘keyboard’ bus=‘ps2’/> <graphics type=‘spice’> <listen type=‘none’/> <image compression=‘off’/> <gl enable=‘yes’/> </graphics> <sound model=‘ich9’> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x1b’ function=‘0x0’/> </sound> <audio id=‘1’ type=‘spice’/> <video> <model type=‘virtio’ heads=‘1’ primary=‘yes’> <acceleration accel3d=‘yes’/> </model> <address type=‘pci’ domain=‘0x0000’ bus=‘0x00’ slot=‘0x01’ function=‘0x0’/> </video> <redirdev bus=‘usb’ type=‘spicevmc’> <address type=‘usb’ bus=‘0’ port=‘2’/> </redirdev> <redirdev bus=‘usb’ type=‘spicevmc’> <address type=‘usb’ bus=‘0’ port=‘3’/> </redirdev> <memballoon model=‘virtio’> <address type=‘pci’ domain=‘0x0000’ bus=‘0x05’ slot=‘0x00’ function=‘0x0’/> </memballoon> <rng model=‘virtio’> <backend model=‘random’>/dev/urandom</backend> <address type=‘pci’ domain=‘0x0000’ bus=‘0x05’ slot=‘0x00’ function=‘0x0’/> </rng> </devices> </domain>

Quackdoc,
@Quackdoc@lemmy.world avatar

this broke on my lemmy instance, can you upload to a pastebin or something? I only see a couple of characters

humuhumu,
Quackdoc,
@Quackdoc@lemmy.world avatar

can you try running ovmf? also try using IDE for boot, remeber to re-setup your boot order if you need to change that

humuhumu, (edited )

edit: after the recent update that upgraded qemu, it works much better


<span style="color:#323232;">upgraded were:
</span><span style="color:#323232;">
</span><span style="color:#323232;">qemu-* from *1:6.2+dfsg-2ubuntu6.17* to *1:7.0+dfsg-7ubuntu1*
</span>

edit2: tested with …38.iso, worked

edit3: …37.iso not work

Quackdoc,
@Quackdoc@lemmy.world avatar

good to hear

the_q,

Both NV and AMD/INTEL flavors do this?

humuhumu,

I have only tested the Intel (without NV)

the_q,

Do you have an Nvidia GPU?

humuhumu,

no i don’t have Nvidia gpu

  • All
  • Subscribed
  • Moderated
  • Favorites
  • pop_os@lemmy.world
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • thenastyranch
  • Youngstown
  • osvaldo12
  • slotface
  • khanakhh
  • kavyap
  • InstantRegret
  • Durango
  • JUstTest
  • everett
  • tacticalgear
  • modclub
  • anitta
  • cisconetworking
  • tester
  • ngwrru68w68
  • GTA5RPClips
  • normalnudes
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines