I have nvidia-drivers-340.107 installed and working. An emerge -uDaN world produces the following
The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by dev-util/nvidia-cuda-toolkit-9.2.88::dev-kit
# required by dev-cpp/eigen-3.3.5-r1::dev-kit[cuda]
# required by media-libs/opencv-3.4.1-r4::media-kit[eigen]
# required by media-plugins/frei0r-plugins-1.6.1.20190222::media-kit[facedetect]
# required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
# required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
# required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
# required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
# required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
=x11-drivers/nvidia-drivers-410.93
I have the following in my /etc/portage/package.mask
>=x11-drivers/nvidia-drivers-341.0.0
As these packages are trying to pull in an incompatible version of the drivers I tried just masking them. So my /etc/portage/package.mask now looks like this.
Emerge is still failing. After a few rounds of repeating the above my /etc/portage/package.mask is now
>=x11-drivers/nvidia-drivers-341.0.0
# The following are required to prevent the wrong nvidia-drivers being pulled in.
>=dev-util/nvidia-cuda-toolkit-9.2.88
>=dev-cpp/eigen-3.3.5-r1
>=media-libs/opencv-3.4.1-r4
>=media-plugins/frei0r-plugins-1.6.1.20190222
>=media-video/ffmpeg-3.2.6
>=media-plugins/alsa-plugins-1.1.7
>=media-sound/pulseaudio-12.2
>=lxqt-base/lxqt-panel-0.13.0
>=lxqt-base/lxqt-meta-0.13.0
>=media-video/nvidia_video_sdk-6.0.1
But now I'm getting the following.
Calculating dependencies... done!
[ebuild N ] sys-fs/exfat-utils-1.3.0
[ebuild R ] x11-libs/libdrm-2.4.94 VIDEO_CARDS="-nouveau*"
[ebuild N ] sys-fs/fuse-common-3.2.6
[ebuild N ] sys-fs/fuse-2.9.8 USE="-examples -static-libs"
[ebuild N ] sys-fs/fuse-exfat-1.3.0
[ebuild N ] virtual/opencl-0-r5 VIDEO_CARDS="nvidia -amdgpu -i965"
[ebuild R ] media-libs/x264-0.0.20170701 USE="opencl*"
[ebuild R ] x11-base/xorg-drivers-1.20 VIDEO_CARDS="-nouveau*"
[ebuild U ] app-editors/vim-core-8.1.1240 [8.1.1170]
[ebuild R ] gnome-base/gsettings-desktop-schemas-3.28.1 USE="introspection*"
[ebuild R ] media-libs/graphene-1.8.2 USE="introspection*"
[ebuild R ] net-libs/libsoup-2.64.2 USE="introspection*"
[ebuild U ] app-editors/vim-8.1.1240 [8.1.1170]
[ebuild R ] dev-libs/libgudev-232 USE="introspection*"
[ebuild R ] virtual/libgudev-232 USE="introspection*"
[ebuild NS ] sys-kernel/debian-sources-lts-4.9.168_p1 [4.9.161_p1] USE="binary -ec2 -sign-modules"
[ebuild N ] media-sound/apulse-0.1.12-r4 USE="-debug -sdk -test"
[ebuild R ] net-dns/avahi-0.7-r4 USE="introspection*"
[ebuild R ] media-libs/gstreamer-1.14.4 USE="introspection*"
[ebuild R ] media-libs/gst-plugins-base-1.14.4-r1 USE="introspection*"
[ebuild R ] x11-libs/gtk+-2.24.32-r1 USE="introspection*"
[ebuild U #] x11-drivers/nvidia-drivers-410.93 [340.107] USE="driver%* gtk3%* kms%* uvm%* -compat% -wayland%"
[ebuild N #] dev-util/nvidia-cuda-toolkit-9.2.88 USE="-debugger -doc -eclipse -profiler"
[ebuild UD ] media-libs/opencv-3.4.1-r2 [3.4.1-r4] USE="cuda* opencl*"
[ebuild UD ] media-plugins/frei0r-plugins-1.6.1 [1.6.1.20190222]
[ebuild U ] sys-libs/pam-1.3.1.20190226 [1.3.0-r3] USE="nullok%* sha512%* -minimal% -mktemp% -pam_krb5% -pam_ssh% -passwdqc% -securetty% -static-libs%"
[ebuild U ] sys-auth/pambase-20190426 [20150213-r3] USE="-nullok* -sha512*"
[blocks b ] <sys-auth/pambase-20190426 ("<sys-auth/pambase-20190426" is blocking sys-libs/pam-1.3.1.20190226)
[ebuild R ] sys-auth/polkit-0.115-r1 USE="introspection*"
[ebuild R ] sys-fs/udisks-2.7.6 USE="introspection*"
[ebuild R ] sys-power/upower-0.99.9.20181025 USE="introspection*"
[blocks B ] media-plugins/alsa-plugins[pulseaudio] ("media-plugins/alsa-plugins[pulseaudio]" is hard blocking media-sound/apulse-0.1.12-r4)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(media-sound/apulse-0.1.12-r4:0/0::media-kit, ebuild scheduled for merge) pulled in by
media-sound/apulse required by (www-client/firefox-bin-64.0:0/0::net-kit, installed)
(media-plugins/alsa-plugins-1.1.7-r1:0/0::media-kit, installed) pulled in by
>=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,-mgorny(-)] required by (media-sound/pulseaudio-12.2:0/0::gnome-kit, installed)
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
The following mask changes are necessary to proceed:
(see "package.unmask" in the portage(5) man page for more details)
# required by media-libs/opencv-3.4.1-r2::media-kit[cuda]
# required by media-plugins/frei0r-plugins-1.6.1::media-kit[facedetect]
# required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
# required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
# required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
# required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
# required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
# The following are required to prevent the wrong nvidia-drivers being pulled in.
=dev-util/nvidia-cuda-toolkit-9.2.88
# required by dev-util/nvidia-cuda-toolkit-9.2.88::dev-kit
# required by media-libs/opencv-3.4.1-r2::media-kit[cuda]
# required by media-plugins/frei0r-plugins-1.6.1::media-kit[facedetect]
# required by media-video/ffmpeg-3.4.5::media-kit[frei0r]
# required by media-plugins/alsa-plugins-1.1.7-r1::media-kit
# required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa]
# required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio]
# required by lxqt-base/lxqt-meta-0.13.0::desktop-kit
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
=x11-drivers/nvidia-drivers-410.93
What do I need to do to stop the wrong nvidia-drivers being pulled in?
Question
leeflemingster
I have nvidia-drivers-340.107 installed and working. An emerge -uDaN world produces the following
The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by dev-util/nvidia-cuda-toolkit-9.2.88::dev-kit # required by dev-cpp/eigen-3.3.5-r1::dev-kit[cuda] # required by media-libs/opencv-3.4.1-r4::media-kit[eigen] # required by media-plugins/frei0r-plugins-1.6.1.20190222::media-kit[facedetect] # required by media-video/ffmpeg-3.4.5::media-kit[frei0r] # required by media-plugins/alsa-plugins-1.1.7-r1::media-kit # required by media-sound/pulseaudio-12.2::gnome-kit[alsa-plugin,alsa] # required by lxqt-base/lxqt-panel-0.13.0::desktop-kit[volume,pulseaudio] # required by lxqt-base/lxqt-meta-0.13.0::desktop-kit # required by @selected # required by @world (argument) # /etc/portage/package.mask: =x11-drivers/nvidia-drivers-410.93
I have an nvidia quadro fx 580. According to nvidia's website the drivers for this card are 340.xx. https://www.nvidia.com/object/IO_32667.html
I have the following in my /etc/portage/package.mask
>=x11-drivers/nvidia-drivers-341.0.0
As these packages are trying to pull in an incompatible version of the drivers I tried just masking them. So my /etc/portage/package.mask now looks like this.
>=x11-drivers/nvidia-drivers-341.0.0 >=dev-util/nvidia-cuda-toolkit-9.2.88 >=dev-cpp/eigen-3.3.5-r1 >=media-libs/opencv-3.4.1-r4 >=media-plugins/frei0r-plugins-1.6.1.20190222 >=media-video/ffmpeg-3.4.5 >=media-plugins/alsa-plugins-1.1.7-r1 >=media-sound/pulseaudio-12.2 >=lxqt-base/lxqt-panel-0.13.0 >=lxqt-base/lxqt-meta-0.13.0
Emerge is still failing. After a few rounds of repeating the above my /etc/portage/package.mask is now
>=x11-drivers/nvidia-drivers-341.0.0 # The following are required to prevent the wrong nvidia-drivers being pulled in. >=dev-util/nvidia-cuda-toolkit-9.2.88 >=dev-cpp/eigen-3.3.5-r1 >=media-libs/opencv-3.4.1-r4 >=media-plugins/frei0r-plugins-1.6.1.20190222 >=media-video/ffmpeg-3.2.6 >=media-plugins/alsa-plugins-1.1.7 >=media-sound/pulseaudio-12.2 >=lxqt-base/lxqt-panel-0.13.0 >=lxqt-base/lxqt-meta-0.13.0 >=media-video/nvidia_video_sdk-6.0.1
But now I'm getting the following.
What do I need to do to stop the wrong nvidia-drivers being pulled in?
Link to comment
Share on other sites
12 answers to this question
Recommended Posts