removing nvidia-340xx-utils breaks dependency 'nvidia-utils


Total newbie.
Been working on getting Minecraft up and working for the past two weeks. This is also my first time using this flavor or Linux. Long story short I get QGLXContext: Failed to create dummy context when I try to run Minecraft. Someone else has been kind enough to let me know they think it is my graphic card. I am trying to update the drivers or even install them. I'm not sure what is installed it's called video-linux under Manjaro Settings Manager. So when I try to Auto install Proprietary Driver I get this error
Starting

Using config 'video-nvidia-440xx' for device: 0000:01:00.0 (0300:10de:1c81) Display controller nVidia Corporation GP107 [GeForce GTX 1050]

Installing video-nvidia-440xx...

Sourcing /etc/mhwd-x86_64.conf

Has lib32 support: true

Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-440xx/MHWDCONFIG

Processing classid: 0300

Sourcing /var/lib/mhwd/scripts/include/0300

Processing classid: 0302

checking dependencies...

error: failed to prepare transaction (could not satisfy dependencies)

:: removing nvidia-340xx-utils breaks dependency 'nvidia-utils' required by cuda

Error: pacman failed!

Error: script failed!

Done ...

System:
  Host: Tutor-OP Kernel: 5.4.6-2-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.2.0 Desktop: Xfce 4.14.1 Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Dell product: OptiPlex 9020 v: 01 serial: <filter> 
  Mobo: Dell model: 0N4YC8 v: A00 serial: <filter> BIOS: Dell v: A09 
  date: 11/20/2014 
CPU:
  Topology: Quad Core model: Intel Core i5-4590 bits: 64 type: MCP 
  arch: Haswell rev: 3 L2 cache: 6144 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 26349 
  Speed: 798 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 799 2: 798 
  3: 798 4: 799 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: Micro-Star MSI 
  driver: nouveau v: kernel bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.6 driver: nouveau unloaded: modesetting 
  resolution: 1920x1080~75Hz 
  OpenGL: renderer: N/A v: N/A direct render: N/A 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 01:00.1 
  Sound Server: ALSA v: k5.4.6-2-MANJARO 
Network:
  Device-1: Intel Ethernet I217-LM vendor: Dell driver: e1000e v: 3.2.6-k 
  port: f040 bus ID: 00:19.0 
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 1.83 TiB used: 36.87 GiB (2.0%) 
  ID-1: /dev/sda vendor: Seagate model: ST2000DM001-1CH164 size: 1.82 TiB 
  ID-2: /dev/sdb type: USB vendor: Kingston model: DataTraveler SE9 
  size: 14.54 GiB 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 
  bus ID: 00:1f.2 
Partition:
  ID-1: / size: 1.22 TiB used: 36.87 GiB (2.9%) fs: ext4 dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A gpu: nouveau temp: 29 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 198 Uptime: 48m Memory: 11.65 GiB used: 1.84 GiB (15.8%) 
  Init: systemd Compilers: gcc: 9.2.0 Shell: bash v: 5.0.11 inxi: 3.0.37 

Sorry for the long story but this is driving me nuts and wanted to tell all of it just in case it helps. Thanks for any help!!

---Preformatted text

please run and copy/paste here the output of mhwd -li

edit: and also just mhwd -l

mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!

mhwd -l
> 0000:01:00.0 (0300:10de:1c81) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-440xx            2019.10.25               false            PCI
    video-nvidia-435xx            2019.10.25               false            PCI
    video-nvidia-430xx            2019.10.25               false            PCI
    video-nvidia-418xx            2019.10.25               false            PCI
    video-nvidia-390xx            2019.10.25               false            PCI
           video-linux            2018.05.04                true            PCI
            video-vesa            2017.03.12                true            PCI


Thank you for the reply.

ah! it's cuda. ...which i just read past in the intial post and didn't consider the implications of at the time. uninstall cuda, uninstall video-linux, install video-nvidia-440xx, reinstall cuda.

DO NOT REBOOT AFTER UNINSTALLING video-linux UNTIL AFTER YOU HAVE INSTALLED video-nvidia-440xx. anywhere else in the sequence it doesn't matter, though you will have to do it after video-nvidia-440xx at some point.

cuda SHOULD still be in your package cache, so it won't re-download it, just use the file it already has. (i know that package is huge and uninstalling it and reinstalling it is a pain, but not as much as redownloading it would be.)

mhwd is generally pretty smart about recognizing associated packages that need to change for a driver change, but that one is one it just doesn't know how to get around. opencl is another: if you want it you should install opencl-nvidia-440xx seperately afterwards.

on the other hand, you only have to do this when changing branches: future updates to the 440 series will not require this level of manual interaction on your part.

2 Likes

Thank you. That worked in a way and I got Minecraft up and running!! When I restarted I must have messed something up with the video card drivers or not installed right. I would not boot to gui but I got the text command to come up and did a system update. It made me install cuda again. Thank you again so much, been driving me nuts all week!!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by