Nvidia display drivers

when i run mhwd nothing happens…? When I made the os i didnt know whether to choose Open-Source drivers or Propriety drivers so I chose open-source - do I have to remake or something?

What is your goal?

to be able to have the right nvidia drivers; if i change the display to 144hz my screen starts flickering and dims, but i dont want this to happen so I need the drivers

This should do it…

sudo mhwd --auto pci nonfree 0300

On the GUI… well you need to apply it :wink:

Error: invalid use of option: -a/--auto

What system do you have?

inxi -Fazy

Otherwise read this: Configure Graphics Cards - Manjaro

EDIT: sorry my failure… it have to be nonfree not unfree xD

System:
  Kernel: 5.13.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=4dabba46-d73a-4342-96f5-859c2418cd86 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: Gigabyte product: B460MDS3H v: N/A serial: <filter> 
  Mobo: Gigabyte model: B460M DS3H v: x.x serial: <filter> 
  UEFI: American Megatrends v: F3 date: 05/27/2020 
CPU:
  Info: 6-Core model: Intel Core i5-10500 bits: 64 type: MT MCP 
  arch: Comet Lake family: 6 model-id: A5 (165) stepping: 3 microcode: EA 
  cache: L2: 12 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 74427 
  Speed: 3050 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 3050 2: 2212 
  3: 1428 4: 852 5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Micro-Star MSI 
  driver: nouveau v: kernel alternate: nvidia_drm,nvidia bus-ID: 01:00.0 
  chip-ID: 10de:1c82 class-ID: 0300 
  Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
  loaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: HDMI-1 res: 1920x1080 hz: 60 dpi: 94 size: 521x293mm (20.5x11.5") 
  diag: 598mm (23.5") 
  OpenGL: renderer: NV137 v: 4.3 Mesa 21.2.1 direct render: Yes 
Audio:
  Device-1: Intel vendor: Gigabyte driver: snd_hda_intel v: kernel 
  alternate: snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a3f0 
  class-ID: 0403 
  Device-2: NVIDIA GP107GL High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 10de:0fb9 
  class-ID: 0403 
  Device-3: Corsair CORSAIR HS60 HAPTIC Gaming Headset type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-6:5 chip-ID: 1b1c:0a5f 
  class-ID: 0300 
  Sound Server-1: ALSA v: k5.13.13-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Gigabyte driver: r8169 v: kernel port: 4000 bus-ID: 03:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  Device-2: Realtek RTL8192EE PCIe Wireless Network Adapter driver: rtl8192ee 
  v: kernel port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:818b class-ID: 0280 
  IF: wlp4s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 1.02 TiB used: 14.22 GiB (1.4%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Gigabyte model: GP-GSTFS31120GNTD 
  size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  type: SSD serial: <filter> rev: 61.3 scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM010-2EP102 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  type: HDD rpm: 7200 serial: <filter> rev: CC43 scheme: MBR 
Partition:
  ID-1: / raw-size: 111.49 GiB size: 109.18 GiB (97.93%) 
  used: 14.22 GiB (13.0%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 27.8 C mobo: 16.8 C gpu: nouveau temp: 37.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 267 Uptime: 1h 25m wakeups: 0 Memory: 15.56 GiB 
  used: 1.79 GiB (11.5%) Init: systemd v: 248 tool: systemctl Compilers: 
  gcc: N/A Packages: pacman: 1152 lib: 331 flatpak: 0 Shell: Bash v: 5.1.8 
  running-in: xfce4-terminal inxi: 3.3.06

I ran this;

sudo mhwd -a pci nonfree 0300

and it worked

1 Like

what do i do with this?

[caeden@caeden-b460mds3h ~]$ sudo mhwd -a pci nonfree 0300
> Using config 'video-nvidia' for device: 0000:01:00.0 (0300:10de:1c82) Display controller nVidia Corporation GP107 [GeForce GTX 1050 Ti]
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronising package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
warning: nvidia-utils-470.63.01-1 is up to date -- skipping
warning: linux414-nvidia-470.63.01-3 is up to date -- skipping
warning: linux513-nvidia-470.63.01-5 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...

Packages (1) lib32-nvidia-utils-470.63.01-1

Total Download Size:    39.36 MiB
Total Installed Size:  115.56 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
Y
 lib32-nvidia-utils-470.63.01-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing lib32-nvidia-utils...
Optional dependencies for lib32-nvidia-utils
    lib32-opencl-nvidia
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
nvidia-utils: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
linux414-nvidia: install reason has been set to 'explicitly installed'
linux513-nvidia: install reason has been set to 'explicitly installed'
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
> Successfully installed video-nvidia

after running the command nothing has changed - switching to 144hz still glitches, running mhwd did nothing, still cant run nvidia

You need to reboot normally or just unload nouveau, load nvidia and restart Xorg. However… for a Newbie the safest way is just a reboot.

oh sweet the restart worked! cheers!

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