Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904036 - media-libs/mesa: Add VIDEO_CARDS="imagination" or something similar
Summary: media-libs/mesa: Add VIDEO_CARDS="imagination" or something similar
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-08 15:30 UTC by Andrew Cameron
Modified: 2023-04-10 20:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cameron 2023-04-08 15:30:05 UTC
The source code for https://gitlab.freedesktop.org/mesa/mesa/-/tree/main/src/imagination has the Support for the Imagination GPU's

However the current ebuild does not provide any means of enabling or emerging the code for this device?

This device supports both opencl as well as vulkan.
Comment 1 Matt Turner gentoo-dev 2023-04-09 03:32:52 UTC
The enable flag for the driver is 'imagination-experimental', so I don't think it's ready to be enabled.

Is there even kernel support? What hardware is available?
Comment 2 Andrew Cameron 2023-04-09 12:53:54 UTC
(In reply to Matt Turner from comment #1)
> The enable flag for the driver is 'imagination-experimental', so I don't
> think it's ready to be enabled.
> 
> Is there even kernel support? What hardware is available?

My RISC-V VisionFive 2 Running Gentoo has one of these GPU's
===============================================================
Platform name: PowerVR
Platform profile: EMBEDDED_PROFILE
Platform vendor: Imagination Technologies
Platform version: OpenCL 3.0 
---------------------------------------------------------------
Device name: PowerVR B-Series BXE-4-32
Device type: ALL | GPU
Device memory:  7927 MB
Device max clock speed: 594 MHz
Device compute units: 1

The Kernel has been Modified by StarFive and Imagination Technologies is Open Sourcing the Drivers and making updates to Mesa.

More Details About The VisionFive 2 are available at https://rvspace.org/

Additionally the STAR64 Model-A 8GB Single Board Computer also has one
of these GPU's. See https://pine64.com/product/star64-model-a-8gb-single-board-computer/ for more details
Comment 3 Matt Turner gentoo-dev 2023-04-10 20:10:55 UTC
Okay, thanks. So there isn't an upstream kernel driver.

I really doubt Imagination wants us shipping the Mesa driver at this point. There was a similar situation with asahi in bug #881669.

Please just copy the Mesa ebuild to a local overlay and add imagination support if you want it now. It's not something I want to add at this point.