0
Salvador Liébana

research Cant get Mesa working inside the chroot if I am just an user

Recommended Posts

Hi, I am testing mesa panfrost on RK3399 and I am facing an odd problem. When joint the chroot as root I get mesa working but if I join as pi, the user, I cant get it working and I've receive just a soft render (llvmpipe)

How this could be fixed?? any experience??

Share this post


Link to post
Share on other sites
6 hours ago, Salvador Liébana said:

Hi, I am testing mesa panfrost on RK3399 and I am facing an odd problem. When joint the chroot as root I get mesa working but if I join as pi, the user, I cant get it working and I've receive just a soft render (llvmpipe)

How this could be fixed?? any experience??

 

You probably need to add permissions to (at least) `/dev/fb0 /dev/dri/card* /dev/dri/render*` if you start X while not root. This works on the Orange Pi 3 (Allwinner H6), it may be slightly different on other hardware.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0