Skip to contentSkip to conversation

New: Missing dependencies for virgl xorg configuration

Buildroot [email protected] 1 participant 2 messages Aug 6, 2022 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14946] Missing dependencies for virgl xorg configuration

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

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #1 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot