I have an HP Envy x360 15-ee0xxx laptop (Ryzen 4700U processor and AMD graphics).
I am using Ubuntu, but wanted to escape systemd and decided to try Artix.
If I boot into Ubuntu 20.04 (cold or warm) and then do a warm reboot into Artix, X happily starts and runs.
But if I do a cold reboot, Artix boots but X does not start.
In Xorg.0.log, the "warm reboot" case has the following line
(II) xfree86: Adding drm device (/dev/dri/card0)
whereas the cold boot case doesn't have it.
After that, the warm case goes on with
(II) Applying OutputClass "AMDgpu" to /dev/dri/card0
loading driver: amdgpu
(==) Matched amdgpu as autoconfigured driver 0
(==) Matched ati as autoconfigured driver 1
and various more drivers, whereas the cold case starts with
(==) Matched ati as autoconfigured driver 0
The cold case goes on to use the Radeon driver, instead of the amdgpu driver, and eventually X gives up, saying
(EE) Unable to find a valid framebuffer device
The other possibly-relevant difference is that in the warm case, the log file has
(II) xfree86: Adding drm device (/dev/dri/card0)
whereas the cold case has
(EE) open /dev/dri/card0: No such file or directory
My hunting here and on the internet at large has revealed nothing.
Does anyone have any words of wisdom for me here?
Thanks.