Inxi -G result for Nvidia driver as N/A

BTW, you can use the --prime option in nvidia-inst to add the nvidia-prime package.

Also, can you show the output of

inxi -zaGC
1 Like

OK, I installed nvidia noveau driver and after rebooting the output to inxi -Ga was that the noveau is an alternative. After installing the non-free driver, rebooting this is the output to inxi -Ga:

Graphics:
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:591b
    class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: N/A
    alternate: nouveau non-free: 530.xx+ status: current (as of 2023-03)
    arch: Pascal code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-12:5 chip-ID: 0c45:6713 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell v: 43.4 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Sharp 0x1476 built: 2016 res: 3840x2160 dpi: 282
    gamma: 1.2 size: 346x194mm (13.62x7.64") diag: 397mm (15.6") ratio: 16:9
    modes: 3840x2160
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes
CPU:
  Info: model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake
    gen: core 7 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 9 microcode: 0xF0
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2300 high: 2800 min/max: 800/3800 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 2800 3: 2800
    4: 2800 5: 2800 6: 2800 7: 800 8: 2800 bogomips: 44817
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  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 HD Graphics 630 vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:591b
    class-ID: 0300
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] vendor: Dell driver: N/A
    alternate: nouveau non-free: 530.xx+ status: current (as of 2023-03)
    arch: Pascal code: GP10x process: TSMC 16nm built: 2016-21 pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1c8d class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-12:5 chip-ID: 0c45:6713 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell v: 43.4 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Sharp 0x1476 built: 2016 res: 3840x2160 dpi: 282
    gamma: 1.2 size: 346x194mm (13.62x7.64") diag: 397mm (15.6") ratio: 16:9
    modes: 3840x2160
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes

Okay so now it’s showing nouveau open source driver is alternative for the Nvidia card and is rendering on Intel. I wonder now if you can install the nvidia drivers and prime with the installer. Then see if it actually shows the nvidia driver this time. I’m just not sure whether you need the kernel parameter nvidia-drm.modeset=1 added. Are you using grub or systemd boot?

If you try to install nvidia now use this command and it should install prime with it.

nvidia-inst --prime 

https://discovery.endeavouros.com/nvidia/new-nvidia-driver-installer-nvidia-inst/2022/03/

I installed envy controlled switched to NVIDIA and now actually managed to switch to NVIDIA. and I went to etc/modprobe.d/nvidia.conf and it contained this

# Automatically generated by EnvyControl

options nvidia-drm modeset=1
options nvidia NVreg_PreserveVideoMemoryAllocations=1

and I am running GRUB.

Perfect … nvcontrol is another one and if that works for you then that’s great. So when it is rendering on the Intel does it show the nvidia driver installed or only when you switch to nvidia?

Edit: I misread the output above thinking it showed nouveau installed. That’s why i wonder if it only shows when you switch.

This is the output of inxi -Ga when I boot with Intel:

Graphics:
  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:591b
    class-ID: 0300
  Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
    bus-ID: 1-12:5 chip-ID: 0c45:6713 class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell v: 43.4 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: Sharp 0x1476 built: 2016 res: 3840x2160 dpi: 282
    gamma: 1.2 size: 346x194mm (13.62x7.64") diag: 397mm (15.6") ratio: 16:9
    modes: 3840x2160
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel HD Graphics 630 (KBL
    GT2) direct-render: Yes

If you are using optimus-manager with gnome you need to install gdm-prime and you need to edit the file /etc/gdm/custom.confand remove the#before the line#WaylandEnable=false`.

to use the Nvidia GPU you need to run the command optimus-manager --switch nvidia

This will log you out and when you log back in you will be using the Nvidia GPU

I am running envycontrol the issue is even when NVIDIA is selected on reboot it says NVIDIA but inxi -Ga is saying that it’s running on Intel bit of a finicky issue

You could try removing the Intel driver module (rmmod i915) when using Nvidia.
If that does not work, try blacklisting i915.

If that works, we can see how to automate the process.

Uh, sorry can you please provide instructions?

Try first command

sudo rmmod i915
1 Like

After doing that, what’s the inxi output?

sudo rmmod i915

rmmod: ERROR: Module i915 is in use

Now we have a new problem. I tried to switch from Linux-lts and Linux lts headers to main linux kernel and I dont know how to restore from timeshift in Grub commandline.

I’m not using timeshift so hopefully someone else can help with that.

1 Like

Could you try installing 390 drivers? I saw a similar thread in Reddit in which it turned out that the 1050 is actually not an 1050 but an older GPU spoofed as a new GPU, requiring older drivers.

on hybrid optimus systems it will never boot on Nvisdia on its own… youo may can set Nvidia on by default in Bios or set configuration to only use Nvidiia as you can follow on archwiki…
The default if Nvidia driver is installed is indeed that it will boot on intel igpu and you can switch on the Nvidia GPU manually.

xrandr --setprovideroffloadsink nvidia Intel

https://wiki.archlinux.org/title/PRIME#PRIME_render_offload
https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only

Or set up one of the switching helpers:
https://discovery.endeavouros.com/?s=optimus

It would not switch to the NVIDIA gpu at all even if I switched to NVIDIA and reboot it would still be running on Intel.

I am not sure if you are talking about a desktop or a laptop. I am using a Dell XPS 15 9560.