Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14946] New: Missing dependencies for virgl xorg configuration
Date: Sat, 06 Aug 2022 13:57:04 +0000	[thread overview]
Message-ID: <bug-14946-163@https.bugs.busybox.net/> (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: 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

             reply	other threads:[~2022-08-06 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-06 13:57 bugzilla [this message]
2024-06-15 15:03 ` [Buildroot] [Bug 14946] Missing dependencies for virgl xorg configuration bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14946-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox