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

Radeonsi card stuck at software rendering #12380

Closed
pstn opened this issue Jan 14, 2016 · 5 comments
Closed

Radeonsi card stuck at software rendering #12380

pstn opened this issue Jan 14, 2016 · 5 comments
Labels
0.kind: question Requests for a specific question to be answered 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Comments

@pstn
Copy link
Contributor

pstn commented Jan 14, 2016

I think I misconfigured my system but can't find the cause.
My OpenGL is stuck at software

$glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN (DRM 2.43.0, LLVM 3.6.2)
OpenGL version string: 2.1 Mesa 11.0.8
OpenGL shading language version string: 1.30

X.log
Full config

Any help is appreciated.

@vcunat
Copy link
Member

vcunat commented Jan 14, 2016

Why do you believe it does rendering in SW? The X.log seems to me like it uses the usual HW rendering.

@vcunat vcunat added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 0.kind: question Requests for a specific question to be answered labels Jan 14, 2016
@pstn
Copy link
Contributor Author

pstn commented Jan 14, 2016

The OpenGL version is just 2.1 it should be > 3 for radeonsi on mesa 11.0.8. Additionally I think that the vendor string is X.Org for SW rendering, isn't it?

@vcunat
Copy link
Member

vcunat commented Jan 14, 2016

I believe it doesn't do SW rendering. After reading a gentoo comment, I think it shows a lower version because texture floats are disabled. That's so by default because of some patent issues.

You can override the settings by packageOverrides, e.g. as in https://github.com/ttuegel/nixos-config/blob/fc382dcd19e7f2ed2e34157de2c85671138b6665/overrides/mesa_drivers.nix but instead of llvmPackages = ... you put enableTextureFloats = true;.

@vcunat
Copy link
Member

vcunat commented Jan 14, 2016

SW rendering looks more like this:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 0x300)
OpenGL version string: 2.1 Mesa 8.0.1
OpenGL shading language version string: 1.20

@pstn
Copy link
Contributor Author

pstn commented Jan 14, 2016

Thanks. I was able to successfully build mesa with TextureFloats and have a more recent OpenGL version now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: question Requests for a specific question to be answered 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Projects
None yet
Development

No branches or pull requests

2 participants