All of lore.kernel.org
 help / color / mirror / Atom feed
* How to enable virgl in headless mode?
@ 2021-11-24  7:35 罗勇刚(Yonggang Luo)
  2021-11-24 11:05 ` Gerd Hoffmann
  0 siblings, 1 reply; 4+ messages in thread
From: 罗勇刚(Yonggang Luo) @ 2021-11-24  7:35 UTC (permalink / raw)
  To: qemu-level

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

Here is my command line
```
qemu-system-arm ^
 -monitor telnet:127.0.0.1:5318,server=on,wait=off,nodelay=on ^
 -serial telnet:127.0.0.1:5319,server=on,wait=on,nodelay=on ^
 -parallel none ^
 -cpu cortex-a15 -smp 4 -M virt -m 2G ^
 -kernel armhf-installed/vmlinuz ^
 -initrd armhf-installed/initrd.img ^
 -vnc :1,websocket=5701 ^
 -nographic ^
 -append "root=/dev/vda2 console=ttyAMA0" ^
 -device virtio-gpu-gl-device ^
 -device virtio-blk-device,drive=hd -drive
file=armhf-installed/debian_11.img,if=none,id=hd ^
 -device virtio-net-device,netdev=net0 -netdev
user,hostfwd=tcp::2222-:22,id=net0
```
-- 
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo

[-- Attachment #2: Type: text/html, Size: 975 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to enable virgl in headless mode?
  2021-11-24  7:35 How to enable virgl in headless mode? 罗勇刚(Yonggang Luo)
@ 2021-11-24 11:05 ` Gerd Hoffmann
  2021-12-01 18:50   ` 罗勇刚(Yonggang Luo)
  0 siblings, 1 reply; 4+ messages in thread
From: Gerd Hoffmann @ 2021-11-24 11:05 UTC (permalink / raw)
  To: 罗勇刚(Yonggang Luo); +Cc: qemu-level

qemu -display egl-headless

take care,
  Gerd



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to enable virgl in headless mode?
  2021-11-24 11:05 ` Gerd Hoffmann
@ 2021-12-01 18:50   ` 罗勇刚(Yonggang Luo)
  2021-12-02 10:03     ` Gerd Hoffmann
  0 siblings, 1 reply; 4+ messages in thread
From: 罗勇刚(Yonggang Luo) @ 2021-12-01 18:50 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-level

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

On Wed, Nov 24, 2021 at 7:06 PM Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> qemu -display egl-headless

Thanks a lot, I tried this, and it's forced me to provide  rendernode
option like this:
```
-display egl-headless,rendernode=/dev/dri/renderD128
```
My question is what I need to do to remove the need of rendernode, because
I wanna getting egl-headless to be usable on Windows.

>
> take care,
>   Gerd
>


--
         此致
礼
罗勇刚
Yours
    sincerely,
Yonggang Luo

[-- Attachment #2: Type: text/html, Size: 672 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to enable virgl in headless mode?
  2021-12-01 18:50   ` 罗勇刚(Yonggang Luo)
@ 2021-12-02 10:03     ` Gerd Hoffmann
  0 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2021-12-02 10:03 UTC (permalink / raw)
  To: 罗勇刚(Yonggang Luo); +Cc: qemu-level

On Thu, Dec 02, 2021 at 02:50:34AM +0800, 罗勇刚(Yonggang Luo) wrote:
> On Wed, Nov 24, 2021 at 7:06 PM Gerd Hoffmann <kraxel@redhat.com> wrote:
> >
> > qemu -display egl-headless
> 
> Thanks a lot, I tried this, and it's forced me to provide  rendernode
> option like this:
> ```
> -display egl-headless,rendernode=/dev/dri/renderD128
> ```
> My question is what I need to do to remove the need of rendernode, because
> I wanna getting egl-headless to be usable on Windows.

Well, ui/egl-*.c needs some platform code to initialize egl on windows.

take care,
  Gerd



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-12-02 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24  7:35 How to enable virgl in headless mode? 罗勇刚(Yonggang Luo)
2021-11-24 11:05 ` Gerd Hoffmann
2021-12-01 18:50   ` 罗勇刚(Yonggang Luo)
2021-12-02 10:03     ` Gerd Hoffmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.