public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: antlists <antlists@youngman.org.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] New install - Wayland and graphical login
Date: Sun, 27 Jun 2021 12:52:39 +0100	[thread overview]
Message-ID: <e0863362-11db-3c5b-f23b-0195b01e9884@youngman.org.uk> (raw)
In-Reply-To: <2782119.e9J7NaK4W3@lenovo.localdomain>

On 27/06/2021 11:36, Michael wrote:
> On Sunday, 27 June 2021 10:05:59 BST Wols Lists wrote:
>> On 21/06/21 16:17, Michael wrote:
>>> Have you tried using a Display Manager?  Some of my systems won't work
>>> with
>>> Wayland, but I haven't spent time to find out why all I get with them is a
>>> black screen.
>>>
>>> Anyway, from a VT you'd run something like:
>>>
>>> XDG_SESSION_TYPE=wayland dbus-run-session startplasma-wayland
>>
>> Okay, we're slowly moving forward ...
>>
>> My first attempt got the error "kwin-plasma won't run as root" or
>> somesuch. Created a new user for me, and promptly got a black screen!
> 
> You're meant to be running X11 as a non-root user.
> 
And if the only user on the system is root, which I'm logged in as :-)
> 
>> As I said earlier, X currently won't run. I've got a Asus EAH4350, and
>> am loading the Radeon driver.
> 
> I am not familiar with the model and any APU/graphics options it may be
> furnished with.  You have not shared what the video card might be.

Well, "Asus EAH4350" is what it says on the box.

>  A quick
> search on the interwebs mention an AMD R700 family, HD4350 card.  According
> to:

So I guess Asus have rebadged the 4350 chipset, and those drivers should 
work.
> 
> https://wiki.gentoo.org/wiki/Radeon
> 
> such a card requires in your make.conf:
> 
> VIDEO_CARDS="radeon r600"
> 
> emerge 'sys-kernel/linux-firmware' and in your kernel specify the following
> firmware:
> 
> radeon/R600_rlc.bin radeon/RS780_uvd.bin radeon/RS780_pfp.bin radeon/
> RS780_me.bin
> 
Thanks. I'll add all that stuff ...
> 
>> When I looked at the X log it was clearly
>> loading the driver, which failed with something like "cannot find
>> /dev/card1". If that gives anyone any clues where to point me that's
>> great, or I'll transfer the logs to this machine and post them.
>>
>> Cheers,
>> Wol
> 
> dmesg will show if there is any problem with the kernel missing modules, or
> having problems loading firmware;
> 
> /var/log/Xorg.0.log will show what problems X11 comes up with when it tries to
> launch.
> 
> Normally /dev/dri/card0 is the first card being loaded:
> 
> $ grep -i card /var/log/Xorg.0.log
> [    37.111] (II) xfree86: Adding drm device (/dev/dri/card0)
> [    37.148] (II) xfree86: Adding drm device (/dev/dri/card1)
> [    38.366] (II) Applying OutputClass "Radeon" to /dev/dri/card0
> [    38.367] (II) Applying OutputClass "Radeon" to /dev/dri/card1
> 
Thank you very much. Let's see whether that fixes the problem with 
Wayland, too. I found an interesting blog by ?Michael Graesslin on 
fixing the "black screen in Wayland" problem, but a lot of it dates from 
2016. If Wayland doesn't fix itself, I'll work my way through that, but 
it looks like there's a LOT of things that can go wrong and cause 
problems...

Cheers,
Wol


  reply	other threads:[~2021-06-27 11:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-21 16:27 [gentoo-user] New install - Wayland and graphical login Wols Lists
2021-06-21 15:17 ` Michael
2021-06-23  9:11   ` jdm
2021-06-25  7:50     ` antlists
2021-06-25  8:46       ` Michael
2021-06-25 19:15         ` antlists
2021-06-25 23:51           ` Michael
2021-06-26  7:19             ` Wols Lists
2021-06-26  9:28               ` Michael
2021-06-26 10:50                 ` antlists
2021-06-26 12:00                   ` Michael
2021-06-28 19:23                     ` antlists
2021-06-29  7:49                       ` [gentoo-user] [FIXED] " Wols Lists
2021-06-29  9:44                         ` Michael
2021-06-29 10:32                           ` antlists
2021-06-29 11:14                             ` Michael
2021-06-27  9:05   ` [gentoo-user] " Wols Lists
2021-06-27 10:36     ` Michael
2021-06-27 11:52       ` antlists [this message]
2021-06-27 12:24         ` Michael
2021-06-27 15:14       ` Jack
2021-06-27 15:44         ` antlists
2021-08-04 20:24   ` [gentoo-user] SOLVED (hopefully) " antlists
2021-08-04 22:28     ` Michael
2021-07-03 11:00 ` [gentoo-user] " Tamer Higazi
2021-07-03 19:25   ` antlists

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0863362-11db-3c5b-f23b-0195b01e9884@youngman.org.uk \
    --to=antlists@youngman.org.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox