I'm trying to play a few games, eg. Minecraft, using my discrete GPU.
I have tried Bumblebee, prime, primus and nothing seems to work on my laptop. I did it on my own and I might have missed a step or messed something up.
Can someone help me?
My inxi -Fza:
System: Kernel: 5.12.12-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=1af946aa-7cac-477e-9635-572097cd1bf7 rw rootflags=subvol=@ quiet splash
rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
loglevel=3
Desktop: KDE Plasma 5.22.2 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 2
dm: GDM 40.0 Distro: Garuda Linux base: Arch Linux
Machine: Type: Laptop System: HP product: OMEN by HP Laptop 17-an0xx v: N/A serial: <filter>
Chassis: type: 10 serial: <filter>
Mobo: HP model: 8392 v: 40.28 serial: <filter> UEFI: American Megatrends v: F.19
date: 04/18/2019
Battery: ID-1: BAT0 charge: 58.9 Wh (79.3%) condition: 74.3/74.3 Wh (100.0%) volts: 15.7
min: 14.6 model: HP Primary type: Li-ion serial: N/A status: Unknown
CPU: Info: Quad Core model: Intel Core i7-7700HQ bits: 64 type: MT MCP arch: Kaby Lake
family: 6 model-id: 9E (158) stepping: 9 microcode: EA cache: L2: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 44798
Speed: 3562 MHz min/max: 800/3800 MHz Core speeds (MHz): 1: 3562 2: 3221 3: 3533
4: 3244 5: 3532 6: 3436 7: 3580 8: 3328
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: 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: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel HD Graphics 630 vendor: Hewlett-Packard driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:591b class-ID: 0300
Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Hewlett-Packard
driver: N/A alternate: nouveau bus-ID: 01:00.0 chip-ID: 10de:1c8c class-ID: 0300
Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera type: USB
driver: uvcvideo bus-ID: 1-6:4 chip-ID: 05c8:03ab class-ID: 0e02
Display: x11 server: X.Org 1.20.11 compositor: kwin_x11 driver: loaded: modesetting
alternate: fbdev,intel,vesa display-ID: :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: eDP-1 res: 1920x1080 hz: 60 dpi: 128 size: 381x214mm (15.0x8.4")
diag: 437mm (17.2")
OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 21.1.3
direct render: Yes
Audio: Device-1: Intel CM238 HD Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a171 class-ID: 0403
Device-2: Kingston HyperX 7.1 Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1:10 chip-ID: 0951:16a4
class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.12.12-zen1-1-zen running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: no
Sound Server-4: PipeWire v: 0.3.30 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Hewlett-Packard driver: r8169 v: kernel port: d000 bus-ID: 3b:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: d000 bus-ID: 3c:00.0
chip-ID: 8086:095a class-ID: 0280
IF: wlo1 state: up mac: <filter>
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-7:5 chip-ID: 8087:0a2a class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 4 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter>
Drives: Local Storage: total: 1.14 TiB used: 541.85 GiB (46.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLW256HEHP-000H1
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
rotation: SSD serial: <filter> rev: CXB73H1Q scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD
serial: <filter> rev: 4B6Q scheme: MBR
Partition: ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%) used: 150.05 GiB (63.0%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 560 KiB (0.2%)
fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%) used: 150.05 GiB (63.0%)
fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 150.05 GiB (63.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
used: 150.05 GiB (63.0%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap: Kernel: swappiness: 10 (default 60) cache-pressure: 75 (default 100)
ID-1: swap-1 type: zram size: 1.94 GiB used: 109.3 MiB (5.5%) priority: 32767
dev: /dev/zram0
ID-2: swap-2 type: zram size: 1.94 GiB used: 103 MiB (5.2%) priority: 32767
dev: /dev/zram1
ID-3: swap-3 type: zram size: 1.94 GiB used: 103.1 MiB (5.2%) priority: 32767
dev: /dev/zram2
ID-4: swap-4 type: zram size: 1.94 GiB used: 105.4 MiB (5.3%) priority: 32767
dev: /dev/zram3
ID-5: swap-5 type: zram size: 1.94 GiB used: 102.1 MiB (5.1%) priority: 32767
dev: /dev/zram4
ID-6: swap-6 type: zram size: 1.94 GiB used: 104.8 MiB (5.3%) priority: 32767
dev: /dev/zram5
ID-7: swap-7 type: zram size: 1.94 GiB used: 105.7 MiB (5.3%) priority: 32767
dev: /dev/zram6
ID-8: swap-8 type: zram size: 1.94 GiB used: 100.7 MiB (5.1%) priority: 32767
dev: /dev/zram7
Sensors: System Temperatures: cpu: 61.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 297 Uptime: 15h 50m wakeups: 8 Memory: 15.51 GiB used: 5.76 GiB (37.1%)
Init: systemd v: 248 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.0 Packages:
pacman: 1827 lib: 512 Shell: fish v: 3.2.2 running-in: alacritty inxi: 3.3.04
I will be updating this guide from time to time with new information as I come accross it or correct old mis/information that exist as I wrote this while being a newbie. So check back every month or so if you need.
Garuda Linux by default is configured to provide the best performance out of the box on your Desktop machine. With a little setup you can use garuda on your laptop just fine as well.
My laptop has an i7 9750H processor which on the default pstate driver thermal throttles very badly…
Always use search or post exactly what you try to fix your problem, please.
And thanks alot for the inxi
1 Like
With a forum search, you can also see that several users have the same GPU with Nvidia graphical driver, while in your case it’s still none.
Did you try to install your driver? And how?
Maybe you could check what is proposed in the Garuda assistant HW.
You could also check this one, also suggested in the guide above.
So many times we talked about this... Garuda tried add nvidia-tkg into the chaotic-aur, but results was terrible, me too faced issues, BUT if you install nvidia-all manually it's much better!
nvidia-all can bring significantly more performance!
There is a guide how to install nvidia-all
git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all
makepkg -si
Installer will run, you will see this:
.---.` `.---.
`/syhhhyso- -osyhhhys/`
.sy…
2 Likes
Thank you for your answer.
I tried many different ways.
Right now I tried following the guide SGS sent. But when I get to the part where I run lsmod | grep nvidia
nothing returns.
In /etc/mkinitcpio.conf
the modules line is now this:
MODULES=(crc32c-intel nvidia)
Then I run sudo mkinitcpio -P
as instructed and this is the output:
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.10.47-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.10.47-1-lts
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'default'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq.img
==> Starting build: 5.13.0-173-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'fallback'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq-fallback.img -S autodetect
==> Starting build: 5.13.0-173-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.12.14-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.12.14-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
I noticed the line:
==> ERROR: module not found: `nvidia'
Ok. I think you necessarily need to succeed to install the drivers before
1 Like
After installing the Nvidia-all - Frogging-Family drivers git
I followed the guide on their github. And no errors surfaced then.
Then I ran:
sudo mkinitcpio -P
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'default'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq.img
==> Starting build: 5.13.0-173-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-tkg-bmq.preset: 'fallback'
-> -k /boot/vmlinuz-linux-tkg-bmq -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-tkg-bmq-fallback.img -S autodetect
==> Starting build: 5.13.0-173-tkg-bmq
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-tkg-bmq-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
==> Starting build: 5.12.14-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'fallback'
-> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen-fallback.img -S autodetect
==> Starting build: 5.12.14-zen1-1-zen
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
-> Running build hook: [plymouth]
-> Running build hook: [filesystems]
==> ERROR: module not found: `nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-zen-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
As you can see, this error occoured again: ERROR: module not found: `nvidia'
Also running lsmod | grep nvidia
returns nothing.
I'm afraid this far beyond my reach.
Just out of curiosity, have you tried to check the system status using kernel 5.13.0-173-tkg-bmq
?
Maybe I'm wrong, but it seems to me that the error is appearing only in the zen part of the processing...
2 Likes
When you installed garuda did you have fast boot enabled in your bios as i have had similar problems if you reinstall with it disabled as per garuda installation instructions all should be well .
1 Like
The tutorial you have used is unofficial and not suggested or supported by Garuda.
Reverse/undo what you did and use Garuda Hardware Manager.
Use Auto-Install proprietary nvidia drivers.
You may have messed up your system, regarding video drivers. You need to go safe for such issues. Read and research about your options, starting from Garuda wiki/forum/utilities.
3 Likes
This seems to be the solution
I changed the kernel, and updated everything using Garuda Assistant.
Then proceeded with the first guide
Everything looks to be fine now!
Thank you all for your support.
1 Like
system
Closed
8 July 2021 13:22
11
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.