Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523134 - sys-firmware/seabios: add USE=vgabios to install local vgabios code
Summary: sys-firmware/seabios: add USE=vgabios to install local vgabios code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-18 15:06 UTC by Brad Laue
Modified: 2015-02-15 08:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build script based on seabios.spec designed to build seavgabios (build.sh,296 bytes, text/plain)
2014-09-18 15:07 UTC, Brad Laue
Details
config.vga.cirrus (config.vga.cirrus,60 bytes, text/plain)
2014-09-18 15:07 UTC, Brad Laue
Details
config.vga.isavga (config.vga.isavga,59 bytes, text/plain)
2014-09-18 15:07 UTC, Brad Laue
Details
config.vga.qxl (config.vga.qxl,128 bytes, text/plain)
2014-09-18 15:08 UTC, Brad Laue
Details
config.vga.stdvga (config.vga.stdvga,59 bytes, text/plain)
2014-09-18 15:08 UTC, Brad Laue
Details
config.vga.vmware (config.vga.vmware,128 bytes, text/plain)
2014-09-18 15:08 UTC, Brad Laue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Laue 2014-09-18 15:06:05 UTC
I note qemu maintains a dependency on vgabios 0.7a, which is closing on 3 years old and has a number of unfixed bugs. 

Red Hat are building the vgabios-*.bin from seabios, which is an active project, and I think it would make sense to do the same. One current issue with vgabios is that a Windows 8 guest is locked to 1024x768 resolution.

I've tested qemu myself in conjunction with seabios both on a Fedora 20 system with their stock packages, and a custom build of seabios based on their RPM spec (brief and inelegant build script and supporting files attached). The result is functional under all guest operating systems I've thrown at it so far.

Reproducible: Always
Comment 1 Brad Laue 2014-09-18 15:07:01 UTC
Created attachment 385034 [details]
Build script based on seabios.spec designed to build seavgabios
Comment 2 Brad Laue 2014-09-18 15:07:29 UTC
Created attachment 385036 [details]
config.vga.cirrus
Comment 3 Brad Laue 2014-09-18 15:07:47 UTC
Created attachment 385038 [details]
config.vga.isavga
Comment 4 Brad Laue 2014-09-18 15:08:07 UTC
Created attachment 385040 [details]
config.vga.qxl
Comment 5 Brad Laue 2014-09-18 15:08:37 UTC
Created attachment 385042 [details]
config.vga.stdvga
Comment 6 Brad Laue 2014-09-18 15:08:55 UTC
Created attachment 385044 [details]
config.vga.vmware
Comment 7 Brad Laue 2014-09-18 15:09:56 UTC
Additional note, the result is a single file. In my testing I placed it in /usr/share/seavgabios and created new symlinks to /usr/share/qemu/vgabios-*.bin.
Comment 8 SpanKY gentoo-dev 2014-09-18 22:15:35 UTC
there is no such sys-firmware/seavgabios package, so can't really have qemu use it until there is

qemu itself still ships vgabios, albeit version 0.6c.  the ebuilds probably should be pinning to that, but i guess it doesn't really matter that much if people across distros are falling out of sync.

rather than create a dedicated package though, we could add USE=vgabios to the seabios package itself.  would simplify version bumping, and we already require seabios anyways ...
Comment 9 Brad Laue 2014-09-18 22:53:08 UTC
The bug was retitled somewhat in error - agreed on the USE flag, though the vgabios package appears abandoned so building it by default may be a better option...
Comment 10 SpanKY gentoo-dev 2014-09-19 16:00:03 UTC
(In reply to Brad Laue from comment #9)

unless the upstream vgabios package is officially abandoned and seabios becomes the official provider, i don't think switching vgabios over to the seabios codebase makes sense.  the seabios source tree also lacks a lot of the docs/build/etc... files that vgabios itself contains, so it's not a good upstream itself.