[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: Re: [OE-core] [PATCH] runqemu: Change virtio-vga to virtio-gpu.
From: "Alexander Kanavin" <alex.kanavin () gmail ! com>
Date: 2020-10-31 12:27:14
Message-ID: CANNYZj_7KWx7h=LGJd_zwN3gNEcRY1_i4cOriciQBxCns5mvKA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I think you first need to set up a build directory to use sstate-cache in
some common location, then build-st will pick it up, and you can then
easily delete it without destroying the cache.
Alex
On Fri, 30 Oct 2020 at 13:38, Vasyl Vavrychuk <vvavrychuk@gmail.com> wrote:
> Hi, Alexander,
>
> I am trying to run oe-selftest.
>
> I have one question. Is there a way to run oe-selftest incrementally?
>
> Because for now, if I run oe-selftest second time I get
>
> oe-selftest - ERROR - Build directory ... already exists, aborting
>
> Then, I should remove build-st, and only after that oe-selftest can
> run second time. But it take a lot of time.
>
> Could you please help me?
>
> Thanks,
> Vasyl
>
> On Sun, Aug 30, 2020 at 11:44 PM Alexander Kanavin
> <alex.kanavin@gmail.com> wrote:
> >
> > Do the virgl selftests still pass with this change? Please run
> >
> > oe-selftest -r runtime_test.TestImage.test_testimage_virgl_gtk_sdl
> >
> > and
> >
> > oe-selftest -r runtime_test.TestImage.test_testimage_virgl_headless
> >
> > Alex
> >
> >
> > On Sun, 30 Aug 2020 at 22:15, Vasyl Vavrychuk <vvavrychuk@gmail.com>
> wrote:
> >>
> >> virtio-vga is available in QEMU only for hppa, i386, and ppc
> >> architectures. On the other hand, virtio-gpu is available for all
> >> architectures.
> >>
> >> Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
> >> ---
> >> scripts/runqemu | 10 +++++-----
> >> 1 file changed, 5 insertions(+), 5 deletions(-)
> >>
> >> diff --git a/scripts/runqemu b/scripts/runqemu
> >> index 7fb5f7db57..5d6b35ffe4 100755
> >> --- a/scripts/runqemu
> >> +++ b/scripts/runqemu
> >> @@ -461,19 +461,19 @@ class BaseConfig(object):
> >> elif arg == 'sdl':
> >> if 'gl' in sys.argv[1:]:
> >> self.set_dri_path()
> >> - self.qemu_opt_script += ' -vga virtio -display
> sdl,gl=on,show-cursor=on'
> >> + self.qemu_opt_script += ' -device virtio-gpu
> -display sdl,gl=on,show-cursor=on'
> >> elif 'gl-es' in sys.argv[1:]:
> >> self.set_dri_path()
> >> - self.qemu_opt_script += ' -vga virtio -display
> sdl,gl=es,show-cursor=on'
> >> + self.qemu_opt_script += ' -device virtio-gpu
> -display sdl,gl=es,show-cursor=on'
> >> else:
> >> self.qemu_opt_script += ' -display
> sdl,show-cursor=on'
> >> elif arg == 'gtk':
> >> if 'gl' in sys.argv[1:]:
> >> self.set_dri_path()
> >> - self.qemu_opt_script += ' -vga virtio -display
> gtk,gl=on,show-cursor=on'
> >> + self.qemu_opt_script += ' -device virtio-gpu
> -display gtk,gl=on,show-cursor=on'
> >> elif 'gl-es' in sys.argv[1:]:
> >> self.set_dri_path()
> >> - self.qemu_opt_script += ' -vga virtio -display
> gtk,gl=es,show-cursor=on'
> >> + self.qemu_opt_script += ' -device virtio-gpu
> -display gtk,gl=es,show-cursor=on'
> >> else:
> >> self.qemu_opt_script += ' -display
> gtk,show-cursor=on'
> >> elif arg == 'gl' or arg == 'gl-es':
> >> @@ -482,7 +482,7 @@ class BaseConfig(object):
> >> raise RunQemuError('Option %s also needs gtk or
> sdl option.' % (arg))
> >> elif arg == 'egl-headless':
> >> self.set_dri_path()
> >> - self.qemu_opt_script += ' -vga virtio -display
> egl-headless,show-cursor=on'
> >> + self.qemu_opt_script += ' -device virtio-gpu -display
> egl-headless,show-cursor=on'
> >> elif arg == 'serial':
> >> self.kernel_cmdline_script += ' console=ttyS0'
> >> self.serialconsole = True
> >> --
> >> 2.23.0
> >>
> >>
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>I think you first need to set up a build directory to use \
sstate-cache in some common location, then build-st will pick it up, and you can then \
easily delete it without destroying the \
cache.<br></div><div><br></div><div>Alex<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 30 Oct 2020 at 13:38, \
Vasyl Vavrychuk <<a \
href="mailto:vvavrychuk@gmail.com">vvavrychuk@gmail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Alexander,<br> \
<br> I am trying to run oe-selftest.<br>
<br>
I have one question. Is there a way to run oe-selftest incrementally?<br>
<br>
Because for now, if I run oe-selftest second time I get<br>
<br>
oe-selftest - ERROR - Build directory ... already exists, aborting<br>
<br>
Then, I should remove build-st, and only after that oe-selftest can<br>
run second time. But it take a lot of time.<br>
<br>
Could you please help me?<br>
<br>
Thanks,<br>
Vasyl<br>
<br>
On Sun, Aug 30, 2020 at 11:44 PM Alexander Kanavin<br>
<<a href="mailto:alex.kanavin@gmail.com" \
target="_blank">alex.kanavin@gmail.com</a>> wrote:<br> ><br>
> Do the virgl selftests still pass with this change? Please run<br>
><br>
> oe-selftest -r runtime_test.TestImage.test_testimage_virgl_gtk_sdl<br>
><br>
> and<br>
><br>
> oe-selftest -r runtime_test.TestImage.test_testimage_virgl_headless<br>
><br>
> Alex<br>
><br>
><br>
> On Sun, 30 Aug 2020 at 22:15, Vasyl Vavrychuk <<a \
href="mailto:vvavrychuk@gmail.com" target="_blank">vvavrychuk@gmail.com</a>> \
wrote:<br> >><br>
>> virtio-vga is available in QEMU only for hppa, i386, and ppc<br>
>> architectures. On the other hand, virtio-gpu is available for all<br>
>> architectures.<br>
>><br>
>> Signed-off-by: Vasyl Vavrychuk <<a href="mailto:vvavrychuk@gmail.com" \
target="_blank">vvavrychuk@gmail.com</a>><br> >> ---<br>
>> scripts/runqemu | 10 +++++-----<br>
>> 1 file changed, 5 insertions(+), 5 deletions(-)<br>
>><br>
>> diff --git a/scripts/runqemu b/scripts/runqemu<br>
>> index 7fb5f7db57..5d6b35ffe4 100755<br>
>> --- a/scripts/runqemu<br>
>> +++ b/scripts/runqemu<br>
>> @@ -461,19 +461,19 @@ class BaseConfig(object):<br>
>> elif arg == 'sdl':<br>
>> if 'gl' in sys.argv[1:]:<br>
>> self.set_dri_path()<br>
>> - self.qemu_opt_script += ' -vga virtio \
-display sdl,gl=on,show-cursor=on'<br> >> + \
self.qemu_opt_script += ' -device virtio-gpu -display \
sdl,gl=on,show-cursor=on'<br> >> elif \
'gl-es' in sys.argv[1:]:<br> >> \
self.set_dri_path()<br> >> - self.qemu_opt_script \
+= ' -vga virtio -display sdl,gl=es,show-cursor=on'<br> >> + \
self.qemu_opt_script += ' -device virtio-gpu -display \
sdl,gl=es,show-cursor=on'<br> >> else:<br>
>> self.qemu_opt_script += ' -display \
sdl,show-cursor=on'<br> >> elif arg == \
'gtk':<br> >> if 'gl' in \
sys.argv[1:]:<br> >> self.set_dri_path()<br>
>> - self.qemu_opt_script += ' -vga virtio \
-display gtk,gl=on,show-cursor=on'<br> >> + \
self.qemu_opt_script += ' -device virtio-gpu -display \
gtk,gl=on,show-cursor=on'<br> >> elif \
'gl-es' in sys.argv[1:]:<br> >> \
self.set_dri_path()<br> >> - self.qemu_opt_script \
+= ' -vga virtio -display gtk,gl=es,show-cursor=on'<br> >> + \
self.qemu_opt_script += ' -device virtio-gpu -display \
gtk,gl=es,show-cursor=on'<br> >> else:<br>
>> self.qemu_opt_script += ' -display \
gtk,show-cursor=on'<br> >> elif arg == 'gl' or \
arg == 'gl-es':<br> >> @@ -482,7 +482,7 @@ class \
BaseConfig(object):<br> >> raise \
RunQemuError('Option %s also needs gtk or sdl option.' % (arg))<br> >> \
elif arg == 'egl-headless':<br> >> \
self.set_dri_path()<br> >> - self.qemu_opt_script += \
' -vga virtio -display egl-headless,show-cursor=on'<br> >> + \
self.qemu_opt_script += ' -device virtio-gpu -display \
egl-headless,show-cursor=on'<br> >> elif arg == \
'serial':<br> >> self.kernel_cmdline_script \
+= ' console=ttyS0'<br> >> self.serialconsole \
= True<br> >> --<br>
>> 2.23.0<br>
>><br>
>> <br>
</blockquote></div>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144032): https://lists.openembedded.org/g/openembedded-core/message/144032
Mute This Topic: https://lists.openembedded.org/mt/76521246/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic