Manually install NVIDIA graphic card driver

Hello! I have laptop with hybrid intel-nvidia graphic card and I want to manually install nvidia driver from it’s site, version 525. How can I do that, can you help?
Why I want to install it manually?
This is new laptop, and I wanted to try another linux distro. I have two systems, Ubuntu 22.04 and Manjaro latest. In ubuntu all steam games works fine. In Manjaro there is total computer freezes in seom games (Dota 2) after 1-10 minutes. I want to try nvidia 525 driver, that works in Ubuntu. May be this helps me.

Manjaro doesn’t support installing NVIDIA drivers from third-party web sites. Only from repositories.

please post the mandatory output of

inxi --admin --verbosity=7 --filter --no-host --width

to us. what kind of driver have you chosen as you installed manjaro ?

In the first instance, you need to provide all the output, and this is missing. In addition, Manjaro does not in any way allow you to install NVIDIA drivers from any of the various companies’ websites. You only have the option here to use repositories.

there exists a way, believe me.

1 Like

I only choose “Boot with proprietary drivers” and it installed v 535
Here is my info (I just thought it wouldn’t need)

System:
  Kernel: 6.5.1-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64
    root=UUID=90304a92-9210-4883-b7ce-450fc1fb8f0b rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.7 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G614JI_G614JI v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G614JI v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: G614JI.306 date: 02/22/2023
Battery:
  ID-1: BAT0 charge: 88.1 Wh (100.0%) condition: 88.1/90.0 Wh (97.9%)
    volts: 17.5 min: 16.0 model: AS3GYFG3KC R220358 type: Unknown
    serial: <filter> status: full
Memory:
  System RAM: total: 16 GiB note: est. available: 15.25 GiB
    used: 5.26 GiB (34.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: 13th Gen Intel Core i7-13650HX bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
    microcode: 0x119
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled
    cache: L1: 1.2 MiB desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB
    L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB desc: 1x24 MiB
  Speed (MHz): avg: 2625 high: 2800 min/max: 800/4700:4900:3600 scaling:
    driver: intel_pstate governor: powersave cores: 1: 2800 2: 2800 3: 2800
    4: 2800 5: 2800 6: 2800 7: 2800 8: 1104 9: 2800 10: 1013 11: 2800 12: 2800
    13: 2800 14: 2800 15: 2800 16: 2800 17: 2800 18: 2800 19: 2800 20: 2800
    bogomips: 112160
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_lbr arch_perfmon art avx avx2 avx_vnni bmi1 bmi2
    bts clflush clflushopt clwb cmov constant_tsc cpuid cpuid_fault cx16 cx8
    de ds_cpl dtes64 dtherm dts epb ept ept_ad erms est f16c flexpriority
    flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window
    hwp_epp hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt
    invpcid lahf_lm lm mca mce md_clear mmx monitor movbe movdir64b movdiri
    msr mtrr nonstop_tsc nopl nx ospke pae pat pbe pclmulqdq pdcm pdpe1gb pebs
    pge pku pln pni popcnt pse pse36 pts rdpid rdrand rdseed rdtscp rep_good
    sdbg sep serialize sha_ni smap smep split_lock_detect ss ssbd sse sse2
    sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust
    tsc_deadline_timer tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid
    waitpkg x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics vendor: ASUSTeK driver: i915
    v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+ ports:
    active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 0000:00:02.0
    chip-ID: 8086:a78b class-ID: 0300
  Device-2: NVIDIA AD106M [GeForce RTX 4070 Max-Q / Mobile] vendor: ASUSTeK
    driver: nvidia v: 535.104.05 alternate: nouveau,nvidia_drm non-free: 535.xx+
    status: current (as of 2023-08) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022-23+ bus-ID: 0000:01:00.0
    chip-ID: 10de:2860 class-ID: 0300
  Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:4 chip-ID: 322e:2122
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia alternate: fbdev,nouveau,nv,vesa dri: iris
    gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1600 s-dpi: 96 s-size: 677x423mm (26.65x16.65")
    s-diag: 798mm (31.43")
  Monitor-1: eDP-1 model: TL160ADMP03-0 built: 2022 res: 2560x1600 hz: 240
    dpi: 188 gamma: 1.2 size: 345x215mm (13.58x8.46") diag: 407mm (16")
    ratio: 16:10 modes: 2560x1600
  API: OpenGL v: 4.6 Mesa 23.1.6-3 renderer: Mesa Intel Graphics (RPL-S)
    direct-render: Yes
Audio:
  Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel
    alternate: snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:7a50
    class-ID: 0403
  Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 0000:01:00.1 chip-ID: 10de:22bd class-ID: 0403
  API: ALSA v: k6.5.1-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.79 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 0000:00:14.3
    chip-ID: 8086:7a70 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel port: 4000 bus-ID: 0000:6c:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp108s0 state: down mac: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-14:5 chip-ID: 8087:0033 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel
    driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f rev:
    class-ID: 0104
Drives:
  Local Storage: total: 953.87 GiB used: 64.35 GiB (6.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA1T0QFM
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: V3MA003 temp: 35.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 204.61 GiB size: 200.34 GiB (97.91%) used: 10.4 GiB (5.2%)
    fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4 label: N/A
    uuid: 90304a92-9210-4883-b7ce-450fc1fb8f0b
  ID-2: /boot/efi raw-size: 487 MiB size: 486 MiB (99.80%)
    used: 5.4 MiB (1.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: CEEA-6C23
  ID-3: /mnt/ubuntu-home raw-size: 683.59 GiB size: 671.79 GiB (98.27%)
    used: 53.95 GiB (8.0%) fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
    uuid: 0cfe708f-55da-4e8f-ad84-eaffc800dea4
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 65.19 GiB fs: ext4 label: N/A
    uuid: f7efa9f1-223e-4a12-8062-e96d1168f53c
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: ASUSTek N-KEY Device type: keyboard
    driver: asus,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 0b05:19b6 class-ID: 0301
  Device-2: 1-6:3 info: A4Tech USB Device type: keyboard,mouse,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 500mA chip-ID: 09da:faed class-ID: 0300
  Device-3: 1-8:4 info: Sonix USB2.0 HD UVC WebCam type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 322e:2122 class-ID: 0e02
  Device-4: 1-14:5 info: Intel type: bluetooth driver: btusb interfaces: 2
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
    chip-ID: 8087:0033 class-ID: e001
  Hub-2: 2-0:1 info: super-speed hub ports: 10 rev: 3.1
    speed: 20 Gb/s (2.33 GiB/s) lanes: 2 mode: 3.2 gen-2x2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 36.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 0
Info:
  Processes: 463 Uptime: 3h 49m wakeups: 18 Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1123 libs: 322 tools: pamac pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.29

I found out, that ubuntu freeze laptop too.

In ubuntu nvidia-settings there is menu item, “prime profiles”

. And if I select “on-demand” - there is freezes. If I select “Performance mode” - all is fine.
The same I can do with prime-select command line utility. Is there something similar in Manjaro?

Ubuntu drivers do not work the same way as Nvidia drivers on Manjaro.

Depending on what you want to achieve there are manua lconfigurations you can do, but the easy way is to install the hybrid driver, which you already do, and if you want to use Nvidia for a gmae for example, then you start the game with the prime-run command.

prime-run doesn’t help. I added in the steam prime-run %command%. Laptop still freezes.
Ok, thanks to all for replies

Provide output for
glxinfo | grep 'OpenGL renderer' and
prime-run glxinfo | grep 'OpenGL renderer'

GUI tool nvidia-settings is available from Manjaro extra repository

OpenGL renderer string: Mesa Intel(R) Graphics (RPL-S)
OpenGL renderer string: NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2

I already checked that and it worked correctly

Yes, I know, But there is no menu item “PRIME PROFILES” that helps me on ubuntu

Also if it crashes then you need to investigate why, the Steam log (start Steam from terminal) may help.
Prime Run works as intended from the log your provide.

Driver may not be the issue here, the famous X Y Problem…

Another random thing to try as that what we’re doing, use current LTS 6.1 kernel?