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

mesa: (retro) build fix #7298

Open
wants to merge 5 commits into
base: retro
Choose a base branch
from
Open

mesa: (retro) build fix #7298

wants to merge 5 commits into from

Conversation

arkadijs
Copy link
Member

Topic Description

After moving Mesa post-Amber a few out-of-date build options lingered in retro Meson defines.

First, this brings retro up-to-date with stable. Then fa363ab fixes the retro build for both mesa and mesa-amber.

Tested on Athlon XP with R300 driver (Gallium) and Radeon RV515 / X1300 Pro AGP.

Package(s) Affected

runtime-display/mesa
runtime-display/mesa-amber

Security Update?

No

Test Build(s) Done

[x] Retro i486

MingcongBai and others added 4 commits July 28, 2024 22:15
- Rebase patches against mesa-24.1.3 (AOSC-Tracking/mesa @ aosc/mesa-24.1.3).
- Re-picked the newest LLVMPipe patchset.
- Picked a patchset to fix missing symbol issue in venus.
- Use "auto" for Gallium and Vulkan drivers (enables all applicable drivers for
  the target platforms.
- Enable all video codecs.
- Specify options explicitly where applicable.
It's not stable and will fail.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
@@ -44,7 +44,6 @@ MESON_AFTER="-Ddri-drivers-path=/usr/lib/xorg/modules/dri \
-Db_ndebug=true \
-Dplatforms=x11,wayland \
-Degl-native-platform=x11 \
-Dvulkan-layers=device-select,overlay \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate of the line below => removed.

-Dgallium-drivers=r300,r600,nouveau \
-Dvulkan-drivers="
-Dvulkan-drivers= \
-Dsse2=false"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prevent SIGILL, aligned with mesa-amber options.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch.

@MingcongBai MingcongBai added the afterglow Afterglow (AOSC OS for legacy devices) related label Jul 29, 2024
@MingcongBai
Copy link
Member

@arkadijs Hey thanks for this pull request! I'm currently rebooting Afterglow as we have left this project in the cold for way too long. I will queue this when I get to it.

@arkadijs
Copy link
Member Author

Taking in account #6964 and my own experience it would be nice to have another older version of Mesa for R100 / R200 devices. old_mesa/ or nvidia-* style.
I'm going to survey what version works best for DRI drivers -- both ATI (Radeon, R200) and Nvidia (TNT - GeForce 4 Ti) from early 2000. Unfortunately, Amber is not a good choice for non-Gallium Radeon.

@MingcongBai
Copy link
Member

Taking in account #6964 and my own experience it would be nice to have another older version of Mesa for R100 / R200 devices. old_mesa/ or nvidia-* style. I'm going to survey what version works best for DRI drivers -- both ATI (Radeon, R200) and Nvidia (TNT - GeForce 4 Ti) from early 2000. Unfortunately, Amber is not a good choice for non-Gallium Radeon.

Please do. @lunzima who looked into this earlier came to the same conclusion.

@arkadijs
Copy link
Member Author

AGP card survey: https://gist.github.com/arkadijs/c847760105f56ee79034bda46a87e325

@lunzima
Copy link
Contributor

lunzima commented Aug 13, 2024

Mesa 20.3.x has no issues running glxgears on R100 hardware (Mobility Radeon 7500), but other regressions cannot be ruled out.
AOSC/Retro had a very limited set of packages so my testing is limited. I'll continue working on it once the AOSC/Afterglow reboot is done.

Should Extreme Tux Racer be a test baseline in addition to glxgears/tyr-glquake/lzdoom/mpv?

@arkadijs
Copy link
Member Author

I'd love to add ETR but it depends on SFML which cannot be built on retro branch currently. Via transient dependencies:

Package ghostscript is not available, but is referred to by another package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
afterglow Afterglow (AOSC OS for legacy devices) related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants