Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79626 - [mesa] >= 1:23.1.6-2 breaks GLMakie due to LLVM 16

Attached to Project: Arch Linux
Opened by michael (chakravala) - Saturday, 09 September 2023, 16:04 GMT
Last edited by Toolybird (Toolybird) - Monday, 18 September 2023, 21:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

mesa-23-1.7-1 seems to be broken for me, but mesa-23-2.0-1 works for me.

Not sure why 23-1.7-1 is the current release, while 23-2.0-1 is available in the arch linux package archive.

It seems that 23-1.7-1 is a downgrade from 23-2.0-1 in the package archive, so somehow that version is broken and it's also a downgrade.
This task depends upon

Closed by  Toolybird (Toolybird)
Monday, 18 September 2023, 21:52 GMT
Reason for closing:  Deferred
Additional comments about closing:  Nothing can be done until we can build julia against LLVM 16.
Comment by Antonio Rojas (arojas) - Saturday, 09 September 2023, 16:42 GMT
"is broken" doesn't mean anything. Please describe exactly what your issue is. Read https://wiki.archlinux.org/title/Bug_reporting_guidelines
Comment by michael (chakravala) - Saturday, 09 September 2023, 17:05 GMT
The exact issue is that with mesa-23-1.7-1 things are broken as discussed on github for example: https://github.com/MakieOrg/Makie.jl/issues/3203

For example, GLMakie is broken, it does not work with that version of package, as described on Github issues.
Comment by Therealmate (therealmate) - Saturday, 09 September 2023, 18:56 GMT Comment by Szymon Kmieć (saimon833) - Saturday, 09 September 2023, 21:11 GMT
Can confirm that mesa package is broken. Have to downgrade it with vulkan loader to version from Sep 9 2023. My GPU had huge performance drop. I have attached file from dmesg.
Comment by Toolybird (Toolybird) - Saturday, 09 September 2023, 23:10 GMT
Let's be 100% clear here folks..

mesa 1:23.1.7-1 is the current version
mesa-1:23.1.6-4 is the previous version

(obviously, if concerning vulkan, the mesa-provided vulkan drivers *must* go hand-in-hand with above e.g: vulkan-radeon 1:23.1.7-1. Additionally, vulkan-icd-loader 1.3.263-1 was updated within the last 24 hours)

> The exact issue is

Unfortunately still doesn't explain what the underlying problem is..

> I have attached file from dmesg

That's kernel stuff i.e. not really relevant when this ticket is about mesa.

So far we have nothing to indicate an Arch packaging issue here...which means any problems will need to be reported upstream.
Comment by michael (chakravala) - Saturday, 09 September 2023, 23:43 GMT
> mesa 1:23.1.7-1 is the current version
> mesa-1:23.1.6-4 is the previous version

The package archive only has: 23.2.0 and 23.1.4 as far as I can tell ...

https://archive.archlinux.org/packages/m/mesa

> Unfortunately still doesn't explain what the underlying problem is..

I only know that switching to 23.2.0 from the archive allows me to do my GLMakie visualization work, while 23.1.7 breaks my ability to use GLMakie for my visualization work because it can't compile with that version.

> So far we have nothing to indicate an Arch packaging issue here...which means any problems will need to be reported upstream.

I disagree, if 23.1.7 is a broken release, then it should not be the current release because it's not ready to be released yet.
Comment by Toolybird (Toolybird) - Saturday, 09 September 2023, 23:56 GMT
> The package archive only has

Look harder :) Hint.. it's not sorted by date and you need to take into account the epoch in the version string.

> I disagree, if 23.1.7 is a broken release

Then you don't understand how Arch works. Arch is merely a "packager" of upstream software. It might be broken in your particular case, but if it works for mostly everyone else... It appears you *still* haven't digested the guidelines that were pointed out to you earlier, in particular [1]

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines#Upstream_or_Arch%3F
Comment by Jan Alexander Steffens (heftig) - Sunday, 10 September 2023, 00:40 GMT
Does 1:23.1.6-4, 1:23.1.5-1 or 23.1.4-2 work for you?
Comment by michael (chakravala) - Sunday, 10 September 2023, 01:02 GMT
> Look harder :) Hint.. it's not sorted by date and you need to take into account the epoch in the version string.

Thanks, what is the reason behind this strange sorting?

After further testing, 23.1.6-1 and 23.2.0 works for me, but 23.1.6-2 and 23.1.6-3 and 23.1.6-4 and 23.1.7-1 are all broken as far as compiling GLMakie goes.

What is arch linux changing in the -2 and -3 and -4 version of 23.1.6? Since there is only one official 23.1.6 release, it seems that arch linux is responsible for the breakage in the subsequent releases of 23.1.6, but I am not fully familiar with how that works and what changes you are responsible for in those releases.

Is it possible that something in the build scripts has changed, and the 23.2.0 release candidate was published before 23.1.6-1 so perhaps after 23.1.6-2 was compiled something in arch linux package compilation changed to break things.
Comment by Toolybird (Toolybird) - Sunday, 10 September 2023, 01:17 GMT
> but 23.1.6-2 and 23.1.6-3 and 23.1.6-4 and 23.1.7-1 are all broken as far as compiling GLMakie goes

1:23.1.6-2 was the first to be built with LLVM 16. The history can be seen here [1]

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/mesa/-/commits/main
Comment by michael (chakravala) - Sunday, 10 September 2023, 01:27 GMT
> 1:23.1.6-2 was the first to be built with LLVM 16. The history can be seen here [1]

Thank you, that is relevant since GLMakie is compiled with Julia which also uses LLVM. This will have to be resolved in some way going forward, there are many people who rely on this, perhaps not as many as using vulkan though.
Comment by Toolybird (Toolybird) - Sunday, 10 September 2023, 01:27 GMT
BTW, julia in Arch is built with LLVM 15. We've seen a few other reports lately whereby problems have been traced back to apparent incompatibilities between LLVM 15 and 16 e.g.  FS#79506   FS#79610 
Comment by Jan Alexander Steffens (heftig) - Sunday, 10 September 2023, 01:32 GMT
> Thanks, what is the reason behind this strange sorting?

NGINX autoindex is dumb and just shows you the files sorted by name, like `ls -l` without any of its sorting options does.

Loading...