HP Zbook Studio G5

From ArchWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Tango-edit-clear.pngThis article or section does not follow the Laptop page guidelines.Tango-edit-clear.png

Reason: Stub (Discuss in Talk:HP Zbook Studio G5)
Hardware PCI/USB ID Working?
Touchpad Yes
Keyboard Partial
Webcam 05c8:0808 Yes
Backlight Yes
Bluetooth 8087:0aaa Yes
SD-Card slot 10ec:525a Yes
Audio 8086:a348 Yes
HDMI audio 10de:0fb9 Yes
Wireless 8086:a370 Yes
Fingerprint reader 138a:00ab No

The HP Zbook Studio G5 is a workstation replacement laptop.

Configuration

Thunderbolt

Since the Zbook does not allow a no security option for Thunderbolt in the bios, a thunderbolt manager has to be installed see bolt.

Graphics

Nouveau

This laptop works out of the box with nouveau graphics from the latest kernel, including HDMI audio. The performance is than with nvidia drivers, which is especially noticeable in video decoding. Frames might get dropped when trying to stream 1080p videos, depending on the bitrate. The biggest issue, though, is that when the laptop has been connected to an external monitor, the shutdown does not complete and you have to force shutdown.

Nvidia drivers

The proprietary nvidia drivers work flawlessly on this laptop. This driver also has better performance than the nouveau driver, but for wayland users using this driver is not an option (yet).

Bios settings

In the bios you can choose between three different modes: "Discrete", "Hybrid" and "Integrated", referring to which GPU('s) to turn on. The default of "Hybrid" works well, but if you are experiencing issues with graphics performance you can try setting the "Discrete" option to disable the integrated GPU. This does come at the expense of the battery life.

External monitors

All external displays are routed to the Nvidia gpu. The internal display is routed to the internal Intel gpu therefore, Nvidia drivers or nouveau has to be installed to use external displays.

Bumblebee

To make use of both the onboard graphics and the Nvidia gpu, install bumblebee (and add user to bumblebee group and systemctl start bumblebeed.service). For an output on the ports connected to the Nvidia chip, the chip always needs to be powered on. To do this change the following options in bumblebee.conf file in /etc/bumblebee.

 KeepUnusedXServer=true
 [driver-nvidia]
 PMMethod=none

This prevents the nvidia chip from powering off after turning on. Next in xorg.conf.nvidia edit the following:

 Option      "AutoAddDevices" "true"
 Option "UseEDID" "true"
 Option "AllowEmptyInitialConfiguration"
 #Option "UseDisplayDevice" "none"

Next a virtual output needs to be added to the intel gpu. Change to the /etc/X11/xorg.conf.d folder and edit or create an entry for the intel gpu (e.g. 20-intel.conf).

 Section "Device"
     Identifier "intelgpu0"
     Driver "intel"
     Option "VirtualHeads" "1"
 EndSection

Thats all the configuration, now to enable external monitor:

 $ optirun true
 $ intel-virtual-output
  • Recommended to put this in a script and create a desktop entry or similar to quickly enable the external display(s).

Troubleshooting

CPU throttling down under load

If your CPU throttles down under high load without reaching critical temperatures (e.g. >95°C) and you are absolutely sure the laptop is not overheating, install the throttled package by erpalma on GitHub. Start and enable the service

$ lenovo_fix.service

This service overrides the package power limit every 5 seconds (30 on battery) by overriding default values in MSR and MCHBAR. A static fix for this problem has not been tested thoroughly. The default configuration works fine, refer to the GitHub page for more information.

Framerate drops to 1 fps on discrete graphics

Refer to the Bumblebee troubleshooting page.

Framerate drops to 1 fps when using external display

In certain applications, eg. Discord, Zoom and Steam, the fps drops to an unusable level when connected to an external display. This is an issue with vsync not working correctly. Try to disable vsync on the intgrated GPU. If that does not work you can try to disable vsync on the dGPU.

Microphone not detected

If your internal microphone is not detected on boot you can force pulseaudio to detect it. See microphone not detected by Pulseaudio.

Brightness keys do not work

On some bios versions some of your functions keys, namely the brightness up, down and microphone mute keys, produce identical scan codes. You can try to update your bios to fix this. See [1] for the bug report. If this does not work you can try to perform a power reset (see [2]). This problem seems to be related to the HP Hotkey Service in Windows, that changes how the keys are handled (see [3]), so after you boot to Windows it might reappear.