Why won't my HP Envy x360 laptop with Ryzen 7 3700U boot Ubuntu live CD?Unable to boot Ubuntu 19.04 from USB on HP ENVY x360 with AMD Quad Core Ryzen 5 3500U Processortrouble installing Ubuntu 19.04 on hp envy x360AMD Ryzen 2500U blank screen on boot after updateamd ryzen mobile 2nd gen suitable with ubuntu?HP envy x360 install issueInstallation fails on HP Laptop (Windows OK)HP Envy x360 Ryzen 5 : 17.10 not bootingCan't start Ubuntu 18.04 with GTX 970 (Ryzen 3 2200g GPU has no problem on boot)HP envy x360 install issueamd ryzen mobile 2nd gen suitable with ubuntu?Installation fails on HP Laptop (Windows OK)

Plotting single vectors in parametric plots

Linearity assumption of linear regression

Can a professor do an internship?

Is the Summon Woodland Beings spell (to summon pixies) broken?

Sun dried tomatoes

How to manage publications on a local computer

Paying to leave without notice in at-will employment state

How does Facebook track your browsing without third party cookies?

What happens when the UA Bait and Switch maneuver is used on a grappled ally when the maneuver-user is out of the grappling monster's reach?

Subjonctive mood in Latin

Are all LTI systems invertible? If not, what is a good counterexample?

Which battle was the most lopsided result in terms of casualties?

Why use Fourier series instead of Taylor?

If the UA Wild Soul barbarian's Wild Surge table causes a greatsword to gain the light property, can it be dual-wielded?

Counterpart of cyclotomic polynomials for elliptic divisibility sequences

Average Two Letters

About an ambiguity that really prevents me from understanding the principle " the laws of physics are invariant in all inertial frames"

How do I experimentally measure the surface area of a rock?

Does any country have free college & open admissions?

How to implement bus sharing / DMA on a 6502 system

Languages class in high school

Is it possible to get reverse life insurance?

Reverse color of overlapping points?

Ubuntu: FireFox: Strange certificates



Why won't my HP Envy x360 laptop with Ryzen 7 3700U boot Ubuntu live CD?


Unable to boot Ubuntu 19.04 from USB on HP ENVY x360 with AMD Quad Core Ryzen 5 3500U Processortrouble installing Ubuntu 19.04 on hp envy x360AMD Ryzen 2500U blank screen on boot after updateamd ryzen mobile 2nd gen suitable with ubuntu?HP envy x360 install issueInstallation fails on HP Laptop (Windows OK)HP Envy x360 Ryzen 5 : 17.10 not bootingCan't start Ubuntu 18.04 with GTX 970 (Ryzen 3 2200g GPU has no problem on boot)HP envy x360 install issueamd ryzen mobile 2nd gen suitable with ubuntu?Installation fails on HP Laptop (Windows OK)






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









2

















I recently bought an HP Envy x360 with a



  • Ryzen 7 3700U processor,

  • 16GB of RAM and a

  • 512GB NVME SSD.

I want to install Linux on it, but both Ubuntu, Manjaro, and plain Arch linux won't boot. I can get to the grub menu, but once I select the option to boot, the screen goes black and nothing happens.



By the way, I'm trying to boot Ubuntu 19.04, Manjaro 18.04, and Arch 08.01.2019 and yes, I've disabled Secure Boot already.



Any ideas?
Is it possibly an issue with the kernel version? Or maybe a boot argument I need to pass through grub?










share|improve this question




























  • How did you set up your USB?

    – guillermo chamorro
    Aug 1 at 19:40











  • I used rufus. With the Partition scheme = GPT; Target system = UEFI (non CSM); File system FAT32 (Default); and Cluster size = 8192 bytes (Default);

    – SuperTal3
    Aug 1 at 19:55






  • 1





    getting to the grub menu when booting the USB means the USB was made correctly if made from the .iso file. seems to me like lack of video chip support.

    – Skaperen
    Aug 1 at 20:06












  • I was wondering if maybe there was a command like nouveau.nomodeset=0 that I needed to do, but for AMD?

    – SuperTal3
    Aug 1 at 20:11











  • askubuntu.com/questions/1156481/…

    – pierrely
    Aug 2 at 11:50

















2

















I recently bought an HP Envy x360 with a



  • Ryzen 7 3700U processor,

  • 16GB of RAM and a

  • 512GB NVME SSD.

I want to install Linux on it, but both Ubuntu, Manjaro, and plain Arch linux won't boot. I can get to the grub menu, but once I select the option to boot, the screen goes black and nothing happens.



By the way, I'm trying to boot Ubuntu 19.04, Manjaro 18.04, and Arch 08.01.2019 and yes, I've disabled Secure Boot already.



Any ideas?
Is it possibly an issue with the kernel version? Or maybe a boot argument I need to pass through grub?










share|improve this question




























  • How did you set up your USB?

    – guillermo chamorro
    Aug 1 at 19:40











  • I used rufus. With the Partition scheme = GPT; Target system = UEFI (non CSM); File system FAT32 (Default); and Cluster size = 8192 bytes (Default);

    – SuperTal3
    Aug 1 at 19:55






  • 1





    getting to the grub menu when booting the USB means the USB was made correctly if made from the .iso file. seems to me like lack of video chip support.

    – Skaperen
    Aug 1 at 20:06












  • I was wondering if maybe there was a command like nouveau.nomodeset=0 that I needed to do, but for AMD?

    – SuperTal3
    Aug 1 at 20:11











  • askubuntu.com/questions/1156481/…

    – pierrely
    Aug 2 at 11:50













2












2








2


2






I recently bought an HP Envy x360 with a



  • Ryzen 7 3700U processor,

  • 16GB of RAM and a

  • 512GB NVME SSD.

I want to install Linux on it, but both Ubuntu, Manjaro, and plain Arch linux won't boot. I can get to the grub menu, but once I select the option to boot, the screen goes black and nothing happens.



By the way, I'm trying to boot Ubuntu 19.04, Manjaro 18.04, and Arch 08.01.2019 and yes, I've disabled Secure Boot already.



Any ideas?
Is it possibly an issue with the kernel version? Or maybe a boot argument I need to pass through grub?










share|improve this question

















I recently bought an HP Envy x360 with a



  • Ryzen 7 3700U processor,

  • 16GB of RAM and a

  • 512GB NVME SSD.

I want to install Linux on it, but both Ubuntu, Manjaro, and plain Arch linux won't boot. I can get to the grub menu, but once I select the option to boot, the screen goes black and nothing happens.



By the way, I'm trying to boot Ubuntu 19.04, Manjaro 18.04, and Arch 08.01.2019 and yes, I've disabled Secure Boot already.



Any ideas?
Is it possibly an issue with the kernel version? Or maybe a boot argument I need to pass through grub?







boot system-installation hp amd-ryzen






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Aug 1 at 20:16







SuperTal3

















asked Aug 1 at 19:35









SuperTal3SuperTal3

131 silver badge5 bronze badges




131 silver badge5 bronze badges















  • How did you set up your USB?

    – guillermo chamorro
    Aug 1 at 19:40











  • I used rufus. With the Partition scheme = GPT; Target system = UEFI (non CSM); File system FAT32 (Default); and Cluster size = 8192 bytes (Default);

    – SuperTal3
    Aug 1 at 19:55






  • 1





    getting to the grub menu when booting the USB means the USB was made correctly if made from the .iso file. seems to me like lack of video chip support.

    – Skaperen
    Aug 1 at 20:06












  • I was wondering if maybe there was a command like nouveau.nomodeset=0 that I needed to do, but for AMD?

    – SuperTal3
    Aug 1 at 20:11











  • askubuntu.com/questions/1156481/…

    – pierrely
    Aug 2 at 11:50

















  • How did you set up your USB?

    – guillermo chamorro
    Aug 1 at 19:40











  • I used rufus. With the Partition scheme = GPT; Target system = UEFI (non CSM); File system FAT32 (Default); and Cluster size = 8192 bytes (Default);

    – SuperTal3
    Aug 1 at 19:55






  • 1





    getting to the grub menu when booting the USB means the USB was made correctly if made from the .iso file. seems to me like lack of video chip support.

    – Skaperen
    Aug 1 at 20:06












  • I was wondering if maybe there was a command like nouveau.nomodeset=0 that I needed to do, but for AMD?

    – SuperTal3
    Aug 1 at 20:11











  • askubuntu.com/questions/1156481/…

    – pierrely
    Aug 2 at 11:50
















How did you set up your USB?

– guillermo chamorro
Aug 1 at 19:40





How did you set up your USB?

– guillermo chamorro
Aug 1 at 19:40













I used rufus. With the Partition scheme = GPT; Target system = UEFI (non CSM); File system FAT32 (Default); and Cluster size = 8192 bytes (Default);

– SuperTal3
Aug 1 at 19:55





I used rufus. With the Partition scheme = GPT; Target system = UEFI (non CSM); File system FAT32 (Default); and Cluster size = 8192 bytes (Default);

– SuperTal3
Aug 1 at 19:55




1




1





getting to the grub menu when booting the USB means the USB was made correctly if made from the .iso file. seems to me like lack of video chip support.

– Skaperen
Aug 1 at 20:06






getting to the grub menu when booting the USB means the USB was made correctly if made from the .iso file. seems to me like lack of video chip support.

