Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa, nvidia, gallium
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Mon Sep 30, 2013 3:46 pm    Post subject: mesa, nvidia, gallium Reply with quote

From what I have read (which unfortunately, I don't understand much of), nvidia-drivers doesn't use any part of mesa's drivers built on either the gallium or classic architecture. So I have always used:

Code:

USE='-classic -gallium' emerge ... [anything that includes mesa]


This has always worked in the past (and present).

Two questions:

1. Is there any reason to enable either classic or gallium with nvidia-drivers, or is it recommended to use neither?

2. It seems that newer versions of mesa have some opencl implementation (that requires gallium). Is there any reason to use this, or is the implementation in nvidia-drivers superior?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Sep 30, 2013 8:42 pm    Post subject: Reply with quote

There is no reason to enable anything in mesa beyond what's needed by dependencies, because you can't use any of it with that driver anyway.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1741

PostPosted: Mon Sep 30, 2013 9:21 pm    Post subject: Reply with quote

Both the classic and gallium USE flags are enabled by default, so it requires explicitly disabling them to not build mesa with them.

Any thoughts on the usefulness (or lack thereof) of the mesa opencl?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Oct 01, 2013 4:34 pm    Post subject: Reply with quote

All of the test programs in their repos work with it on my (old, low-end) Radeon card.

ffmpeg-2.0* has opencl support, and I think media-libs/gegl does too, but Gentoo doesn't expose a USE flag for it on either of those. Seems like it's not ready for real world use yet (at least in this distro).

It'll probably pick up once kernel 3.12 is out with the changes to allow DRM GPU access independent of the display.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2283
Location: Adendorf, Germany

PostPosted: Tue Oct 01, 2013 5:01 pm    Post subject: Reply with quote

curmudgeon wrote:
Any thoughts on the usefulness (or lack thereof) of the mesa opencl?
Not needed with "eselect opencl set nvidia" ;)
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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