1 |
On Sunday, 27 June 2021 10:05:59 BST Wols Lists wrote: |
2 |
> On 21/06/21 16:17, Michael wrote: |
3 |
> > Have you tried using a Display Manager? Some of my systems won't work |
4 |
> > with |
5 |
> > Wayland, but I haven't spent time to find out why all I get with them is a |
6 |
> > black screen. |
7 |
> > |
8 |
> > Anyway, from a VT you'd run something like: |
9 |
> > |
10 |
> > XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland |
11 |
> |
12 |
> Okay, we're slowly moving forward ... |
13 |
> |
14 |
> My first attempt got the error "kwin-plasma won't run as root" or |
15 |
> somesuch. Created a new user for me, and promptly got a black screen! |
16 |
|
17 |
You're meant to be running X11 as a non-root user. |
18 |
|
19 |
|
20 |
> As I said earlier, X currently won't run. I've got a Asus EAH4350, and |
21 |
> am loading the Radeon driver. |
22 |
|
23 |
I am not familiar with the model and any APU/graphics options it may be |
24 |
furnished with. You have not shared what the video card might be. A quick |
25 |
search on the interwebs mention an AMD R700 family, HD4350 card. According |
26 |
to: |
27 |
|
28 |
https://wiki.gentoo.org/wiki/Radeon |
29 |
|
30 |
such a card requires in your make.conf: |
31 |
|
32 |
VIDEO_CARDS="radeon r600" |
33 |
|
34 |
emerge 'sys-kernel/linux-firmware' and in your kernel specify the following |
35 |
firmware: |
36 |
|
37 |
radeon/R600_rlc.bin radeon/RS780_uvd.bin radeon/RS780_pfp.bin radeon/ |
38 |
RS780_me.bin |
39 |
|
40 |
|
41 |
> When I looked at the X log it was clearly |
42 |
> loading the driver, which failed with something like "cannot find |
43 |
> /dev/card1". If that gives anyone any clues where to point me that's |
44 |
> great, or I'll transfer the logs to this machine and post them. |
45 |
> |
46 |
> Cheers, |
47 |
> Wol |
48 |
|
49 |
dmesg will show if there is any problem with the kernel missing modules, or |
50 |
having problems loading firmware; |
51 |
|
52 |
/var/log/Xorg.0.log will show what problems X11 comes up with when it tries to |
53 |
launch. |
54 |
|
55 |
Normally /dev/dri/card0 is the first card being loaded: |
56 |
|
57 |
$ grep -i card /var/log/Xorg.0.log |
58 |
[ 37.111] (II) xfree86: Adding drm device (/dev/dri/card0) |
59 |
[ 37.148] (II) xfree86: Adding drm device (/dev/dri/card1) |
60 |
[ 38.366] (II) Applying OutputClass "Radeon" to /dev/dri/card0 |
61 |
[ 38.367] (II) Applying OutputClass "Radeon" to /dev/dri/card1 |