– Skaperen
Aug 1 at 20:06














I was wondering if maybe there was a command like nouveau.nomodeset=0 that I needed to do, but for AMD?

– SuperTal3
Aug 1 at 20:11





I was wondering if maybe there was a command like nouveau.nomodeset=0 that I needed to do, but for AMD?

– SuperTal3
Aug 1 at 20:11













askubuntu.com/questions/1156481/…

– pierrely
Aug 2 at 11:50





askubuntu.com/questions/1156481/…

– pierrely
Aug 2 at 11:50










3 Answers
3






active

oldest

votes


















5


















[The below is valid as of Aug 2019. It seems it is valid for systems with the new Ryzen 3000U (not to be confused with various probems on systems with Ryzen 2000U). New HP, DELL and probably Lenovo devices are affected by this BIOS bug. This is bug in BIOS, not Linux kernel. This might be fixed with kernels coming with Ubuntu 19.10]



Yes, I had the same problem with brand new HP ENVY x360 with Ryzen 7 3700U.
Thanks to HP ingenious engineering, the BIOS has messed-up ACPI configuration tables.



Note: DO NOT delete pre-installed windows. You will need them to extract ACPI tables from your notebook's BIOS. Because Ubuntu in non-ACPI mode cannot see ACPI tables in BIOS, thus cannot extract them.



1) Simple solution: Boot ubuntu with turned off LAPIC and ACPI support (for me, olny Ubuntu 18.04.0 worked, no other version can boot as it seems. You can try other distro versions with other kernel versions):



  • In your BIOS, enable "Legacy support"

  • With your USB drive, interrupt POST process during HP logo by pressing F9. You should get to the blue Boot BIOS boot devices screen

  • Select "USB Device - 0.00" ( so no UEFI!)

  • You should now get booted to the violet Ubuntu boot screen, with a keyboard icon at the bottom. This is legacy (no UEFI) boot screen.

  • In Ubuntu boot menu, press F6 and change your boot paramenetrs to "nolapic acpi=off i8042.nopnp"

This should boot (and also install) Ubuntu, but "half" of the HW support (including CPU multicore support) is disabled with these settings. Still, it should get your Ubuntu booted and installed at least...



2) Complicated - but preferred and long term - solution (simplified): boot kernel with modified ACPI configuration in order to enable ACPI mode in Ubuntu:



  • In Windows, extract your ACPI tables from BIOS and store them
    somewhere safe

  • Decompile extracted FACP ACPI config table, modify value "reduced
    hardware support" from 1 to 0

  • Recompile your modified FACP table back to binary FACP.AML format

  • Create CPIO archive with this FACP.aml and provide it to your initrd kernel.

This should make your kernel boot with modified ACPI configuration, and full ACPI enabled. This is required to use a full potential of the laptop.
This trick will also work on kernels 5.x.



It is ok to go for option 1), then once installed on SSD, you can try option 2) and update your installed kernel(s) with modified ACPI configs and remove the "nolapic acpi=off" boot modifiers to see if it worked :)



In detail, the above is discussed here:
https://bugzilla.kernel.org/show_bug.cgi?id=203431



Note1: It seems that (probably all?) kernels 5.x have already attached cpio archive with "AuthenticAMD.bin" firmware. This file must be preserved within cpio archive together with you modified FACP.aml, otherwise kernels 5.x will crash booting even with modified FACP.aml.



Note2: Touchscreen and (almost) full ACPI support works on my device ONLY when I have "Legacy support = Enabled" in BIOS and Ubuntu is installed (and booted) in UEFI mode.



Note3: Kernels 5.2.x and newer boot with these modifications too, but RealTek wifi driver support is being re-worked in new kernels now, so not working on these new HP ENVY devices for now...



What works: Almost everything: Ryzen on 4c/8t, temperature monitoring, CPU power governors, touchpad, keyboard, BlueTooth, Wifi, webcam, sound speakers, mic, 3D HW acceleration (yes - gaming!), HDMI video+audio out, HDMI out via USB-C,touchsreen...



What does not work: internal motion sensors (kernel driver is promised by AMD during August), suspend&resume -> ACPI needs more work. I' using hibernation to disk instead...



Let me know if you have issues or need help, I will try to help directly.



(Written from HP Envy x360 15-ds0005 6WE51EA :) )






share|improve this answer




























  • Thanks for the thorough answer! I'll check this out tomorrow!

    – SuperTal3
    Aug 7 at 1:06






  • 1





    As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

    – Boldos
    Aug 8 at 20:22











  • I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

    – Boldos
    Aug 8 at 20:28












  • I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

    – James Hemsing
    Aug 18 at 20:14






  • 1





    I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

    – sez11a
    Aug 26 at 17:08



















1


















There was a new BIOS update released F12 Rev. A wonder if this fixes the issues?






share|improve this answer





















  • 1





    I just tried booting with this BIOS version, and sadly it doesn't

    – SuperTal3
    Aug 9 at 15:39











  • Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

    – habitatunion
    Aug 12 at 12:09












  • I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

    – SuperTal3
    Aug 12 at 19:03


















0


















Ubuntu 19.10 beta works for me on an HP ENVY x360 15 (15-ds0502na). This model has Ryzen 7 3700, Radeon Vega 10 GPU, 16GB RAM and 512GB SSD.



I was unable to get 19.04 to boot into a graphical environment at all, including trying overriding the ACPI tables.






share|improve this answer

























    protected by Community Aug 8 at 23:50



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5


















    [The below is valid as of Aug 2019. It seems it is valid for systems with the new Ryzen 3000U (not to be confused with various probems on systems with Ryzen 2000U). New HP, DELL and probably Lenovo devices are affected by this BIOS bug. This is bug in BIOS, not Linux kernel. This might be fixed with kernels coming with Ubuntu 19.10]



    Yes, I had the same problem with brand new HP ENVY x360 with Ryzen 7 3700U.
    Thanks to HP ingenious engineering, the BIOS has messed-up ACPI configuration tables.



    Note: DO NOT delete pre-installed windows. You will need them to extract ACPI tables from your notebook's BIOS. Because Ubuntu in non-ACPI mode cannot see ACPI tables in BIOS, thus cannot extract them.



    1) Simple solution: Boot ubuntu with turned off LAPIC and ACPI support (for me, olny Ubuntu 18.04.0 worked, no other version can boot as it seems. You can try other distro versions with other kernel versions):



    • In your BIOS, enable "Legacy support"

    • With your USB drive, interrupt POST process during HP logo by pressing F9. You should get to the blue Boot BIOS boot devices screen

    • Select "USB Device - 0.00" ( so no UEFI!)

    • You should now get booted to the violet Ubuntu boot screen, with a keyboard icon at the bottom. This is legacy (no UEFI) boot screen.

    • In Ubuntu boot menu, press F6 and change your boot paramenetrs to "nolapic acpi=off i8042.nopnp"

    This should boot (and also install) Ubuntu, but "half" of the HW support (including CPU multicore support) is disabled with these settings. Still, it should get your Ubuntu booted and installed at least...



    2) Complicated - but preferred and long term - solution (simplified): boot kernel with modified ACPI configuration in order to enable ACPI mode in Ubuntu:



    • In Windows, extract your ACPI tables from BIOS and store them
      somewhere safe

    • Decompile extracted FACP ACPI config table, modify value "reduced
      hardware support" from 1 to 0

    • Recompile your modified FACP table back to binary FACP.AML format

    • Create CPIO archive with this FACP.aml and provide it to your initrd kernel.

    This should make your kernel boot with modified ACPI configuration, and full ACPI enabled. This is required to use a full potential of the laptop.
    This trick will also work on kernels 5.x.



    It is ok to go for option 1), then once installed on SSD, you can try option 2) and update your installed kernel(s) with modified ACPI configs and remove the "nolapic acpi=off" boot modifiers to see if it worked :)



    In detail, the above is discussed here:
    https://bugzilla.kernel.org/show_bug.cgi?id=203431



    Note1: It seems that (probably all?) kernels 5.x have already attached cpio archive with "AuthenticAMD.bin" firmware. This file must be preserved within cpio archive together with you modified FACP.aml, otherwise kernels 5.x will crash booting even with modified FACP.aml.



    Note2: Touchscreen and (almost) full ACPI support works on my device ONLY when I have "Legacy support = Enabled" in BIOS and Ubuntu is installed (and booted) in UEFI mode.



    Note3: Kernels 5.2.x and newer boot with these modifications too, but RealTek wifi driver support is being re-worked in new kernels now, so not working on these new HP ENVY devices for now...



    What works: Almost everything: Ryzen on 4c/8t, temperature monitoring, CPU power governors, touchpad, keyboard, BlueTooth, Wifi, webcam, sound speakers, mic, 3D HW acceleration (yes - gaming!), HDMI video+audio out, HDMI out via USB-C,touchsreen...



    What does not work: internal motion sensors (kernel driver is promised by AMD during August), suspend&resume -> ACPI needs more work. I' using hibernation to disk instead...



    Let me know if you have issues or need help, I will try to help directly.



    (Written from HP Envy x360 15-ds0005 6WE51EA :) )






    share|improve this answer




























    • Thanks for the thorough answer! I'll check this out tomorrow!

      – SuperTal3
      Aug 7 at 1:06






    • 1





      As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

      – Boldos
      Aug 8 at 20:22











    • I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

      – Boldos
      Aug 8 at 20:28












    • I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

      – James Hemsing
      Aug 18 at 20:14






    • 1





      I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

      – sez11a
      Aug 26 at 17:08
















    5


















    [The below is valid as of Aug 2019. It seems it is valid for systems with the new Ryzen 3000U (not to be confused with various probems on systems with Ryzen 2000U). New HP, DELL and probably Lenovo devices are affected by this BIOS bug. This is bug in BIOS, not Linux kernel. This might be fixed with kernels coming with Ubuntu 19.10]



    Yes, I had the same problem with brand new HP ENVY x360 with Ryzen 7 3700U.
    Thanks to HP ingenious engineering, the BIOS has messed-up ACPI configuration tables.



    Note: DO NOT delete pre-installed windows. You will need them to extract ACPI tables from your notebook's BIOS. Because Ubuntu in non-ACPI mode cannot see ACPI tables in BIOS, thus cannot extract them.



    1) Simple solution: Boot ubuntu with turned off LAPIC and ACPI support (for me, olny Ubuntu 18.04.0 worked, no other version can boot as it seems. You can try other distro versions with other kernel versions):



    • In your BIOS, enable "Legacy support"

    • With your USB drive, interrupt POST process during HP logo by pressing F9. You should get to the blue Boot BIOS boot devices screen

    • Select "USB Device - 0.00" ( so no UEFI!)

    • You should now get booted to the violet Ubuntu boot screen, with a keyboard icon at the bottom. This is legacy (no UEFI) boot screen.

    • In Ubuntu boot menu, press F6 and change your boot paramenetrs to "nolapic acpi=off i8042.nopnp"

    This should boot (and also install) Ubuntu, but "half" of the HW support (including CPU multicore support) is disabled with these settings. Still, it should get your Ubuntu booted and installed at least...



    2) Complicated - but preferred and long term - solution (simplified): boot kernel with modified ACPI configuration in order to enable ACPI mode in Ubuntu:



    • In Windows, extract your ACPI tables from BIOS and store them
      somewhere safe

    • Decompile extracted FACP ACPI config table, modify value "reduced
      hardware support" from 1 to 0

    • Recompile your modified FACP table back to binary FACP.AML format

    • Create CPIO archive with this FACP.aml and provide it to your initrd kernel.

    This should make your kernel boot with modified ACPI configuration, and full ACPI enabled. This is required to use a full potential of the laptop.
    This trick will also work on kernels 5.x.



    It is ok to go for option 1), then once installed on SSD, you can try option 2) and update your installed kernel(s) with modified ACPI configs and remove the "nolapic acpi=off" boot modifiers to see if it worked :)



    In detail, the above is discussed here:
    https://bugzilla.kernel.org/show_bug.cgi?id=203431



    Note1: It seems that (probably all?) kernels 5.x have already attached cpio archive with "AuthenticAMD.bin" firmware. This file must be preserved within cpio archive together with you modified FACP.aml, otherwise kernels 5.x will crash booting even with modified FACP.aml.



    Note2: Touchscreen and (almost) full ACPI support works on my device ONLY when I have "Legacy support = Enabled" in BIOS and Ubuntu is installed (and booted) in UEFI mode.



    Note3: Kernels 5.2.x and newer boot with these modifications too, but RealTek wifi driver support is being re-worked in new kernels now, so not working on these new HP ENVY devices for now...



    What works: Almost everything: Ryzen on 4c/8t, temperature monitoring, CPU power governors, touchpad, keyboard, BlueTooth, Wifi, webcam, sound speakers, mic, 3D HW acceleration (yes - gaming!), HDMI video+audio out, HDMI out via USB-C,touchsreen...



    What does not work: internal motion sensors (kernel driver is promised by AMD during August), suspend&resume -> ACPI needs more work. I' using hibernation to disk instead...



    Let me know if you have issues or need help, I will try to help directly.



    (Written from HP Envy x360 15-ds0005 6WE51EA :) )






    share|improve this answer




























    • Thanks for the thorough answer! I'll check this out tomorrow!

      – SuperTal3
      Aug 7 at 1:06






    • 1





      As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

      – Boldos
      Aug 8 at 20:22











    • I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

      – Boldos
      Aug 8 at 20:28












    • I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

      – James Hemsing
      Aug 18 at 20:14






    • 1





      I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

      – sez11a
      Aug 26 at 17:08














    5














    5










    5









    [The below is valid as of Aug 2019. It seems it is valid for systems with the new Ryzen 3000U (not to be confused with various probems on systems with Ryzen 2000U). New HP, DELL and probably Lenovo devices are affected by this BIOS bug. This is bug in BIOS, not Linux kernel. This might be fixed with kernels coming with Ubuntu 19.10]



    Yes, I had the same problem with brand new HP ENVY x360 with Ryzen 7 3700U.
    Thanks to HP ingenious engineering, the BIOS has messed-up ACPI configuration tables.



    Note: DO NOT delete pre-installed windows. You will need them to extract ACPI tables from your notebook's BIOS. Because Ubuntu in non-ACPI mode cannot see ACPI tables in BIOS, thus cannot extract them.



    1) Simple solution: Boot ubuntu with turned off LAPIC and ACPI support (for me, olny Ubuntu 18.04.0 worked, no other version can boot as it seems. You can try other distro versions with other kernel versions):



    • In your BIOS, enable "Legacy support"

    • With your USB drive, interrupt POST process during HP logo by pressing F9. You should get to the blue Boot BIOS boot devices screen

    • Select "USB Device - 0.00" ( so no UEFI!)

    • You should now get booted to the violet Ubuntu boot screen, with a keyboard icon at the bottom. This is legacy (no UEFI) boot screen.

    • In Ubuntu boot menu, press F6 and change your boot paramenetrs to "nolapic acpi=off i8042.nopnp"

    This should boot (and also install) Ubuntu, but "half" of the HW support (including CPU multicore support) is disabled with these settings. Still, it should get your Ubuntu booted and installed at least...



    2) Complicated - but preferred and long term - solution (simplified): boot kernel with modified ACPI configuration in order to enable ACPI mode in Ubuntu:



    • In Windows, extract your ACPI tables from BIOS and store them
      somewhere safe

    • Decompile extracted FACP ACPI config table, modify value "reduced
      hardware support" from 1 to 0

    • Recompile your modified FACP table back to binary FACP.AML format

    • Create CPIO archive with this FACP.aml and provide it to your initrd kernel.

    This should make your kernel boot with modified ACPI configuration, and full ACPI enabled. This is required to use a full potential of the laptop.
    This trick will also work on kernels 5.x.



    It is ok to go for option 1), then once installed on SSD, you can try option 2) and update your installed kernel(s) with modified ACPI configs and remove the "nolapic acpi=off" boot modifiers to see if it worked :)



    In detail, the above is discussed here:
    https://bugzilla.kernel.org/show_bug.cgi?id=203431



    Note1: It seems that (probably all?) kernels 5.x have already attached cpio archive with "AuthenticAMD.bin" firmware. This file must be preserved within cpio archive together with you modified FACP.aml, otherwise kernels 5.x will crash booting even with modified FACP.aml.



    Note2: Touchscreen and (almost) full ACPI support works on my device ONLY when I have "Legacy support = Enabled" in BIOS and Ubuntu is installed (and booted) in UEFI mode.



    Note3: Kernels 5.2.x and newer boot with these modifications too, but RealTek wifi driver support is being re-worked in new kernels now, so not working on these new HP ENVY devices for now...



    What works: Almost everything: Ryzen on 4c/8t, temperature monitoring, CPU power governors, touchpad, keyboard, BlueTooth, Wifi, webcam, sound speakers, mic, 3D HW acceleration (yes - gaming!), HDMI video+audio out, HDMI out via USB-C,touchsreen...



    What does not work: internal motion sensors (kernel driver is promised by AMD during August), suspend&resume -> ACPI needs more work. I' using hibernation to disk instead...



    Let me know if you have issues or need help, I will try to help directly.



    (Written from HP Envy x360 15-ds0005 6WE51EA :) )






    share|improve this answer
















    [The below is valid as of Aug 2019. It seems it is valid for systems with the new Ryzen 3000U (not to be confused with various probems on systems with Ryzen 2000U). New HP, DELL and probably Lenovo devices are affected by this BIOS bug. This is bug in BIOS, not Linux kernel. This might be fixed with kernels coming with Ubuntu 19.10]



    Yes, I had the same problem with brand new HP ENVY x360 with Ryzen 7 3700U.
    Thanks to HP ingenious engineering, the BIOS has messed-up ACPI configuration tables.



    Note: DO NOT delete pre-installed windows. You will need them to extract ACPI tables from your notebook's BIOS. Because Ubuntu in non-ACPI mode cannot see ACPI tables in BIOS, thus cannot extract them.



    1) Simple solution: Boot ubuntu with turned off LAPIC and ACPI support (for me, olny Ubuntu 18.04.0 worked, no other version can boot as it seems. You can try other distro versions with other kernel versions):



    • In your BIOS, enable "Legacy support"

    • With your USB drive, interrupt POST process during HP logo by pressing F9. You should get to the blue Boot BIOS boot devices screen

    • Select "USB Device - 0.00" ( so no UEFI!)

    • You should now get booted to the violet Ubuntu boot screen, with a keyboard icon at the bottom. This is legacy (no UEFI) boot screen.

    • In Ubuntu boot menu, press F6 and change your boot paramenetrs to "nolapic acpi=off i8042.nopnp"

    This should boot (and also install) Ubuntu, but "half" of the HW support (including CPU multicore support) is disabled with these settings. Still, it should get your Ubuntu booted and installed at least...



    2) Complicated - but preferred and long term - solution (simplified): boot kernel with modified ACPI configuration in order to enable ACPI mode in Ubuntu:



    • In Windows, extract your ACPI tables from BIOS and store them
      somewhere safe

    • Decompile extracted FACP ACPI config table, modify value "reduced
      hardware support" from 1 to 0

    • Recompile your modified FACP table back to binary FACP.AML format

    • Create CPIO archive with this FACP.aml and provide it to your initrd kernel.

    This should make your kernel boot with modified ACPI configuration, and full ACPI enabled. This is required to use a full potential of the laptop.
    This trick will also work on kernels 5.x.



    It is ok to go for option 1), then once installed on SSD, you can try option 2) and update your installed kernel(s) with modified ACPI configs and remove the "nolapic acpi=off" boot modifiers to see if it worked :)



    In detail, the above is discussed here:
    https://bugzilla.kernel.org/show_bug.cgi?id=203431



    Note1: It seems that (probably all?) kernels 5.x have already attached cpio archive with "AuthenticAMD.bin" firmware. This file must be preserved within cpio archive together with you modified FACP.aml, otherwise kernels 5.x will crash booting even with modified FACP.aml.



    Note2: Touchscreen and (almost) full ACPI support works on my device ONLY when I have "Legacy support = Enabled" in BIOS and Ubuntu is installed (and booted) in UEFI mode.



    Note3: Kernels 5.2.x and newer boot with these modifications too, but RealTek wifi driver support is being re-worked in new kernels now, so not working on these new HP ENVY devices for now...



    What works: Almost everything: Ryzen on 4c/8t, temperature monitoring, CPU power governors, touchpad, keyboard, BlueTooth, Wifi, webcam, sound speakers, mic, 3D HW acceleration (yes - gaming!), HDMI video+audio out, HDMI out via USB-C,touchsreen...



    What does not work: internal motion sensors (kernel driver is promised by AMD during August), suspend&resume -> ACPI needs more work. I' using hibernation to disk instead...



    Let me know if you have issues or need help, I will try to help directly.



    (Written from HP Envy x360 15-ds0005 6WE51EA :) )







    share|improve this answer















    share|improve this answer




    share|improve this answer








    edited Aug 7 at 20:19

























    answered Aug 5 at 22:29









    BoldosBoldos

    761 silver badge4 bronze badges




    761 silver badge4 bronze badges















    • Thanks for the thorough answer! I'll check this out tomorrow!

      – SuperTal3
      Aug 7 at 1:06






    • 1





      As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

      – Boldos
      Aug 8 at 20:22











    • I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

      – Boldos
      Aug 8 at 20:28












    • I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

      – James Hemsing
      Aug 18 at 20:14






    • 1





      I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

      – sez11a
      Aug 26 at 17:08


















    • Thanks for the thorough answer! I'll check this out tomorrow!

      – SuperTal3
      Aug 7 at 1:06






    • 1





      As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

      – Boldos
      Aug 8 at 20:22











    • I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

      – Boldos
      Aug 8 at 20:28












    • I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

      – James Hemsing
      Aug 18 at 20:14






    • 1





      I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

      – sez11a
      Aug 26 at 17:08

















    Thanks for the thorough answer! I'll check this out tomorrow!

    – SuperTal3
    Aug 7 at 1:06





    Thanks for the thorough answer! I'll check this out tomorrow!

    – SuperTal3
    Aug 7 at 1:06




    1




    1





    As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

    – Boldos
    Aug 8 at 20:22





    As it seams, the easiest way is to 1) extract ACPI tables using windows. Then 2) install the ubuntu on local SSD with "nolapic acpi=off" mode. Then 3) boot your Ubuntu from local SSD and update your kernel with your modified acpi table. Then 4) remove "nolapic acpi=off" parameters from GRUB boot configuration. After that, 5) enjoy full power of Ryzen 7 + Vega 10 :)

    – Boldos
    Aug 8 at 20:22













    I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

    – Boldos
    Aug 8 at 20:28






    I created my own bootable Ubuntu 19.04 ISO image after all the steps above, when my HP ENVY was working with ACPI (and after some hours of Vega gaming behind me :)). I used Cubic for that: launchpad.net/cubic

    – Boldos
    Aug 8 at 20:28














    I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

    – James Hemsing
    Aug 18 at 20:14





    I have an HP Envy 15m-ds0012dx and I can't even get the thing to boot with bootargs "nolapic acpi=off i8042.nopnp". I do appreciate the response as I'm trying to build a boot ISO with the extracted and patched ACPI tables. Unfortunately, I haven't been able to get this to work either.

    – James Hemsing
    Aug 18 at 20:14




    1




    1





    I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

    – sez11a
    Aug 26 at 17:08






    I did a hardware probe of the machine. Here it is: linux-hardware.org/?probe=814cd2dd3e Touchpad worked as you describe only when booted via USB installer; it never worked after the install.

    – sez11a
    Aug 26 at 17:08














    1


















    There was a new BIOS update released F12 Rev. A wonder if this fixes the issues?






    share|improve this answer





















    • 1





      I just tried booting with this BIOS version, and sadly it doesn't

      – SuperTal3
      Aug 9 at 15:39











    • Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

      – habitatunion
      Aug 12 at 12:09












    • I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

      – SuperTal3
      Aug 12 at 19:03















    1


















    There was a new BIOS update released F12 Rev. A wonder if this fixes the issues?






    share|improve this answer





















    • 1





      I just tried booting with this BIOS version, and sadly it doesn't

      – SuperTal3
      Aug 9 at 15:39











    • Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

      – habitatunion
      Aug 12 at 12:09












    • I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

      – SuperTal3
      Aug 12 at 19:03













    1














    1










    1









    There was a new BIOS update released F12 Rev. A wonder if this fixes the issues?






    share|improve this answer














    There was a new BIOS update released F12 Rev. A wonder if this fixes the issues?







    share|improve this answer













    share|improve this answer




    share|improve this answer










    answered Aug 8 at 23:50









    habitatunionhabitatunion

    111 bronze badge




    111 bronze badge










    • 1





      I just tried booting with this BIOS version, and sadly it doesn't

      – SuperTal3
      Aug 9 at 15:39











    • Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

      – habitatunion
      Aug 12 at 12:09












    • I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

      – SuperTal3
      Aug 12 at 19:03












    • 1





      I just tried booting with this BIOS version, and sadly it doesn't

      – SuperTal3
      Aug 9 at 15:39











    • Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

      – habitatunion
      Aug 12 at 12:09












    • I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

      – SuperTal3
      Aug 12 at 19:03







    1




    1





    I just tried booting with this BIOS version, and sadly it doesn't

    – SuperTal3
    Aug 9 at 15:39





    I just tried booting with this BIOS version, and sadly it doesn't

    – SuperTal3
    Aug 9 at 15:39













    Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

    – habitatunion
    Aug 12 at 12:09






    Did you have any luck following the above from Boldos? I'm having trouble with the ACPI then updating the kernel

    – habitatunion
    Aug 12 at 12:09














    I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

    – SuperTal3
    Aug 12 at 19:03





    I haven't had time to test his solution, I've been really busy lately, however soon I should have time to test this out.

    – SuperTal3
    Aug 12 at 19:03











    0


















    Ubuntu 19.10 beta works for me on an HP ENVY x360 15 (15-ds0502na). This model has Ryzen 7 3700, Radeon Vega 10 GPU, 16GB RAM and 512GB SSD.



    I was unable to get 19.04 to boot into a graphical environment at all, including trying overriding the ACPI tables.






    share|improve this answer






























      0


















      Ubuntu 19.10 beta works for me on an HP ENVY x360 15 (15-ds0502na). This model has Ryzen 7 3700, Radeon Vega 10 GPU, 16GB RAM and 512GB SSD.



      I was unable to get 19.04 to boot into a graphical environment at all, including trying overriding the ACPI tables.






      share|improve this answer




























        0














        0










        0









        Ubuntu 19.10 beta works for me on an HP ENVY x360 15 (15-ds0502na). This model has Ryzen 7 3700, Radeon Vega 10 GPU, 16GB RAM and 512GB SSD.



        I was unable to get 19.04 to boot into a graphical environment at all, including trying overriding the ACPI tables.






        share|improve this answer














        Ubuntu 19.10 beta works for me on an HP ENVY x360 15 (15-ds0502na). This model has Ryzen 7 3700, Radeon Vega 10 GPU, 16GB RAM and 512GB SSD.



        I was unable to get 19.04 to boot into a graphical environment at all, including trying overriding the ACPI tables.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Oct 16 at 12:53









        TomTom

        1461 silver badge8 bronze badges




        1461 silver badge8 bronze badges


















            protected by Community Aug 8 at 23:50



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?