Skip to content

qemu: support graphic hw acceleration - #4

Merged
sukdo399 merged 1 commit into
webosce:masterfrom
sparkleholic:HW-ACCL
Sep 6, 2018
Merged

qemu: support graphic hw acceleration#4
sukdo399 merged 1 commit into
webosce:masterfrom
sparkleholic:HW-ACCL

Conversation

@sparkleholic

Copy link
Copy Markdown

: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

@sukdo399

sukdo399 commented Sep 4, 2018

Copy link
Copy Markdown

detailed explanations.
webosose#8 (comment)
No 1,2,3: explanations for modification.
No 4,5: How to run.

@sukdo399

sukdo399 commented Sep 4, 2018

Copy link
Copy Markdown

LGTM.

@chbae @flowergom
please review this commit.

@flowergom

Copy link
Copy Markdown

looks good to me!

: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>
@sukdo399

sukdo399 commented Sep 4, 2018

Copy link
Copy Markdown

It's under review about mesa build.
please do not merge yet.

@sukdo399

sukdo399 commented Sep 4, 2018

Copy link
Copy Markdown

it works well. we don't need prebuilt qemu anymore.

@chbae

chbae commented Sep 5, 2018

Copy link
Copy Markdown

LGTM

@sukdo399
sukdo399 merged commit fede02e into webosce:master Sep 6, 2018
@chbae

chbae commented Sep 7, 2018

Copy link
Copy Markdown

@sparkleholic I will remove this change in master branch and then merge this change to webosce branch.

pull Bot pushed a commit that referenced this pull request Aug 21, 2019
:Release Notes:
Fix surface-manager bugs including some crash cases.

:Detailed Notes:
luna-surfacemanager: submissions/4..submissions/5
a39801a Improve processSurfaceItem #5
8c7fbd5 Improve processSurfaceItem #4
8714e86 Null check of surface()->client()
2723402 base: Reorder event filter installation

qtwayland: submissions/4..submissions/5
b417786 Fix surface-manager crash when launching apps repeatedly
36d277d Activate window directly when needed #2
6336968 Revert "Fix deadlock when hiding and showing EGL windows"
8e8fd68 Activate window directly when needed

:Testing Performed:
See the CCC JIRA ticket.

:QA Notes:

:Issues Addressed:
[PLAT-76509] [OSE] CCC: luna-surfacemanager=5 qtwayland=5

Change-Id: I8ad16605a072ca0eb2756de01bf113bda15df0de
pull Bot pushed a commit that referenced this pull request Aug 21, 2019
:Release Notes:

:Detailed Notes:
http://caprica.lgsvl.com:8080/Errors/Details/1118148
Applying patch 0002-date-add-support-for-options-U-and-S.patch
patching file coreutils/date.c
Hunk #1 succeeded at 100 (offset 1 line).
Hunk #2 succeeded at 142 (offset 1 line).
Hunk #3 succeeded at 150 with fuzz 1 (offset 1 line).
Hunk #4 FAILED at 190.
Hunk #5 succeeded at 273 (offset 12 lines).
Hunk #6 succeeded at 303 (offset 12 lines).
Hunk #7 succeeded at 346 (offset 10 lines).
1 out of 7 hunks FAILED -- rejects in file coreutils/date.c
Patch 0002-date-add-support-for-options-U-and-S.patch does not apply (enforce with -f)

0003-libedit-check-for-null-before-passing-cmdedit_prompt.patch
is even more strange, probably isn't needed anymore for long time
but the patch when it was introduced in initial Open webOS release
didn't have any explanation what it is trying to fix and how to
reproduce it.

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[PLAT-78082] Upgrade to Yocto 2.6 Thud
[PLAT-78507] [OSE] CCC: Upgrade to Yocto 2.6 Thud

Change-Id: I37392578ee76fe57e25fc1fca88e9a7be69b7d8d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants