2025-07-20 21:36 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005640Spring engineGeneralpublic2017-07-10 20:42
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version103.0 +git 
Target Version104.0Fixed in Version 
Summary0005640: Popup "You are using an open-source (Mesa / Gallium) graphics card driver"...
Descriptionthe OS mesa driver is / will be the successor of the binary ATI driver. Its already in a very good state: i basicly had no crash since ages with it, only several errors / warnings with shaders because the shader itself was invalid: i.e. because of a missing version, it couldn't be compiled.

the popup should be removed as the hint "switch to proprietary drivers" isn't useful. ATI binary (=fglrx) drivers on linux are deprecated!
Additional InformationIMHO the problem here is that most devs use nvidia binary drivers: stuff isn't tested on other drivers.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0017986

Kloot (developer)

Last edited: 2017-07-10 10:27

View 2 revisions

"the OS mesa driver is / will be the successor of the binary ATI driver."

no, what do you even base this on? amdgpu is, for which the popup won't show.

the fact is that mesa (after 20+ years of development) still can not touch nvidia's binary blob and is unlikely to ever do given the complexity of modern GPU's, so the warning *is* useful.

~0017987

abma (administrator)

Last edited: 2017-07-10 10:53

View 2 revisions

amdgpu is for newer gpus only, fglrx is deprecated.

so the radeon driver must be used on older gpus as the binary driver fglrx isn't supported any more.

-> radeon + amdgpu (or amdgpu-pro which has some more binary blobs but uses a lot of stuff from amdgpu afaik) should be used for best performance / features / stability

some references:

https://www.phoronix.com/scan.php?page=news_item&px=SteamOS-2.115-Released
https://wiki.debian.org/ATIProprietary

"<!> This driver is incompatible with the GNOME desktop, as it does not support the EGL interface. It is recommended to use the free radeon driver instead. "

current debian 9 isn't listed there, not sure why.


> the fact is that mesa (after 20+ years of development) still can not touch nvidia's binary blob

i disagree, the OS ati and Intel drivers are pretty good. My impression is that OS-Intel drivers are better on linux as on windows. Nvidia-OS drivers are far behind because they don't support OS it seems.

https://mesamatrix.net/

A LOT of code is optimized for the nvidia-binary drivers, thats what causes most problems.

~0017988

abma (administrator)

in other words:

- for nvidia os driver this message is still valid
- for intel (is there a binary driver for intel?) and ati cards it isn't

~0017989

Kloot (developer)

Last edited: 2017-07-10 11:26

View 3 revisions

yes, it is. radeon/amdgpu should be the first choice for all ATI users, not mesa.

"the OS ati and Intel drivers are pretty good." -> certainly better, but nowhere near nvidia blobs wrt performance.

~0017996

abma (administrator)

how to check which driver is used?

lshw -c video
  *-display
       description: VGA compatible controller
       product: Juniper PRO [Radeon HD 5750]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:41 memory:d0000000-dfffffff memory:fea20000-fea3ffff ioport:e000(size=256) memory:c0000-dffff


for me it looks like the radeon driver is loaded and used for spring, also only one gpu is available:

xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x59 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 0 name:ATI Radeon HD 5700 Series @ pci:0000:01:00.0

~0017997

Kloot (developer)

"radeon" is both the name of the driver and the hardware chipset.

what does glxinfo say? the radeon driver should have different version and renderer strings (i.e. not "Gallium 0.4..." but something like "ATI Radeon HD") according to google.

~0017998

abma (administrator)

the same:

glxinfo |grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD JUNIPER (DRM 2.48.0 / 4.9.0-3-amd64, LLVM 3.9.1)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.6
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 13.0.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

~0017999

Kloot (developer)

hmm, now I'm not sure because the HD5750 driver would be r600g which is built on gallium (part of mesa). I guess we can check for "AMD" in the renderer string and skip the warning if that is present.

~0018000

abma (administrator)

Last edited: 2017-07-10 16:33

View 2 revisions

vice versa, force enabling software rendering on the same hardware leads to this:

LIBGL_ALWAYS_SOFTWARE=1 ./spring

[...]
    SDL version : 2.0.5 (linked) / 2.0.5 (compiled)
    GL version : 3.0 Mesa 13.0.6
    GL vendor : VMware, Inc.
    GL renderer : Gallium 0.4 on llvmpipe (LLVM 3.9, 128 bits)
    GLSL version: 1.30
    GLEW version: 2.0.0
    GPU memory : 16001MB (total) / 16001MB (available)
    SwapInterval: 0
[...]

~0018001

abma (administrator)

LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe ./spring

    SDL version : 2.0.5 (linked) / 2.0.5 (compiled)
    GL version : 3.0 Mesa 13.0.6
    GL vendor : VMware, Inc.
    GL renderer : Gallium 0.4 on softpipe
    GLSL version: 1.30
    GLEW version: 2.0.0
    GPU memory : 16001MB (total) / 16001MB (available)
    SwapInterval: 0

~0018003

abma (administrator)

i'll remove the check:

- its not our job to warn about someone using softwarerendering (with softwarerendering even the desktop gui is slow)
- mesa drivers are IMHO mature
- string parsing is faulty / idk if there is even a standard how the gallium driver creates the string. On weston (which is becoming default on desktop envs soon i guess) the string could look completely different

~0018004

abma (administrator)

Fix bfbf9d69fc4ff59c24c0e7467d29b0c0c93a5aeb committed to develop branch: fix 0005640:
remove invalid check / mesa is mature!, repo: spring changeset id: 8492

~0018005

abma (administrator)

- an OS project should encourage to use OS software! :-)
+Notes

-Issue History
Date Modified Username Field Change
2017-07-10 06:27 abma New Issue
2017-07-10 06:30 abma Product Version => 103.0 +git
2017-07-10 06:30 abma File Added: infolog.txt
2017-07-10 06:30 abma File Deleted: infolog.txt
2017-07-10 06:31 abma File Added: infolog.txt
2017-07-10 10:26 Kloot Note Added: 0017986
2017-07-10 10:27 Kloot Note Edited: 0017986 View Revisions
2017-07-10 10:51 abma Note Added: 0017987
2017-07-10 10:53 abma Note Edited: 0017987 View Revisions
2017-07-10 11:11 abma Note Added: 0017988
2017-07-10 11:21 Kloot Note Added: 0017989
2017-07-10 11:25 Kloot Note Edited: 0017989 View Revisions
2017-07-10 11:26 Kloot Note Edited: 0017989 View Revisions
2017-07-10 15:58 abma Note Added: 0017996
2017-07-10 16:17 Kloot Note Added: 0017997
2017-07-10 16:19 abma Note Added: 0017998
2017-07-10 16:28 Kloot Note Added: 0017999
2017-07-10 16:33 abma Note Added: 0018000
2017-07-10 16:33 abma Note Edited: 0018000 View Revisions
2017-07-10 16:57 abma Note Added: 0018001
2017-07-10 20:39 abma Note Added: 0018003
2017-07-10 20:39 abma Changeset attached => spring develop bfbf9d69
2017-07-10 20:39 abma Note Added: 0018004
2017-07-10 20:39 abma Assigned To => abma
2017-07-10 20:39 abma Status new => resolved
2017-07-10 20:39 abma Resolution open => fixed
2017-07-10 20:42 abma Note Added: 0018005
+Issue History