• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
HP Recommended
HP 255 G7
Linux

I know this is a long shot, but i also know that some people here use Linux. So i am posting here as well in th ehopes of finding a solution.

 

So we got a new laptop for the kid (i mean he saved up the money i helped to select it). I tested most hardware so far. We installed CS:GO, Portal and Gary's mod and all works fine. I also installed a few small apps just to test mic and camera.

But, and this is the puzzling part, i can't boot it with battery only. When the power cable is in it boots fine and fast, but with battery i get garbled desktop (kde wallet window is visible and panel) as if drivers aren't loaded. And looks like there really is an issue with drivers of sorts. I can still enter password for KDE walled and the laptop connects to wi-fi. I can attach mouse and i still get the message that touchpad was turned off (though not visible as only frame of message windows is displayed). I managed to get it to boot correctly once and 8 times it failed. Since i can switch normally to console and back i decided to move dmesg to a file and put it on Ubuntu pastebin.

dmesg: https://paste.ubuntu.com/p/C2xNzpBKq5/

Dmesg throws out error messages as if it tried to load the driver but can't do it fully.

system specs:
OS: Kubuntu 20.04

Kernel: 5.4.0-40

CPU: Ryzen 5 3500U
GPU: Vega 8
RAM: 8 GB DDR4 2400 Mhz
disk: 256 GB nvme

other:

  • wi-fi driver (rtl8821ce) is not in kernel, so i needed patch and i used this procedure: https://askubuntu.com/questions/1071...n-ubuntu-18-04   After patching, wi-fi works.
  • USB ports, network jack, audio stuff, video camera, touchpad (synaptics) all work
  • legacy boot was default so i left it alone
  • install is default, whole disk used (swap is file)
  • after multiple boot failures i enabled battery report to OS in BIOS, but all it did is that OS now reports remaining battery time left in minutes (so expected behavior).
  • if i boot with charger plugged in, the laptop boots normally and seems to be working normally after i unplug the charger.
  • plymouth screen works normally at boot and shutdown, but KDE loading screen does not display


how do i troubleshoot this? moreover how can i fix it?

 

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

I found a work around solution. The issue is indeed AMDGPU drivers for Ryzen 5 3500U and Vega 8. I post here the same reply as on ubuntu forums just in case someone else comes across this issue. The issue is found on various brands of laptops with Ryzen 5 3500U


a kernel boot option is needed for HP 255 G7:

Code:
iommu=soft

To try if this works hold shift on boot to enter grub, press e, then add this boot option just before the quiet splash. then press ctrl+x to boot. if it doesn't work well, hust reboot

Some things might be disabled when using this boot option . iommu has effect on these things: https://github.com/spotify/linux/blo...tions.txt#L207
Some people reported USB3 ports not working or other external connections. in my case all seems to work as well as GPU (i could play CS:GO normally on battery).

to make it permanent edit grub configuration file.

Code:
sudo nano /etc/defaut/grub

change line

Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

Code:
GRUB_CMDLINE_LINUX_DEFAULT="iommu=soft quiet splash"

save the file, exit nano editor and run the update to grub:

Code:
sudo update-grub

The issue affects other laptops with Ryzen 5 3500U and is reported to be resolved in kernel 5.5, while the GPU drivers improvement (power management, fans...) is part of kernel 5.6.

By installing new kernel the issue should be resolved.

WARNING: new kernels are not fully tested and come without extra drivers that ubuntu adds.

How to install new kernel:
You can use graphics app ukuu (Ubuntu Kernel Update Utility) to install new mainline kernel. instructions: https://www.omgubuntu.co.uk/2017/02/...-kernel-ubuntu

another option is described here: https://howtoubuntu.org/how-to-insta...-5-6-in-ubuntu
kernels (.deb files) can be found here: https://kernel.ubuntu.com/~kernel-ppa/mainline/

removing kernel - if it's not working:
procedure is well described here: https://karlcode.owtelse.com/blog/20...evious-kernel/

View solution in original post

1 REPLY 1
HP Recommended

I found a work around solution. The issue is indeed AMDGPU drivers for Ryzen 5 3500U and Vega 8. I post here the same reply as on ubuntu forums just in case someone else comes across this issue. The issue is found on various brands of laptops with Ryzen 5 3500U


a kernel boot option is needed for HP 255 G7:

Code:
iommu=soft

To try if this works hold shift on boot to enter grub, press e, then add this boot option just before the quiet splash. then press ctrl+x to boot. if it doesn't work well, hust reboot

Some things might be disabled when using this boot option . iommu has effect on these things: https://github.com/spotify/linux/blo...tions.txt#L207
Some people reported USB3 ports not working or other external connections. in my case all seems to work as well as GPU (i could play CS:GO normally on battery).

to make it permanent edit grub configuration file.

Code:
sudo nano /etc/defaut/grub

change line

Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

Code:
GRUB_CMDLINE_LINUX_DEFAULT="iommu=soft quiet splash"

save the file, exit nano editor and run the update to grub:

Code:
sudo update-grub

The issue affects other laptops with Ryzen 5 3500U and is reported to be resolved in kernel 5.5, while the GPU drivers improvement (power management, fans...) is part of kernel 5.6.

By installing new kernel the issue should be resolved.

WARNING: new kernels are not fully tested and come without extra drivers that ubuntu adds.

How to install new kernel:
You can use graphics app ukuu (Ubuntu Kernel Update Utility) to install new mainline kernel. instructions: https://www.omgubuntu.co.uk/2017/02/...-kernel-ubuntu

another option is described here: https://howtoubuntu.org/how-to-insta...-5-6-in-ubuntu
kernels (.deb files) can be found here: https://kernel.ubuntu.com/~kernel-ppa/mainline/

removing kernel - if it's not working:
procedure is well described here: https://karlcode.owtelse.com/blog/20...evious-kernel/

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.