Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Mesa3D + nouveau (Gentoo vs Arch)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
AskNow
n00b
n00b


Joined: 05 Feb 2015
Posts: 6

PostPosted: Mon Nov 07, 2016 5:54 pm    Post subject: [SOLVED] Mesa3D + nouveau (Gentoo vs Arch) Reply with quote

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
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Mon Nov 07, 2016 6:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Nov 07, 2016 8:06 pm    Post subject: Reply with quote

Missing libtxc_dxtn? Post "emerge -pv mesa" so we can check it's nothing obvious like USE=bindist.
Back to top
View user's profile Send private message
AskNow
n00b
n00b


Joined: 05 Feb 2015
Posts: 6

PostPosted: Mon Nov 07, 2016 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Mon Nov 07, 2016 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
AskNow
n00b
n00b


Joined: 05 Feb 2015
Posts: 6

PostPosted: Tue Nov 08, 2016 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Nov 13, 2016 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
AskNow
n00b
n00b


Joined: 05 Feb 2015
Posts: 6

PostPosted: Mon Nov 14, 2016 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Tue Nov 15, 2016 3:03 am    Post subject: Reply with quote

Why texture-float is always advertised for Intel is explained here:
https://www.phoronix.com/scan.php?page=news_item&px=MTIwOTg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum