| Summary: | LLVM 3.8 limits radeonsi mesa driver to OpenGL 4.1, LLVM 3.9 would bring OpenGL 4.4 / 4.5 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | MichaÅ Dutkiewicz <michal> |
| Component: | RPM Packages | Assignee: | Base system maintainers <basesystem> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | kernel, linux, thierry.vignaud, worzel910 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | llvm | CVE: | |
| Status comment: | |||
Thanks for the report. There seems to be some confusion in the numbers though, I guess you mean LLVM 3.8.1 allows OpenGL 4.1, while LLVM 3.9 would allow OpenGL 4.3?
> OpenGL 4.3 is required by many modern games and while it is at your fingertips it is not available due to outdated dependency.
As a game engine developer, I would nuance this a bit by saying that many modern games *can* make use of OpenGL 4.3, but I don't know many games that have it as a strong requirement (as it would cut them off from 90% of the market or more).
Still, if we can have more OpenGL support in open source drivers, I'm all for it :)CC:
(none) =>
drivers (In reply to Rémi Verschelde from comment #1) > Thanks for the report. There seems to be some confusion in the numbers > though, I guess you mean LLVM 3.8.1 allows OpenGL 4.1, while LLVM 3.9 would > allow OpenGL 4.3? Yes, exactly, some extensions require 3.9. > > OpenGL 4.3 is required by many modern games and while it is at your fingertips it is not available due to outdated dependency. > > As a game engine developer, I would nuance this a bit by saying that many > modern games *can* make use of OpenGL 4.3, but I don't know many games that > have it as a strong requirement (as it would cut them off from 90% of the > market or more). Sure, although some interesting titles (AFAIR Shadow of Mordor and some others) make use of GL_ARB_compute_shader which is part of 4.3. ;-) I've seen reports showing that some AAA titles are playable with radeonsi once it advertises OpenGL 4.3. > Still, if we can have more OpenGL support in open source drivers, I'm all > for it :) ;-) This question came up on IRC recently, and David Geiger said the reason we haven't updated it is: "it will break some dependent packages, like aspectc++, lightspark and maybe others; I know already that aspectc++ and lightspark will not build against llvm/clang 3.9.0 :)" So those have to be fixed before we can update it. (In reply to David Walser from comment #3) > So those have to be fixed before we can update it. Huh, I sort of expected such situation. ;-) If #19366 (amdgpu-pro) could be done then this one would be a bit less important. The thing is, updating llvm/clang to 3.9 could break many packages (this did happen with previous versions). We would need to branch llvm3.8 CC:
(none) =>
thierry.vignaud
Samuel Verschelde
2016-09-21 10:20:03 CEST
CC:
drivers =>
kernel
psyca
2016-10-19 01:10:00 CEST
CC:
(none) =>
linux Damn, Just jumped in here to request this. Prevents a lot of games from running correctly with mesa 13's features/improvements Could it be built as an alternative to the existing packages? CC:
(none) =>
worzel910 Perhaps mesa could link it statically or something like that? It becomes more and more important, now radeonsi got even listed in recommendation: > AMD cards require Mesa 13.0.1 drivers compiled using LLVM 3.9 or newer. http://www.feralinteractive.com/en/news/702/ I've noticed that mesa was updated to 13.x while LLVM was not, so it is even worse now, radeonsi got stuck at OpenGL 4.1 while it could expose 4.5 (AFAIR it is 4.4 without override, but all extensions are available) with newer LLVM version.
MichaÅ Dutkiewicz
2016-12-05 16:09:21 CET
Summary:
LLVM 3.8 limits radeonsi mesa driver to OpenGL 4.1, LLVM 3.9 would bring OpenGL 4.3 =>
LLVM 3.8 limits radeonsi mesa driver to OpenGL 4.1, LLVM 3.9 would bring OpenGL 4.5
MichaÅ Dutkiewicz
2016-12-05 16:09:39 CET
Summary:
LLVM 3.8 limits radeonsi mesa driver to OpenGL 4.1, LLVM 3.9 would bring OpenGL 4.5 =>
LLVM 3.8 limits radeonsi mesa driver to OpenGL 4.1, LLVM 3.9 would bring OpenGL 4.4 / 4.5 LLVM was recently updated to 3.9 and games like Shadow of Mordor are now working with radeonsi. Thanks for update. :-) Status:
NEW =>
RESOLVED |
Description of problem: Currently shipped LLVM version (3.8) is not the latest stable release (3.9 was released earlier this month), while OpenGL 3.1 is available for radeonsi driver in shipped mesa version (12) it is limited to 4.1 by outdated LLVM package: Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD POLARIS10 (DRM 3.2.0 / 4.7.3-desktop-1.mga6, LLVM 3.8.1) (0x67df) Version: 12.0.2 Accelerated: yes Video memory: 4068MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.1 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD POLARIS10 (DRM 3.2.0 / 4.7.3-desktop-1.mga6, LLVM 3.8.1) OpenGL core profile version string: 4.1 (Core Profile) Mesa 12.0.2 OpenGL core profile shading language version string: 4.10 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile Some features require LLVM 3.9, for example: https://cgit.freedesktop.org/mesa/mesa/commit/?id=5219eb15e12903a10c0aea22a7460bb6867a958e OpenGL 4.3 is required by many modern games and while it is at your fingertips it is not available due to outdated dependency. It's especially bad in case of RX 4xx hardware since this one is not covered by fglrx and amdgpu-pro driver is not stable yet and so far limited only to selected versions of Ubuntu. Version-Release number of selected component (if applicable): llvm-3.8.1.2.mga6 How reproducible: Always. Steps to Reproduce: 1. use AMD graphic card handled by radeonsi driver; 2. run glxinfo and check result.