HP Envy X360 15-bq102ng
The HP Envy X360 15-bq102ng was released in 2017. It has a Ryzen Mobile 5 2500u with an integrated Vega 8 GPU and 8GB of DDR4 RAM.
|GPU||AMD Vega 8 IGPU||Yes||xf86-video-amdgpu; Backlight works|
|Camera||Normal 1080p + IR 336x340||Yes||uvcvideo|
|Sensors||STM Sensor hub||Yes||Useto use autorotate|
|USB C||AMD xHCI Host Controller||Yes||Data and DP working|
This laptop has secure boot enabled by default. To start the installer you need to disable it in the UEFI. Then you can just boot the installer in UEFI mode and just install like a normal UEFI system.
Battery and Power Management
On Linux 4.17 I get about 5 hours on light load, like watching youtube. Installingis a good idea. Suspend and Hibernate works.
Display, Video Card
The integrated Vega GPU works with the AMDGPU drivers. Apparently the display panel is freesync capable.
Touchscreen and Stylus
As of 4.19.8 the touchscreen works out of the box.
You currently need to install  written in C.and reboot to make the orientation sensor work. This will disable the keyboard and touchpad, and invert the side volume buttons when the screen is held at the right orientation or is folded. The Gnome desktop environment does support the rotation natively. Other desktop enviroments may need extra software. You could compile and use this daemon
Works out of the box.
Works, but to use an BT audio device with GNOME you have to install broken link: package not found].AUR[
Built-in NVME drive works with advertised speed. Blockdevices are loacated at /dev/nvme0n1p*. There is an empty bay for an additional SATA 2.5 inch drive, but you have to buy a proprietary cable.
Not tested, but there shouldn't any difficulties.
On some devices the Laptop freezes randomly (e.g. when surfing on Youtube). A workaround is to set these kernel-options: idle=nomwait rcu_nocbs=0-7
Unable to boot on linux >= 4.20
This is caused by a firmware bug that is yet to be fixed. The only solution is to delete /usr/lib/firmware/amdgpu/raven_dmcu.bin and rebuilding the linux boot image (sudo mkinitcpio -p linux)
(thanks to Jay Fitzpatrick for discovering this)
OpenCL will not work with this solution and any OpenCL application will crash the system. Otherwise works perfectly fine. https://bugs.freedesktop.org/show_bug.cgi?id=109206