Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'v3d' Driver on 9.2! #32

Closed
sallyhaj opened this issue May 31, 2023 · 11 comments
Closed

'v3d' Driver on 9.2! #32

sallyhaj opened this issue May 31, 2023 · 11 comments
Labels
help wanted Extra attention is needed

Comments

@sallyhaj
Copy link

Hello there, I have tried "https://repo.almalinux.org/rpi/9/images/AlmaLinux-9-RaspberryPi-GNOME-latest.aarch64.raw.xz" on Raspberry Pi 4, first thing, I have updated to 9.2, then I have checked the GUI, it's very sluggish, I've checked the driver and it's showing that "llvmpipe", which seems the system couldn't recognize the other one, by the way in "config.txt" this line "dtoverlay=vc4-fkms-v3d" is there.
What am I missing to get the system GPU hardware acceleration supported?

Thank you.
9gWkAoxLQcu4tuy0qaXGJw
TtEoiobKRHG4ATBEvkDc0Q

@metalefty
Copy link
Member

I would like to fix this but not sure what I should do.

@metalefty metalefty added the help wanted Extra attention is needed label Jun 21, 2024
@pastalian
Copy link

It seems that vc4 and v3d are disabled in mesa. Could this be the cause? I don't have the hardware to test though.
https://git.almalinux.org/rpms/mesa/src/branch/c9/SPECS/mesa.spec#L26-L27

@sallyhaj
Copy link
Author

Thank you @pastalian for pointing that out.
In the logs of https://git.almalinux.org/rpms/mesa/src/branch/c9/SPECS/mesa.spec:

* Fri Mar 26 2021 Adam Jackson <ajax@redhat.com> - 21.0.1-3
- Split out with_r300 and with_r600
- Disable r300, r600, etnaviv, lima, vc4 and v3d in RHEL

Which was enabled before, but from 21.0.1-3 release it disabled.
Maybe we can get Fedora Mesa as an example:
https://src.fedoraproject.org/rpms/mesa/blob/rawhide/f/mesa.spec
I can test on RPi4-5
Thank you.

@metalefty
Copy link
Member

Indeed.

$ rpm -ql mesa-dri-drivers | egrep "v3d|vc4"
$ 

@metalefty
Copy link
Member

It worked now.

WIN_20240624_10_30_49_Pro

@metalefty
Copy link
Member

Try this if you would like to try it locally: https://build.almalinux.org/build/14861

@sallyhaj
Copy link
Author

Thank you @metalefty
I want to test it on RPi5, should I just download the packages and install them manually? or if there is something similar to Fedora "sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-fff66108a5" in Almalinux?
Thank you.

@metalefty
Copy link
Member

The packages are now released officially. Just do dnf update then you will grab the driver.

@metalefty
Copy link
Member

New images that include V3D drivers are released.

@sallyhaj
Copy link
Author

I've just updated, it's really really fast.
Thank you so much @pastalian for discovering the issue.
Thank you @metalefty For your all your work.
desDpsA
lufzclZ

@metalefty
Copy link
Member

My pleasure. Thank you for the patience!

yuravk added a commit to yuravk/raspberry-pi that referenced this issue Jul 25, 2024
…unner, Vagrant VM with Fedora, and arpm64 docker image AlmaLinux#32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants