You are not logged in.

#1 2016-10-03 20:19:23

solinent
Member
Registered: 2010-05-01
Posts: 11

[SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

I am trying to get OpenGL 4 to work with mesa and my GTX 960.

    > glxinfo | grep -i OpenGL

    OpenGL vendor string: nouveau
    OpenGL renderer string: Gallium 0.4 on NV126
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 12.0.3
    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 12.0.3
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.0 Mesa 12.0.3
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
    OpenGL ES profile extensions:

So it seems like I'm getting OpenGL 3.0, but according to everything I read online I should be able to run OpenGL 4.5 on my system. Am I missing any configuration, or will I need to go to packages on AUR? My system is up to date.

I'm using the nouveau driver. I'd like to stick to it, as the nvidia driver is much less stable.

Last edited by solinent (2016-10-03 20:42:43)

Offline

#2 2016-10-03 20:21:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

Nouveau isn't up to snuff on cards this new, you will need to use the proprietary drivers for full support

Offline

#3 2016-10-03 20:27:23

solinent
Member
Registered: 2010-05-01
Posts: 11

Re: [SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

So I can't run the nvc0 driver with my nv110 I guess? It's a shame, my desktop is so much nicer with the nouveau drivers.

Offline

#4 2016-10-03 20:33:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

Getting full performance is heavily reliant on Nvidia providing firmware images, which AFAIK hasn't really happened yet for Maxwell chips. Something else you might want to try is installing llvm-svn or similar, since afaik OpenGL support in gallium drivers is somewhat reliant on this being a new enough version (don't quote me on that, maybe someone with some more experience with the OSS drivers might chime in)

All in all it is probably easier to fix your desktop performance issue with the Nvidia drivers, than it is to get nouveau to good 3D performance.

According to https://nouveau.freedesktop.org/wiki/ 4.1 support has just been enabled, probably not part of any common release yet, and you won't be able to get full performance because reclocking support isn't available

Last edited by V1del (2016-10-03 20:38:03)

Offline

#5 2016-10-03 20:40:08

solinent
Member
Registered: 2010-05-01
Posts: 11

Re: [SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

I've already switched back now, but I'll give that a try in the future.

I'm not really having desktop performance issues, but I do feel the 2D performance of the nouveau driver to be slightly better.

I'm just developing an OpenGL app, and I guess I want to support nouveau too, so I guess I'll have to support OpenGL 3.0 as well eventually.

Offline

#6 2016-10-04 16:54:24

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

I'm just developing an OpenGL app, and I guess I want to support nouveau too, so I guess I'll have to support OpenGL 3.0 as well eventually.

Look at whole output ofglxinfo and you'll see 2 possible profiles : core profile at OpenGL 3.3 and a compatibility profile at OpenGL 3.0 .
Check https://mesamatrix.net/ and you'll see that even software renderers support OpenGL 3.3 .

as for GL 4.1 on maxwell cards: the order of the news messages suggest you'll need mesa-git to have it,
atleast until next mesa version is released (maybe longer if that support relies on llvm-svn post 3.9.x )


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2016-10-04 19:47:05

solinent
Member
Registered: 2010-05-01
Posts: 11

Re: [SOLVED] OpenGL 4+ support with nouveau, mesa, and a GTX 960

Thanks, I'll give that a shot. I need the compatibility profile for FTGL for now, unless I roll my own.

Offline

Board footer

Powered by FluxBB