Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 14946] New: Missing dependencies for virgl xorg configuration
@ 2022-08-06 13:57 bugzilla
  2024-06-15 15:03 ` [Buildroot] [Bug 14946] " bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-08-06 13:57 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14946

            Bug ID: 14946
           Summary: Missing dependencies for virgl xorg configuration
           Product: buildroot
           Version: 2022.05.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: tobias.roehmel@rwth-aachen.de
                CC: buildroot@uclibc.org
  Target Milestone: ---

Hi all,

I was trying to run buildroot on AARCH64 softmmu Qemu with X-server and virgl
graphics acceleration and found out that it doesn't work without these 2
configurations: BR2_PIC_PIE (RELRO Protection=none) BR2_PACKAGE_LIBEPOXY.

My buildroot configuration is qemu_aarch64_virt_defconfig + the graphics stuff
as in the attachment.

If RELRO Protection is enabled, the X-server loads libraries in such an order
that virtio_gpu_dri.so (the virtio GPU driver) is not found.

If BR2_PACKAGE_LIBEPOXY is not enabled, xorg is built without glamor_gbm which
makes the dri2 initialization for the driver fail.

I'm not a graphics expert so I don't know if this is somehow intended. I think
it would be easier if these dependencies would be sorted out automatically.

The Qemu I used is upstream with the following configure:
configure --target-list=aarch64-softmmu --enable-debug --enable-opengl
--enable-virglrenderer --enable-gtk --enable-sdl
and the following command:
qemu-system-aarch64 -machine virt -cpu max -kernel Image -serial mon:stdio -m
size=4G -device virtio-gpu-gl-pci -display sdl,gl=on

Best regards,
Tobias

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-06-15 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-06 13:57 [Buildroot] [Bug 14946] New: Missing dependencies for virgl xorg configuration bugzilla
2024-06-15 15:03 ` [Buildroot] [Bug 14946] " bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox