Can't shutdown properly an optimus laptop

hello,

recently i installed the non free drivers and rebooted the optimus laptop

apparently everything goes fine…

but when i tried to shutdown the laptop i noticed that it freezes and it goes stucked on a black screen…

later i turn on the laptop and i executed in the terminal

`[noah-PC willpower]# journalctl -p 2

-- Logs begin at Sun 2020-08-23 17:01:36 CEST, end at Mon 2020-08-24 10:16:00 CEST. -- ago 23 18:33:30 noah-PC kernel: watchdog: watchdog0: watchdog did not stop! -- Reboot -- ago 23 18:38:23 noah-PC kernel: watchdog: watchdog0: watchdog did not stop! -- Reboot -- ago 23 20:36:31 noah-PC kernel: watchdog: watchdog0: watchdog did not stop! -- Reboot -- ago 23 23:43:08 noah-PC kernel: watchdog: watchdog0: watchdog did not stop! -- Reboot -- ago 23 23:53:20 noah-PC kglobalaccel5[1998]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[noah-PC willpower]# journalctl -p 3 -- Logs begin at Sun 2020-08-23 17:01:36 CEST, end at Mon 2020-08-24 10:15:34 CEST. -- ago 23 17:01:36 noah-PC kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.GPLD], AE_ALREADY_EXISTS (20200110/dswload2-326) ago 23 17:01:36 noah-PC kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200110/psobject-220) ago 23 17:01:36 noah-PC kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.TPLD], AE_ALREADY_EXISTS (20200110/dswload2-326) ago 23 17:01:36 noah-PC kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200110/psobject-220) ago 23 17:01:36 noah-PC kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.GUPC], AE_ALREADY_EXISTS (20200110/dswload2-326) ago 23 17:01:36 noah-PC kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20200110/psobject-220) ago 23 17:01:36 noah-PC kernel: ACPI BIOS Error (bug): Failure creating named object [\_SB.PCI0.XHC.RHUB.TUPC], AE_ALREADY_EXISTS (20200110/dswload2-326)

output of inxi -FZ

`System: Host: noah-PC Kernel: 5.8.1-3-MANJARO x86_64 bits: 64 Console: tty 1 Distro: Manjaro Linux
Machine: Type: Laptop System: HP product: HP Pavilion Notebook

Mobo: HP model: 84F8 v: 08.10 serial: PHNEF018JBK089 UEFI: AMI v: F.18 date: 06/20/2018

Battery: ID-1: BAT0 charge: 44.2 Wh condition: 52.7/52.7 Wh (100%)

CPU: Topology: Quad Core model: Intel Core i5-8300H bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 800 MHz min/max: 800/4000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800

Graphics: Device-1: Intel UHD Graphics 630 driver: i915 v: kernel
Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: nouveau v: kernel
Device-3: Chicony HP Wide Vision HD type: USB driver: uvcvideo
Display: server: X.Org 1.20.8 driver: intel,nouveau unloaded: modesetting resolution: 1920x1080~60Hz

OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.1.5

Audio: Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel

Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel

Sound Server: ALSA v: k5.8.1-3-MANJARO

Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
IF: eno1 state: down
Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: rtw_8822be
IF: wlo1 state: up

Drives: Local Storage: total: 1.03 TiB used: 49.07 GiB (4.7%)
ID-1: /dev/sda vendor: SanDisk model: SD9SN8W-128G-1006 size: 119.24 GiB
ID-2: /dev/sdb vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB
RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci

Partition: ID-1: / size: 103.03 GiB used: 9.98 GiB (9.7%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 905.97 GiB used: 39.08 GiB (4.3%) fs: ext4 dev: /dev/sdb1

Swap: ID-1: swap-1 type: partition size: 3.81 GiB used: 0 KiB (0.0%) dev: /dev/sda1

Sensors: System Temperatures: cpu: 39.0 C mobo: N/A gpu: nouveau temp: 34 C
Fan Speeds (RPM): N/A`

i was searching info in this forum but with no luck…

( some post are private and i can’t see them)

what should i do ?

thanks

Hello,

You are using the nouveau drivers on a system that will definitely perform better with proprietary drivers.
See here and the linked topic from there that points to the archived forum

watchdog can be disabled
https://wiki.archlinux.org/index.php/Improving_performance#Watchdogs

  • add the string nowatchdog as follows in /etc/default/grub.
    Example:
GRUB_CMDLINE_LINUX_DEFAULT="quiet nowatchdog apparmor=1 security=apparmor udev.log_priority=3"

Run sudo update-grub followed by sudo mkinitcpio -P and then restart the system.

  • also you can create a file called /etc/modprobe.d/watchdog.conf like this:
    echo "blacklist iTCO_wdt" | sudo tee /etc/modprobe.d/watchdog.conf
    but is not clear if the iTCO_wdt is the module in cause for your laptop, so maybe better use first option above.

Some laptop models require other custom kernel boot parameters as described here:

Hope this helps!