• [gentoo-user] Wayland assorted problems

    From Wol@21:1/5 to All on Mon Nov 15 00:10:02 2021
    This is a multi-part message in MIME format.
    I'm still trying to get Wayland to work reliably. At the moment I log in
    at a TTY, then fire it up with "startplasma-wayland" ... except it
    doesn't start properly!

    I'm GUESSING part of the problem is my video card isn't set up properly.
    But I thought I'd followed the gentoo guide, and compiled the Radeon and
    R600 drivers into my kernel. I prefer to compile stuff in the kernel and
    not as modules, and I told it to load the drivers into the kernel, but
    am worried I might have missed something. I've changed it for the next
    kernel so it'll be a module loading what it wants from the firmware
    directory, so hopefully that'll be better but I'm not sure.

    I did an lspci -k and got this for the video card ...

    09:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] RV710 [Radeon HD 4350/4550]
    Subsystem: ASUSTeK Computer Inc. RV710 [Radeon HD 4350/4550]
    Kernel driver in use: radeon
    Kernel modules: radeon

    I notice it says "VGA compatible", and not what the wiki page leads me
    to expect - something like "Video driver" - which makes me think the
    card isn't set up properly.

    The symptoms basically are that wayland always hangs the first attempt
    to start it. Once killed from another tty it MAY (or may not) start successfully.


    I mentioned Thunderbird - that keeps on losing contact with the
    compositor or something which is why it keeps crashing ...


    And I run a multi-user system. I tried to fire up wayland as a second
    user, and got the error

    kwin_xwl: /tmp/.X11-unix is not owned by root or us

    Of course it isn't - it's not a user specific link so of course it's
    going to clash with another user!

    I attach the wayland log I got in case it gives anybody any other clues
    as to what's going on.

    Cheers,
    Wol
    Tm8gYmFja2VuZCBzcGVjaWZpZWQgdGhyb3VnaCBjb21tYW5kIGxpbmUgYXJndW1lbnQsIHRy eWluZyBhdXRvIHJlc29sdXRpb24Ka3dpbl93YXlsYW5kX2RybTogZHJtU2V0Q2xpZW50Q2Fw IGZvciBBdG9taWMgTW9kZSBTZXR0aW5nIGZhaWxlZC4gVXNpbmcgbGVnYWN5IG1vZGUgb24g R1BVICIvZGV2L2RyaS9jYXJkMCIKa3dpbl94a2Jjb21tb246IFhLQjogL3Vzci9zaGFyZS9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IGVsZW1lbnQgYmVj YXVzZSB0aGUgdHlwZXMgYXJlIGluY29ycmVjdC4KcXQuc3ZnOiA8aW5wdXQ+OjQxMzo2MzE6 IENvdWxkIG5vdCBhZGQgY2hpbGQgZWxlbWVudCB0byBwYXJlbnQgZWxlbWVudCBiZWNhdXNl IHRoZSB0eXBlcyBhcmUgaW5jb3JyZWN0LgpxdC5xcGEud2F5bGFuZDogV2F5bGFuZCBkb2Vz IG5vdCBzdXBwb3J0IFFXaW5kb3c6OnJlcXVlc3RBY3RpdmF0ZSgpCnF0LnFwYS53YXlsYW5k OiBXYXlsYW5kIGRvZXMgbm90IHN1cHBvcnQgUVdpbmRvdzo6cmVxdWVzdEFjdGl2YXRlKCkK bGlicG5nIHdhcm5pbmc6IGlDQ1A6IGtub3duIGluY29ycmVjdCBzUkdCIHByb2ZpbGUKcXQu cXBhLndheWxhbmQ6IFdheWxhbmQgZG9lcyBub3Qgc3VwcG9ydCBRV2luZG93OjpyZXF1ZXN0 QWN0aXZhdGUoKQoia3dpbl93YXlsYW5kX3dyYXBwZXIiICgiLS14d2F5bGFuZCIsICIvdXNy L2xpYjY0L2xpYmV4ZWMvc3RhcnRwbGFzbWEtd2F5bGFuZHNlc3Npb24iKSBleGl0ZWQgd2l0 aCBjb2RlIDE1CnN0YXJ0cGxhc21hY29tcG9zaXRvcjogU2h1dHRpbmcgZG93bi4uLgpzdGFy dHBsYXNtYWNvbXBvc2l0b3I6IERvbmUuCmt3aW5fd2F5bGFuZF9kcm06IE1vZGUgc2V0dGlu ZyBmYWlsZWQK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Wol on Wed Nov 17 19:20:01 2021
    On 2021.11.14 17:51, Wol wrote:
    I'm still trying to get Wayland to work reliably. At the moment I log
    in at a TTY, then fire it up with "startplasma-wayland" ... except it doesn't start properly!

    I'm GUESSING part of the problem is my video card isn't set up
    properly. But I thought I'd followed the gentoo guide, and compiled
    the Radeon and R600 drivers into my kernel. I prefer to compile stuff
    in the kernel and not as modules, and I told it to load the drivers
    into the kernel, but am worried I might have missed something. I've
    changed it for the next kernel so it'll be a module loading what it
    wants from the firmware directory, so hopefully that'll be better but
    I'm not sure.

    I did an lspci -k and got this for the video card ...

    09:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] RV710 [Radeon HD 4350/4550]
    Subsystem: ASUSTeK Computer Inc. RV710 [Radeon HD 4350/4550]
    Kernel driver in use: radeon
    Kernel modules: radeon

    I notice it says "VGA compatible", and not what the wiki page leads
    me to expect - something like "Video driver" - which makes me think
    the card isn't set up properly.
    I haven't tried Wayland in quite a while, but this motivates me to try
    again soon. However, my equivalent line is:

    1c:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]

    and Wayland did run for me when I last tried it. What wiki page are
    you looking at, since I don't see any reference to "video driver."

    The symptoms basically are that wayland always hangs the first
    attempt to start it. Once killed from another tty it MAY (or may not)
    start successfully.


    I mentioned Thunderbird - that keeps on losing contact with the
    compositor or something which is why it keeps crashing ...


    And I run a multi-user system. I tried to fire up wayland as a second
    user, and got the error

    kwin_xwl: /tmp/.X11-unix is not owned by root or us

    Of course it isn't - it's not a user specific link so of course it's
    going to clash with another user!

    I attach the wayland log I got in case it gives anybody any other
    clues as to what's going on.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marco Rebhan@21:1/5 to All on Wed Nov 17 20:13:09 2021
    On Sunday, 14 November 2021 23:51:37 CET Wol wrote:
    I'm still trying to get Wayland to work reliably. At the moment I log
    in at a TTY, then fire it up with "startplasma-wayland" ... except it
    doesn't start properly!

    Have you tried starting it with "dbus-run-session startplasma-wayland"?
    IIRC that's needed and it won't start correctly without, at least I
    start it that way on my system.

    -Marco
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEUuA5X09baU5GfLYxyND744GinTYFAmGVVEUACgkQyND744Gi nTbX4w//Qu45ew1DeG9MOWyz53k/wbyx37L/E6E1uto19iGT5O//L47LqrRNPJwB /6yVt/bjeJGspA6wQACXMS1XgNK8vyWH7EV5rq56oPVys7+8aiF/BMDJYQ0v7shB /TR819yA8gMAvGSyvzchw23nvT6jS3X8SQ84jbDX34FXUYM5iz/kHTFqjL5VbnUW hNpcFzV4Q4AuDl+aqxqU4bj6mr2qDmdXhn0NJDHZXCSb2iE8Wf9mtVtXlvL/r4c+ zJ6yXmsM+I/aF848hVCgablZS4O3Rzu+isexxgdR4wIiOT3dwfVdVrXN40CFgcI1 QsLgw7u8knrhpcGzjzl3n4Agfde9LWGk98ze62+A1ynqqvmgTLRTnhCU9xHMZO/R II0p8EalthaKJIUgHyLoQ7OjOS2gaSjtLzKhn5XIDTU1Jko0uuH2gyppRJEE+r/H GEMOjBQ+We6g3TX2vwQ0JuQc1ommmsk8/jbDO4EjN7hW8KHuOFLzvdqHR7YlDt2J eEelDLUmpXdOySKDUmhDDc1o6V9XGhyLTcVTXFWx1K0JoK3hm3+G2Oy+mtHst9YL A/FSVyIXec6fi/q0lTeyRRA51UFIxaGpLKAw9RjTr7OrUVSDu0tM/uS1TSrT4c1v sqY9H7cbNT+F9FKhu9r/5D0r0OT8wxCp3rg8fbvyYRf9e/LRRMY=
    =r+Qz
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to Marco Rebhan on Wed Nov 17 22:10:04 2021
    On 17/11/2021 19:13, Marco Rebhan wrote:
    On Sunday, 14 November 2021 23:51:37 CET Wol wrote:
    I'm still trying to get Wayland to work reliably. At the moment I log
    in at a TTY, then fire it up with "startplasma-wayland" ... except it
    doesn't start properly!

    Have you tried starting it with "dbus-run-session startplasma-wayland"?
    IIRC that's needed and it won't start correctly without, at least I
    start it that way on my system.

    I'll try that (again) but I know first time round I was trying all sorts
    of ways, and it probably included that, and didn't seem to have any effect.

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to Wol on Wed Nov 17 22:50:02 2021
    On 17/11/2021 20:59, Wol wrote:
    On 17/11/2021 19:13, Marco Rebhan wrote:
    On Sunday, 14 November 2021 23:51:37 CET Wol wrote:
    I'm still trying to get Wayland to work reliably. At the moment I log
    in at a TTY, then fire it up with "startplasma-wayland" ... except it
    doesn't start properly!

    Have you tried starting it with "dbus-run-session startplasma-wayland"?
    IIRC that's needed and it won't start correctly without, at least I
    start it that way on my system.

    I'll try that (again) but I know first time round I was trying all sorts
    of ways, and it probably included that, and didn't seem to have any effect.

    Well, just tried starting wayland again (my system locked up so I had to reboot), and wayland won't start. With or without dbus-run-session.

    Weirdly, I've noticed it seems to start working after a kernel upgrade,
    and then won't start again after a reboot or two ... WHY!?!?

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jack@21:1/5 to Wol on Thu Nov 18 01:00:04 2021
    On 2021.11.14 17:51, Wol wrote:
    I'm still trying to get Wayland to work reliably. At the moment I log
    in at a TTY, then fire it up with "startplasma-wayland" ... except it doesn't start properly!
    Seems to work fine for me (with minimal testing.)

    I'm GUESSING part of the problem is my video card isn't set up
    properly. But I thought I'd followed the gentoo guide, and compiled
    the Radeon and R600 drivers into my kernel. I prefer to compile stuff
    in the kernel and not as modules, and I told it to load the drivers
    into the kernel, but am worried I might have missed something. I've
    changed it for the next kernel so it'll be a module loading what it
    wants from the firmware directory, so hopefully that'll be better but
    I'm not sure.

    I did an lspci -k and got this for the video card ...

    09:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] RV710 [Radeon HD 4350/4550]
    Subsystem: ASUSTeK Computer Inc. RV710 [Radeon HD 4350/4550]
    Kernel driver in use: radeon
    Kernel modules: radeon
    1c:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
    Subsystem: XFX Pine Group Inc. Cape Verde XT [Radeon HD
    7770/8760 / R7 250X]
    Kernel driver in use: radeon
    Kernel modules: radeon, amdgpu

    I notice it says "VGA compatible", and not what the wiki page leads
    me to expect - something like "Video driver" - which makes me think
    the card isn't set up properly.

    The symptoms basically are that wayland always hangs the first
    attempt to start it. Once killed from another tty it MAY (or may not)
    start successfully.


    I mentioned Thunderbird - that keeps on losing contact with the
    compositor or something which is why it keeps crashing ...
    No crash, although I didn't run it very long.


    And I run a multi-user system. I tried to fire up wayland as a second
    user, and got the error

    kwin_xwl: /tmp/.X11-unix is not owned by root or us

    Of course it isn't - it's not a user specific link so of course it's
    going to clash with another user!
    When you run multiple copies of xorg, each one runs in a different
    console. I wouldn't be surprised if wayland simply isn't set up to do
    that.

    I attach the wayland log I got in case it gives anybody any other
    clues as to what's going on.
    The attached log includes the above kwin error. Can you post one where
    there isn't another wayland session running? I'd also confirm that
    directory does go away when no X or wayland is running. You might need
    to manually delete it.

    Jack

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to Jack on Sat Nov 20 21:10:01 2021
    This is a multi-part message in MIME format.
    On 17/11/2021 23:54, Jack wrote:
    On 2021.11.14 17:51, Wol wrote:
    I'm still trying to get Wayland to work reliably. At the moment I log
    in at a TTY, then fire it up with "startplasma-wayland" ... except it
    doesn't start properly!
    Seems to work fine for me (with minimal testing.)

    I'm GUESSING part of the problem is my video card isn't set up
    properly. But I thought I'd followed the gentoo guide, and compiled
    the Radeon and R600 drivers into my kernel. I prefer to compile stuff
    in the kernel and not as modules, and I told it to load the drivers
    into the kernel, but am worried I might have missed something. I've
    changed it for the next kernel so it'll be a module loading what it
    wants from the firmware directory, so hopefully that'll be better but
    I'm not sure.

    I did an lspci -k and got this for the video card ...

    09:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] RV710 [Radeon HD 4350/4550]
        Subsystem: ASUSTeK Computer Inc. RV710 [Radeon HD 4350/4550]
        Kernel driver in use: radeon
        Kernel modules: radeon
    1c:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
    [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
            Subsystem: XFX Pine Group Inc. Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
            Kernel driver in use: radeon
            Kernel modules: radeon, amdgpu

    I notice it says "VGA compatible", and not what the wiki page leads me
    to expect - something like "Video driver" - which makes me think the
    card isn't set up properly.

    The symptoms basically are that wayland always hangs the first attempt
    to start it. Once killed from another tty it MAY (or may not) start
    successfully.


    I mentioned Thunderbird - that keeps on losing contact with the
    compositor or something which is why it keeps crashing ...
    No crash, although I didn't run it very long.


    And I run a multi-user system. I tried to fire up wayland as a second
    user, and got the error

    kwin_xwl: /tmp/.X11-unix is not owned by root or us

    Of course it isn't - it's not a user specific link so of course it's
    going to clash with another user!
    When you run multiple copies of xorg, each one runs in a different
    console.  I wouldn't be surprised if wayland simply isn't set up to do
    that.

    I attach the wayland log I got in case it gives anybody any other
    clues as to what's going on.
    The attached log includes the above kwin error.  Can you post one where there isn't another wayland session running?  I'd also confirm that directory does go away when no X or wayland is running.  You might need
    to manually delete it.

    Okay, I rebooted the system, and tried to start Wayland. The first log
    is the output of my first attempt. This hung and I had to kill it.
    Actually, it was worse than that, <ctrl><alt><f2> caused the video
    driver or somesuch to crash - I ended up with a scrambled display, and
    had to ssh in and reboot ...

    I then googled, and because it said DISPLAY is not set, I tried setting
    it to both DISPLAY=localhost:0 and DISPLAY=0:0. This gave two identical
    logs, the second one, which didn't hang - it just failed to start and terminated.

    I'm trying to install and run the latest kernel - the current kernel has compiled the driver and firmware into the kernel, I've told the new
    kernel to build it as a module and not load the firmware into the
    kernel, but you've seen my post about genkernel ... where simply trying
    to tell genkernel to put the final initramfs somewhere other than the
    default causes fatal errors in the build ...

    Cheers,
    Wol
    Tm8gYmFja2VuZCBzcGVjaWZpZWQgdGhy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U6NTEyMDo0NjogdGhpcyBjb21wb3NlIHNlcXVlbmNlIGlzIGEgZHVwbGljYXRlIG9mIGFu b3RoZXI7IHNraXBwaW5nIGxpbmUKT3BlbkdMIHZlbmRvciBzdHJpbmc6ICAgICAgICAgICAg ICAgICAgIFguT3JnCk9wZW5HTCByZW5kZXJlciBzdHJpbmc6ICAgICAgICAgICAgICAgICBB TUQgUlY3MTAgKERSTSAyLjUwLjAgLyA1LjEwLjYxLWdlbnRvbywgTExWTSAxMy4wLjApCk9w ZW5HTCB2ZXJzaW9uIHN0cmluZzogICAgICAgICAgICAgICAgICAzLjAgTWVzYSAyMS4yLjUK T3BlbkdMIHNoYWRpbmcgbGFuZ3VhZ2UgdmVyc2lvbiBzdHJpbmc6IDEuMzAKRHJpdmVyOiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFI2MDBHCkdQVSBjbGFzczogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICBVbmtub3duCk9wZW5HTCB2ZXJzaW9uOiAgICAgICAg ICAgICAgICAgICAgICAgICAzLjAKR0xTTCB2ZXJzaW9uOiAgICAgICAgICAgICAgICAgICAg ICAgICAgIDEuMzAKTWVzYSB2ZXJzaW9uOiAgICAgICAgICAgICAgICAgICAgICAgICAgIDIx LjIuNQpMaW51eCBrZXJuZWwgdmVyc2lvbjogICAgICAgICAgICAgICAgICAgNS4xMC42MQpS ZXF1aXJlcyBzdHJpY3QgYmluZGluZzogICAgICAgICAgICAgICAgbm8KR0xTTCBzaGFkZXJz OiAgICAgICAgICAgICAgICAgICAgICAgICAgIHllcwpUZXh0dXJlIE5QT1Qgc3VwcG9ydDog ICAgICAgICAgICAgICAgICAgeWVzClZpcnR1YWwgTWFjaGluZTogICAgICAgICAgICAgICAg ICAgICAgICBubwpGaWx0ZXIgbXVsdGktcGxhbmUgZm9ybWF0IDk2MTk1OTI1NwpGaWx0ZXIg bXVsdGktcGxhbmUgZm9ybWF0IDgyNTMxNjY5NwpGaWx0ZXIgbXVs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dhcm5pbmc6IGlDQ1A6IGtub3duIGluY29ycmVjdCBzUkdC IHByb2ZpbGUKcXQucXBhLndheWxhbmQ6IFdheWxhbmQgZG9lcyBub3Qgc3VwcG9ydCBRV2lu ZG93OjpyZXF1ZXN0QWN0aXZhdGUoKQpxdC5xcGEud2F5bGFuZDogV2F5bGFuZCBkb2VzIG5v dCBzdXBwb3J0IFFXaW5kb3c6OnJlcXVlc3RBY3RpdmF0ZSgpCmxpYnBuZyB3YXJuaW5nOiBp Q0NQOiBrbm93biBpbmNvcnJlY3Qgc1JHQiBwcm9maWxlCnF0LnFwYS53YXlsYW5kOiBXYXls YW5kIGRvZXMgbm90IHN1cHBvcnQgUVdpbmRvdzo6cmVxdWVzdEFjdGl2YXRlKCkKImt3aW5f d2F5bGFuZF93cmFwcGVyIiAoIi0teHdheWxhbmQiLCAiL3Vzci9saWI2NC9saWJleGVjL3N0 YXJ0cGxhc21hLXdheWxhbmRzZXNzaW9uIikgZXhpdGVkIHdpdGggY29kZSAxNQpzdGFydHBs YXNtYWNvbXBvc2l0b3I6IFNodXR0aW5nIGRvd24uLi4Kc3RhcnRwbGFzbWFjb21wb3NpdG9y OiBEb25lLgpUaGUgV2F5bGFuZCBjb25uZWN0aW9uIGJyb2tlLiBEaWQgdGhlIFdheWxhbmQg Y29tcG9zaXRvciBkaWU/Cg==

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Wol@21:1/5 to Wol on Sun Nov 21 15:10:02 2021
    On 20/11/2021 19:59, Wol wrote:

    Okay, I rebooted the system, and tried to start Wayland. The first log
    is the output of my first attempt. This hung and I had to kill it.
    Actually, it was worse than that, <ctrl><alt><f2> caused the video
    driver or somesuch to crash - I ended up with a scrambled display, and
    had to ssh in and reboot ...

    I then googled, and because it said DISPLAY is not set, I tried setting
    it to both DISPLAY=localhost:0 and DISPLAY=0:0. This gave two identical
    logs, the second one, which didn't hang - it just failed to start and terminated.

    I'm trying to install and run the latest kernel - the current kernel has compiled the driver and firmware into the kernel, I've told the new
    kernel to build it as a module and not load the firmware into the
    kernel, but you've seen my post about genkernel ... where simply trying
    to tell genkernel to put the final initramfs somewhere other than the
    default causes fatal errors in the build ...

    Cheers,
    Wol

    From the KDE Wayland web page ...

    Now switching back to the tty KWin is running on should show the
    started window and allow to interact with it. Support for running KWin
    on a tty is still in it's early stages. Bugs are to be expected and
    there are known missing features. Please consider it only as a mode to experiment with.

    Hmmm .... so I need to be running from sddm or similar if I want it to
    work ... which will open a complete 'nother can of worms ...

    Cheers,
    Wol

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)