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

[master: visionfive2] mesa-pvr #465

Open
jwinarske opened this issue Mar 20, 2024 · 4 comments
Open

[master: visionfive2] mesa-pvr #465

jwinarske opened this issue Mar 20, 2024 · 4 comments

Comments

@jwinarske
Copy link
Contributor

jwinarske commented Mar 20, 2024

Description

Running vulkaninfo on core-image-weston (x11 removed) the extensions required to display are missing:

VK_KHR_display
VK_KHR_wayland_surface
VK_KHR_xcb_surface
VK_KHR_xlib_surface

Steps to reproduce the issue:

MACHINE ?= "visionfive2"

INIT_MANAGER = "systemd"
DISTRO_FEATURES:append = " systemd alsa usbhost pipewire"
DISTRO_FEATURES:remove = "sysvinit usbgadget ptest xen x11"
DISTRO_FEATURES:append = " opengl wayland pam vulkan"

IMAGE_INSTALL:append = " \
    \
    curl \
    vulkan-tools \
    vulkan-caps-viewer \
    sascha-samples \
    vkcube \
    visionfive2-pvr-graphics \
    \
    libsf-codaj12 \
    libsf-omxil \
    libsf-wave420l \
    libsf-wave511 \
    jpu-module \
    vdec-module \
    venc-module \
"

PACKAGECONFIG:append:pn-mesa-pvr = " egl"
PACKAGECONFIG:remove:pn-qtbase = " gl"
PACKAGECONFIG:append:pn-qtbase = " gles2"

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

https://github.com/jwinarske/meta-vulkan

@jwinarske
Copy link
Contributor Author

Looks like upstream has Vulkan still as a work in progress:
https://rvspace.org/en/project/VisionFive2_Debian_Wiki_202403_Release

@jwinarske
Copy link
Contributor Author

Upstream working reference has Vulkan display/surface support, as well as working libcamera IPU (lagging libcamera 0.2.0). They are moving to 6.6 kernel soon with most all of their kernel drivers upstreamed:
https://github.com/starfive-tech/VisionFive2

The Pine64 STAR64 and PineTab-V use the same SoC and are based on the starfive-tech VisionFive2 repo:
https://pine64.org/devices/star64
https://pine64.org/devices/pinetab-v

If you're open to PRs I'm happy to make some updates.

@kraj
Copy link
Collaborator

kraj commented Mar 23, 2024

@jwinarske yes, I am looking for updating to latest stable kernel as the upcoming yocto 5 release is a LTS one, and it will be good to have it on latest LTS of every package we can

@jwinarske
Copy link
Contributor Author

Upstream is using MESA3D_VERSION = 20.2.2:
https://github.com/starfive-tech/buildroot/blob/7dd07bb55ed4f4f1507b4f2d0b1e95d39d94c0f2/package/mesa3d/mesa3d.mk

Their libcamera is behind 0.2.0 as well.

I'll take a look at re-basing mesa + libcamera to scarthgap versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants