raspberry-pi icon indicating copy to clipboard operation
raspberry-pi copied to clipboard

'v3d' Driver on 9.2!

Open sallyhaj opened this issue 1 year ago • 1 comments

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

sallyhaj avatar May 31 '23 05:05 sallyhaj

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

metalefty avatar Nov 21 '23 10:11 metalefty

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

pastalian avatar Jun 21 '24 16:06 pastalian

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 <[email protected]> - 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.

sallyhaj avatar Jun 22 '24 04:06 sallyhaj

Indeed.

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

metalefty avatar Jun 22 '24 13:06 metalefty

It worked now.

WIN_20240624_10_30_49_Pro

metalefty avatar Jun 24 '24 01:06 metalefty

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

metalefty avatar Jun 24 '24 01:06 metalefty

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.

sallyhaj avatar Jun 24 '24 17:06 sallyhaj

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

metalefty avatar Jun 25 '24 11:06 metalefty

New images that include V3D drivers are released.

metalefty avatar Jun 26 '24 00:06 metalefty

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

sallyhaj avatar Jun 26 '24 04:06 sallyhaj

My pleasure. Thank you for the patience!

metalefty avatar Jun 26 '24 06:06 metalefty