Hello @petersilva, for your system, it's pointless to try to use both PPAs because Intel/Haswell has an incomplete vulkan implementation and will cause you trouble with dxvk. Use ppa-purge to clean up padoka PPA and focus on trying to get the nvidia driver working.
I tried it, and result was unchanged. perhaps the repos are just in a bad way, will wait a day or two?
You should try remove all PPA's and try just using the nvidia PPA. Using both will cause conflicts as shown
yes. that is what I did:
ppa-purge ppa:paulo-miguel-dias/mesa
ppa-purge ppa:graphics-drivers/ppa
apt update
apt dist-upgrade
add-apt-repository ppa:graphics-drivers/ppa
apt update
apt dist-upgrade
apt install nvidia-driver-396
same thing/no change.
Try apt install nvidia-396 instead, and after purging your ppa's try apt purge nvidia* too just to make sure your not holding any packages
just to note, though I get the message about packages held, I can't find any...
blacklab% dpkg --get-selections | grep hold
blacklab%
nvidia-396...
blacklab% apt install nvidia-396
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nvidia-396
blacklab%
blacklab% dpkg -l | grep nvidia
ii bumblebee-nvidia 3.2.1-17 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii libnvidia-cfg1-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-390 390.77-0ubuntu0~gpu18.04.1 all Shared files used by the NVIDIA libraries
ii libnvidia-compute-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA libcompute package
ii libnvidia-decode-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-fbc1-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-390:amd64 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii libnvidia-ifr1-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nvidia-375 384.111-0ubuntu1 amd64 Transitional package for nvidia-384
ii nvidia-384 390.77-0ubuntu0~gpu18.04.1 amd64 Transitional package for nvidia-driver-390
ii nvidia-compute-utils-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA compute utilities
ii nvidia-dkms-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA DKMS package
ii nvidia-driver-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA driver metapackage
ii nvidia-kernel-common-390 390.77-0ubuntu0~gpu18.04.1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.8 all Tools to enable NVIDIA's Prime
ii nvidia-settings 396.54-0ubuntu0~gpu18.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-390 390.77-0ubuntu0~gpu18.04.1 amd64 NVIDIA binary Xorg driver
blacklab%
I found it... I needed to purge the compute library, which I guess is missing in the new PPA stuff, so there was no upgrade path.
blacklab% dpkg -l | grep nvidia| grep i386
ii libnvidia-compute-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA libcompute package
ii libnvidia-decode-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVENC Video Encoding runtime library
ii libnvidia-fbc1-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-390:i386 390.77-0ubuntu0~gpu18.04.1 i386 NVIDIA OpenGL-based Inband Frame Readback runtime library
blacklab% **apt purge libnvidia-compute-390**
after purging libnvidia-compute-390, the install is no longer stuck.
too soon... more issues...
Preparing to unpack .../xserver-xorg-video-nvidia-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb ...
Unpacking xserver-xorg-video-nvidia-396 (396.54-0ubuntu0~gpu18.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/xserver-xorg-video-nvidia-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so', which is also in package xserver-xorg-video-nvidia-390 390.77-0ubuntu0~gpu18.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/xserver-xorg-video-nvidia-396_396.54-0ubuntu0~gpu18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
blacklab%
still failed to install any 396 stuff.
% apt remove xserver-xorg-video-nvidia-390
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
libgl1 : Depends: libglx0 (= 1.0.0-2ubuntu2.1) but it is not going to be installed
libwayland-egl1-mesa : Depends: libegl1 but it is not going to be installed
xserver-xorg-core : Depends: libegl1-mesa but it is not going to be installed or
libegl1 but it is not going to be installed
xserver-xorg-input-all : Depends: xserver-xorg-input-libinput but it is not going to be installed
Recommends: xserver-xorg-input-wacom but it is not going to be installed
xserver-xorg-video-all : Depends: xserver-xorg-video-amdgpu but it is not going to be installed
Depends: xserver-xorg-video-ati but it is not going to be installed
Depends: xserver-xorg-video-fbdev but it is not going to be installed
Depends: xserver-xorg-video-nouveau but it is not going to be installed
Depends: xserver-xorg-video-vesa but it is not going to be installed
Depends: xserver-xorg-video-vmware but it is not going to be installed
Recommends: xserver-xorg-video-intel but it is not going to be installed
Recommends: xserver-xorg-video-qxl but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
blacklab%
And after doing the ppa add and dist-upgrade you're not getting the new drivers available for install? My upgrade was following a fresh install so i'm not sure how much the packages differ between versions
OK... they finally installed...
dpkg --force-depends --remove libnvidia-cfg1-390 libnvidia-compute-390 libnvidia-decode-390 libnvidia-encode-390 libnvidia-fbc1-390 libnvidia-fbc1-390 libnvidia-fbc1-390 xserver-xorg-video-nvidia-390
dpkg --remove bumblebee-nvidia
then install of 396 worked, and group add bumblebee-nvidia back... and installs... going to reboot...
should also be able to do nvidia-smi to ensure you have correct versions of things detected, if you do then you should be good to go!
rebooted, and counter-strike runs (with __GLVND_DISALLOW_PATCHING=1, as before) so it is at least parity with before. dpkg says all 396, otoh:
blacklab% nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running
blacklab%
Fallout shelter crashed on start up (steam says it's running, but ps shows only a wineserver. killed that, still says it is running... so I don't know if installation is a success or not.
Check for python running, killing that will stop the steam detection. Fallout Shelter works fine for me though
OK, never mind, it works fine once I addes to set launch options...
__GLVND_DISALLOW_PATCHING=1 primusrun %command%
so in the end, it is working as advertised.
proton 3.7x1 2018-08
Your system information
Please describe your issue in as much detail as possible:
Core i7-4710HQ with Intel graphics, Nvidia GTX-860M
lspci says:
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev ff)
Tried this: https://github.com/ValveSoftware/Proton/blob/proton_3.7/PREREQS.md
It says for people with Nvidia, add a certain repo, and for intel add another.
I added both, installed the intel vulkan drivers, but when I went to install the nvidia
drivers
he following packages have unmet dependencies:
Steps for reproducing this issue: