View previous topic :: View next topic |
Author |
Message |
AskNow n00b
Joined: 05 Feb 2015 Posts: 6
|
Posted: Mon Nov 07, 2016 5:54 pm Post subject: [SOLVED] Mesa3D + nouveau (Gentoo vs Arch) |
|
|
I have two native systems, Gentoo and ArchLinux, both running X11 (using latest Mesa + xf86-video-nouveau)
GENTOO (Default mesa USE flags)
Code: | $ glxinfo | grep OpenGL |
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVE7
OpenGL version string: 2.1 Mesa 13.0.0
OpenGL shading language version string: 1.30
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 13.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
ARCH
Code: | $ glxinfo | grep OpenGL |
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVE7
OpenGL core profile version string: 4.3 (Core Profile) Mesa 13.0.0
OpenGL core profile shading language version string: 4.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.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 13.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
My question is:
How can I enable OpenGL 3.0 in Gentoo?
Do I need any special xorg.conf display section in configuration or I'm missing something?
Thank you!
Last edited by AskNow on Mon Nov 14, 2016 10:02 pm; edited 2 times in total |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Nov 07, 2016 6:25 pm Post subject: |
|
|
I switched to ~arch after 2 months of running stable. Had very little build issues over 12 years, even less running problems.
Code: | ~ $ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 13.0.0
OpenGL core profile shading language version string: 4.50
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.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 13.0.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
|
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Mon Nov 07, 2016 8:06 pm Post subject: |
|
|
Missing libtxc_dxtn? Post "emerge -pv mesa" so we can check it's nothing obvious like USE=bindist. |
|
Back to top |
|
|
AskNow n00b
Joined: 05 Feb 2015 Posts: 6
|
Posted: Mon Nov 07, 2016 8:31 pm Post subject: |
|
|
Definetely not.
This doesn't affect other cards like i915, i965 (intel) with the same configuration... it has to do only with nouveau in Gentoo.
Anyway, I have these flags enabled:
- USE="bindist classic d3d9 dri3 egl gallium gbm llvm nptl pax_kernel pic"
- VIDEO_CARDS="nouveau"
I have tried several permutations with no luck.
I'm using ~amd64 branch.
Since OpenGL implementation for every card is already defined in mesa, should I blame our xf86-video-nouveau?
It is weird. Is there any nouveau user (with OGL 3.0 unlocked) to clarify things? |
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Mon Nov 07, 2016 11:38 pm Post subject: |
|
|
Here's my nouveau
Code: | ~ $ glxinfo | grep OpenGL
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVA8
OpenGL core profile version string: 3.3 (Core Profile) Mesa 13.0.0
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.0
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.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
|
|
|
Back to top |
|
|
AskNow n00b
Joined: 05 Feb 2015 Posts: 6
|
Posted: Tue Nov 08, 2016 1:12 pm Post subject: |
|
|
Filed a bug covering this issue:
https://bugs.gentoo.org/show_bug.cgi?id=599202
This also affects models newer than your NVA8, or this is crazy and I have a misconfiguration!
Mine doesn't output "OpenGL core profile xxxxx" kind of strings by a reason. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sun Nov 13, 2016 11:59 am Post subject: |
|
|
I commented in the bug already, you need to disable USE="bindist" for OpenGL 3.0 and newer.
This is because --enable-texture-float which is needed for OpenGL 3.0 conformity will cause potentially patent-encumbered code to be included in the mesa binary. |
|
Back to top |
|
|
AskNow n00b
Joined: 05 Feb 2015 Posts: 6
|
Posted: Mon Nov 14, 2016 10:01 pm Post subject: |
|
|
Could you give me a clue on why this doesn't apply to Intel GPUs?
Those don't need to disable "bindist" in order to get OGL 3.0 to work.
Thank you for the explaination anyway!
Marking topic as SOLVED. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
|
Back to top |
|
|
|