Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mesa's Gallium3D/llvm needed with nvidia-drivers?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2605

PostPosted: Thu Mar 23, 2017 8:00 pm    Post subject: Mesa's Gallium3D/llvm needed with nvidia-drivers? Reply with quote

Hello all,

I've been reading up on the various OpenGL implementations, and delved a little more deeply into them today when a system update wanted to pull in many additional dependencies. I found that the cause of the additional dependencies was llvm-4.x. As I use the proprietary nvidia-drivers, is there even a need for me to have Gallium3D or llvm support within mesa (or mesa at all, for that matter)? The more I look at it, it seems like the proprietary nvidia-drivers should completely replace mesa. If that's the case, I can get rid of it, llvm, and all of these new dependencies.

Any thoughts or considerations? Will that negatively impact any virtual machines within VirtualBox that don't have direct GPU access?

Thanks for helping me further my understanding.

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Mar 24, 2017 12:17 am    Post subject: Reply with quote

If your graphics card supports OpenGL natively, then you may not need it. There are packages that depend on mesa.

It seems kde (i need k3b) depends on it.

Code:
ASUS-G75VW roman # equery depends libepoxy
 * These packages depend on libepoxy:
kde-frameworks/kdeclarative-5.32.0 (media-libs/libepoxy)
x11-base/xorg-server-1.19.3 (glamor ? media-libs/libepoxy[X])
                            (wayland ? media-libs/libepoxy)
x11-libs/gtk+-3.22.11 (>=media-libs/libepoxy-1.0[X(+)?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
ASUS-G75VW roman # equery depends mesa|grep libepoxy
media-libs/libepoxy-1.4.1


AFAIK gallium3d is not needed for the binary nvidia-drivers.


Settings for many years (9800m gts (was my previous gpu) now 660m gtx)
Code:
ASUS-G75VW roman # grep mesa /etc/portage/package.use
media-libs/mesa -llvm -opencl


@Virtualbox => no idea..
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Mar 24, 2017 2:02 am    Post subject: Reply with quote

Set USE=-doc on llvm-4.0 to make all the nasty surprise deps go away. It forces the default to on for no good reason.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2605

PostPosted: Wed Mar 29, 2017 2:23 am    Post subject: Reply with quote

Ant P. wrote:
Set USE=-doc on llvm-4.0 to make all the nasty surprise deps go away. It forces the default to on for no good reason.


This took care of the immediate concern:

Code:

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 24) dev-python/sphinx-1.5.2...
>>> Unmerging (2 of 24) dev-python/sphinx_rtd_theme-0.1.9...
>>> Unmerging (3 of 24) dev-python/alabaster-0.7.9...
>>> Unmerging (4 of 24) dev-python/requests-2.13.0...
>>> Unmerging (5 of 24) dev-python/jinja-2.9.5...
>>> Unmerging (6 of 24) dev-python/imagesize-0.7.1...
>>> Unmerging (7 of 24) dev-python/Babel-2.3.4...
>>> Unmerging (8 of 24) dev-python/snowballstemmer-1.2.1...
>>> Unmerging (9 of 24) dev-python/chardet-2.3.0...
>>> Unmerging (10 of 24) dev-python/urllib3-1.20...
>>> Unmerging (11 of 24) dev-python/ndg-httpsclient-0.4.2...
>>> Unmerging (12 of 24) dev-python/pytz-2016.10...
>>> Unmerging (13 of 24) dev-python/markupsafe-0.23...
>>> Unmerging (14 of 24) dev-python/PySocks-1.6.6...
>>> Unmerging (15 of 24) dev-python/pyopenssl-16.2.0...
>>> Unmerging (16 of 24) dev-python/cryptography-1.7.2...
>>> Unmerging (17 of 24) dev-python/pyasn1-0.1.9...
>>> Unmerging (18 of 24) dev-python/enum34-1.1.6...
>>> Unmerging (19 of 24) dev-python/cffi-1.9.1...
>>> Unmerging (20 of 24) virtual/python-ipaddress-1.0-r1...
>>> Unmerging (21 of 24) dev-python/idna-2.4...
>>> Unmerging (22 of 24) dev-python/ipaddress-1.0.18...
>>> Unmerging (23 of 24) dev-python/pycparser-2.17...
>>> Unmerging (24 of 24) dev-python/ply-3.10...
Packages installed:   711
Packages in world:    72
Packages in system:   44
Required packages:    711
Number removed:       24

 * GNU info directory index is up-to-date.


However, @Roman_Gruber, I'm going to play around with the VirtualBox situation when I have a little more time. Thanks for your input. :)

Cheers,
Nathan Zachary
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Mar 29, 2017 3:01 am    Post subject: Reply with quote

When I had nVidia card the only application that required MESA in my desktop was Firefox, and it was build-time dependency. After FF was installed I could remove MESA and everything kept working just fine.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Wed Mar 29, 2017 1:23 pm    Post subject: Reply with quote

You might need mesa for OpenGL/GLES/EGL/etc standard headers, that is buildtime. nvidia-drivers doesn't provide them (with good reason).
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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