Skip to contentSkip to conversation

-vga qxl

Qemu-devel Rick Vernam 3 participants 8 messages Aug 4, 2011 – Aug 5, 2011

lore
Share & tools
lore
#0 lore raw

it seems that qxl is not working correctly with any of the 0.15 releases thus far. this includes qemu and qemu-kvm.

when I start qemu like so:
qemu-system-x86_64 -cpu host -enable-kvm -m 768 -usb -vga qxl -monitor stdio I get a black screen.

when I start with -vga std:
qemu-system-x86_64 -cpu host -enable-kvm -m 768 -usb -vga std -monitor stdio I see the seabios screen, etc.

qemu has been configured like
./configure --target-list=x86_64-softmmu --disable-curses --disable-curl -- audio-drv-list=alsa --audio-card-list=sb16,ac97,hda --disable-bluez --enable- vhost-net --enable-spice

I've also configured with --disable-vnc and --disable-opengl with the same results

Am I using this wrong, or is this a bug?

#1 lore raw
Quoted 6 lines · Rick Vernam

it seems that qxl is not working correctly with any of the 0.15 releases thus far. this includes qemu and qemu-kvm.

when I start qemu like so:
qemu-system-x86_64 -cpu host -enable-kvm -m 768 -usb -vga qxl -monitor stdio I get a black screen.

I recently had black screen problems with QXL in 0.14.x that turned out to actually be a Seabios bug due to the default 64MB vram QXL has. I suspect this would hit 0.15.x builds too. If this is what you're hitting, then reducing the vram to 32MB is a temporary workaround that should help, eg

-vga qxl -global qxl-vga.vram_size=33554432

Quoted 9 lines

when I start with -vga std:
qemu-system-x86_64 -cpu host -enable-kvm -m 768 -usb -vga std -monitor stdio I see the seabios screen, etc.

qemu has been configured like
./configure --target-list=x86_64-softmmu --disable-curses --disable-curl -- audio-drv-list=alsa --audio-card-list=sb16,ac97,hda --disable-bluez --enable- vhost-net --enable-spice

Quoted 4 lines

I've also configured with --disable-vnc and --disable-opengl with the same results

Am I using this wrong, or is this a bug?

Regards,
Daniel

Signature · 4 lines
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
#2 lore raw
Quoted 8 lines · On Thursday 04 August 2011 11:09:30 Daniel P. Berrange wrote:
Quoted 6 lines · Rick Vernam

it seems that qxl is not working correctly with any of the 0.15 releases thus far. this includes qemu and qemu-kvm.

when I start qemu like so:
qemu-system-x86_64 -cpu host -enable-kvm -m 768 -usb -vga qxl -monitor stdio I get a black screen.

Quoted 6 lines

I recently had black screen problems with QXL in 0.14.x that turned out to actually be a Seabios bug due to the default 64MB vram QXL has. I suspect this would hit 0.15.x builds too. If this is what you're hitting, then reducing the vram to 32MB is a temporary workaround that should help, eg

   -vga qxl -global qxl-vga.vram_size=33554432

That took care of the black screen. Thanks.

Quoted 17 lines
Quoted 10 lines

when I start with -vga std:
qemu-system-x86_64 -cpu host -enable-kvm -m 768 -usb -vga std -monitor stdio I see the seabios screen, etc.

qemu has been configured like
./configure --target-list=x86_64-softmmu --disable-curses --disable-curl -- audio-drv-list=alsa --audio-card-list=sb16,ac97,hda --disable-bluez --enable- vhost-net --enable-spice

Quoted 4 lines

I've also configured with --disable-vnc and --disable-opengl with the same results

Am I using this wrong, or is this a bug?

Regards,
Daniel

#3 lore raw
In reply to Daniel P. Berrange

Hi,

Quoted 2 lines

I recently had black screen problems with QXL in 0.14.x that turned out to actually be a Seabios bug due to the default 64MB vram QXL has.

It is a seabios issue indeed.

Quoted 5 lines

I suspect
this would hit 0.15.x builds too. If this is what you're hitting, then reducing the vram to 32MB is a temporary workaround that should help, eg

    -vga qxl -global qxl-vga.vram_size=33554432

There is a fixed seabios binary @ http://spice-space.org/download/seabios/

Patches are all upstream, so just fetching the latest seabios bits (git master branch) and building yourself will work too.

cheers,
Gerd

#4 lore raw
Quoted 7 lines · On Thursday 04 August 2011 13:15:35 Gerd Hoffmann wrote:
   Hi,
Quoted 2 lines

I recently had black screen problems with QXL in 0.14.x that turned out to actually be a Seabios bug due to the default 64MB vram QXL has.

It is a seabios issue indeed.

Quoted 7 lines
Quoted 5 lines

I suspect
this would hit 0.15.x builds too. If this is what you're hitting, then reducing the vram to 32MB is a temporary workaround that should help, eg

    -vga qxl -global qxl-vga.vram_size=33554432

There is a fixed seabios binary @ http://spice-space.org/download/seabios/

Yep, I put that bios in and removed -global qxl-vga.vram_size=33554432 from the comand line, and it worked just fine.

Thanks.

Quoted 6 lines

Patches are all upstream, so just fetching the latest seabios bits (git master branch) and building yourself will work too.

cheers,
Gerd

#5 lore raw
In reply to Gerd Hoffmann
Quoted 11 lines · Gerd Hoffmann

Hi,

Quoted 2 lines

I recently had black screen problems with QXL in 0.14.x that turned out to actually be a Seabios bug due to the default 64MB vram QXL has.

It is a seabios issue indeed.

Quoted 4 lines

I suspect
this would hit 0.15.x builds too. If this is what you're hitting, then reducing the vram to 32MB is a temporary workaround that should help, eg

Quoted 6 lines
Quoted 1 line
   -vga qxl -global qxl-vga.vram_size=33554432

There is a fixed seabios binary @ http://spice-space.org/download/seabios/

Patches are all upstream, so just fetching the latest seabios bits (git master branch) and building yourself will work too.

Great, is there an intention to rebase Seabios in QEMU to pull this in before the release of 0.15 ?

Regards,
Daniel

Signature · 4 lines
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
#6 lore raw

Hi,

Quoted 5 lines
Quoted 2 lines

Patches are all upstream, so just fetching the latest seabios bits (git master branch) and building yourself will work too.

Great, is there an intention to rebase Seabios in QEMU to pull this in before the release of 0.15 ?

Anthony doesn't want change the bios that shortly before cutting a release. So my backup plan is to get that into master, then 0.15.1

cheers,
Gerd

#7 lore raw
Quoted 10 lines · Gerd Hoffmann

Hi,

Quoted 5 lines
Quoted 2 lines

Patches are all upstream, so just fetching the latest seabios bits (git master branch) and building yourself will work too.

Great, is there an intention to rebase Seabios in QEMU to pull this in before the release of 0.15 ?

Anthony doesn't want change the bios that shortly before cutting a release. So my backup plan is to get that into master, then 0.15.1

Ok, I guess Fedora users can get the fix anyway, since we build seabios from standalone source that we can trivially patch.

Regards,
Daniel

Signature · 4 lines
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|