-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qemu: support graphic hw acceleration
:Release Notes: support "runqemu qemux86" to use hw acceleration options :Detailed Notes: Currently qemux86 generated from oe build fails launching with hw acceleration options (e.g. -vga virtio -display sdl,gl=on) on X11 WM linux host. - To support acceleration options, the following should be required. qemu should be compiled with "--enable-opengl". - libepoxy should be compiled with "-enable-x11" as well as "-enable-egl" (These options are not mutual exclusive.). :Testing Performed: Tested locally on Ubuntu 18.04. $ runqemu qemux86 kvm slirp :QA Notes: None :Issues Addressed: None Signed-off-by: Junil Kim <logyourself@gmail.com>
- Loading branch information
1 parent
3184251
commit ed1ba58
Showing
3 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# For runqemu | ||
IMAGE_CLASSES += "qemuboot" | ||
QB_SYSTEM_NAME_x86 = "qemu-system-i386" | ||
QB_CPU_x86 = "-cpu qemu32" | ||
QB_CPU_KVM_x86 = "-cpu kvm32" | ||
|
||
QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64" | ||
QB_CPU_x86-64 = "-cpu core2duo" | ||
QB_CPU_KVM_x86-64 = "-cpu kvm64" | ||
|
||
QB_AUDIO_DRV = "alsa" | ||
QB_AUDIO_OPT = "-soundhw ac97,es1370" | ||
QB_KERNEL_CMDLINE_APPEND = "vga=0 uvesafb.mode_option=1280x720-32 oprofile.timer=1 uvesafb.task_timeout=-1" | ||
# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy | ||
QB_OPT_APPEND = "-vga virtio -display sdl,gl=on -show-cursor -usb -usbdevice tablet -device virtio-rng-pci" | ||
QB_MEM = "-m 1024" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters