Unable to use dedicated graphics on razer blade 15 2019 edition

I feel ya.

Can’t help you though. Sorry.

For one thing your BIOS is pretty old. Is an update available ?

Nope, v1.05 is the latest version from the looks of things
Its probably from the time the laptop was released
https://drivers.razersupport.com//index.php?_m=downloads&_a=view&parentcategoryid=864&pcid=860&nav=0,350,860

Ok, so update, ive messed about a bit (mainly hard uninstalling everything related to graphics and reinstalling), and now inxi DOES report a driver

System:
  Kernel: 6.3.5-lqx1-1-lqx arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: audit=0 intel_pstate=disable hpet=disable
    rcupdate.rcu_expedited=1 BOOT_IMAGE=/boot/vmlinuz-linux-lqx
    root=UUID=c60532ad-35bc-454c-8f98-883a89db32a0 rw quiet splash
    resume=UUID=1050dceb-915e-4540-b9f5-49f15ae02214 udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Razer product: Blade v: 3.04
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Razer model: CH530 serial: <superuser required> UEFI: Razer v: 1.05
    date: 09/19/2019
Battery:
  ID-1: BAT0 charge: 63.2 Wh (83.8%) condition: 75.4/80.2 Wh (94.0%)
    volts: 17.5 min: 15.4 model: Razer Blade type: Unknown serial: <filter>
    status: charging
Memory:
  System RAM: available: 15.52 GiB used: 4.54 GiB (29.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xA (10) microcode: 0xF0
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 1058 high: 1300 min/max: 800/2601 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 1300 2: 1300 3: 1295
    4: 1293 5: 1157 6: 1185 7: 800 8: 800 9: 800 10: 800 11: 900 12: 1072
    bogomips: 62399
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt 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 fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  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: IBRS, IBPB: conditional, STIBP: conditional,
    RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Razer USA
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:3e9b
    class-ID: 0300
  Device-2: NVIDIA TU106M [GeForce RTX 2070 Mobile] vendor: Razer USA
    driver: nvidia v: 525.116.04 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-05) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 01:00.0 chip-ID: 10de:1f10 class-ID: 0300
  Device-3: IMC Networks Integrated Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:4 chip-ID: 13d3:56d5
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
    compositor: kwin_x11 driver: X: loaded: modesetting dri: iris gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: Sharp LQ156M1JW08 built: 2019 res: 1920x1080
    hz: 240 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2) direct-render: Yes
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Razer USA driver: snd_hda_intel
    v: kernel alternate: snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348
    class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: Razer USA
    driver: snd_hda_intel v: kernel pcie: speed: Unknown lanes: 63 link-max:
    gen: 6 speed: 64 GT/s bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
  API: ALSA v: k6.3.5-lqx1-1-lqx 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.70 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:3 chip-ID: 8087:0029
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 313.63 GiB (65.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB512HAJQ-00000
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: EXA7301Q temp: 38.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 459.57 GiB size: 451.28 GiB (98.20%)
    used: 313.63 GiB (69.5%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: c60532ad-35bc-454c-8f98-883a89db32a0
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 7E41-9CA0
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 17.07 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
    uuid: 1050dceb-915e-4540-b9f5-49f15ae02214
Unmounted:
  Message: No unmounted partitions found.
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: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-5:3 info: Intel AX200 Bluetooth 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:0029 class-ID: e001
  Device-3: 1-7:4 info: IMC Networks Integrated Camera type: video
    driver: uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 500mA chip-ID: 13d3:56d5 class-ID: 0e02 serial: <filter>
  Device-4: 1-8:5 info: Razer USA Blade 15 (Mid 2019) Mercury
    type: keyboard,mouse driver: razerkbd,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
    chip-ID: 1532:0245 class-ID: 0300
  Hub-2: 2-0:1 info: super-speed hub ports: 8 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
  Hub-3: 5-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: 6-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: 49.0 C pch: 51.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 309 Uptime: 17m wakeups: 15373 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1837 pm: pacman pkgs: 1775 libs: 466 tools: gnome-software,pamac
  pm: flatpak pkgs: 62 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: konsole inxi: 3.3.27

inxi reports the ssame installed driver as before
however the core issue still remains of the nvidia x-server settings being empty
any suggestions?

None at all. Sorry.

I think ive found the root of the problem, running “sudo demsg” gives me this towards the end

[   11.459160] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  525.116.04  Thu Apr 27 17:56:37 UTC 2023
[   11.461188] NVRM: API mismatch: the client has the version 530.41.03, but
               NVRM: this kernel module has the version 525.116.04.  Please
               NVRM: make sure that this kernel module and all NVIDIA driver
               NVRM: components have the same version.

does anyone know how to rectify this?

What is tthe output of:

pamac list --installed  | grep --ignore-case nvidia
lib32-nvidia-utils                           530.41.03-1                   multilib    194.5 MB
linux61-nvidia                               530.41.03-11                  extra       53.8 MB
linux63-nvidia                               530.41.03-9                   extra       54.2 MB
mhwd-nvidia                                  530.41.03-4                   extra       1.6 kB
mhwd-nvidia-390xx                            390.157-6                     extra       1.9 kB
mhwd-nvidia-470xx                            470.182.03-2                  extra       1.8 kB
nvidia-prime                                 1.0-4                         extra       112 bytes
nvidia-settings                              530.41.03-3                   extra       1.6 MB
nvidia-utils                                 530.41.03-4                   extra       690.8 MB
opencl-nvidia                                530.41.03-4                   extra       80.5 MB

How did you go about getting it installed?

Because it looks like the same version to me.

I used the standard automatic install tools using mhwd
But the issue is that the kernel module is v525 and all the other software is v530

That’s why I asked…

Try removing all things nvidia:

pamac remove $(pamac list --quiet --installed  | grep --ignore-case nvidia)

And then reinstalling again with mwhd as you mentioned you used.

I really don’t know what effect, if any this will have. It is, however, all I can think of.)

Preparing...
Checking dependencies...
Error: Failed to prepare transaction:
could not satisfy dependencies:
- removing mhwd-nvidia breaks dependency 'mhwd-nvidia>=455' required by mhwd-db
- removing mhwd-nvidia-390xx breaks dependency 'mhwd-nvidia-390xx' required by mhwd-db
- removing mhwd-nvidia-470xx breaks dependency 'mhwd-nvidia-470xx' required by mhwd-db

sooooo thats not gonna work, im gonna try removing them with mhwd

Do it one by one. And skip the ones with the mhwd- prefix.

That didnt fix it.
is there a way to manualy install kernel module v530 or downgrade the other software to v525

I honestly have absolutely no idea.

Perhaps @bogdancovaciu, @megavolt, or @Fabby knows, or know who knows. But me? Nope, nadda.

Sorry dude.

I think i got somewhere?
I think i might have a functional nvidia driver installed.
I decided to download the v530 .run file from nvidia. After rebooting i had no display output at first, but then i plugged in a external monitor and both the built in display and external display came on. Im pretty sure the internal display can currently only run on integrated graphics, but the external was running on dedecated. After another reboot, this time without the external display, i am now back to running intel graphics according to glxinfo, however my nvidia x-server settings now show the nvidia gpu (but not a method to switch between them). I think the last things i need to do are configure the nvidia cards output, and implement a method of switching between them.

Update, prime run works

prime-run glxinfo | grep -i "renderer string"                                                                                              
OpenGL renderer string: NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
glxinfo | grep -i "renderer string"                                                                                                        
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

Well, color me impressed! Very well done!

Just keep in mind:

You’ll need to reinstall it every time after your kernel gets updated or changed, or some such. Because it’s not a *-dkms package. And you didn’t install it using pacman, pamac or mwhd so Manjaro doesn’t know about it, either.

yes i am aware of this, the installer actualy had an option to add it to dkms but it errored when i tried.

1 Like

Then it seems all’s good.