View previous topic :: View next topic |
Author |
Message |
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2178
|
Posted: Mon Oct 16, 2023 8:09 am Post subject: |
|
|
kj184050 wrote: | ...
I reverted everything and still no Wayland. Lightdm is going back to log in screen after selecting a Wayland session.
Nothing in dmesg... |
dmesg is rarely useful in this circumstance. What you need to look at is the stdout and stderr from whatever script lightdm uses to invoke your session. I don't use lightdm, but the sddm equivalent gets sent to .local/share/sddm/wayland-session.log. The contents are usually a enormous collection of warnings and error messages and cruft that nobody every bothers to fix in whatever desktop interface you're running. _________________ Greybeard |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Mon Oct 16, 2023 9:07 am Post subject: |
|
|
Lightdm needs X11 even to start a wayland session.
https://wiki.archlinux.org/title/wayland#Display_managers
If you want straight wayland, no X11, then use sddm or start from cmd line.
I have a script that basically sets all env vars that I need then starts the compositor. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Mon Oct 16, 2023 9:40 am Post subject: |
|
|
Guys…
I am speechless.
I installed sddm and now Wayland works again.
I plan to test Hyperland, solve all my issues, and finally make it my only desktop.
Thanks for suggestions.
BTW, does Wayland need an X USE flag? |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Mon Oct 16, 2023 9:50 am Post subject: |
|
|
kj184050 wrote: | Guys…
I am speechless.
I installed sddm and now Wayland works again.
I plan to test Hyperland, solve all my issues, and finally make it my only desktop.
Thanks for suggestions.
BTW, does Wayland need an X USE flag? |
If you ever expect to run X apps with Xwayland, then you will need X11 related stuff.
I've removed X completely from my system, apps that require any part of X11 libs won't run, so there are alternatives.
Gtk and Qt both run under either wayland or X. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Mon Oct 16, 2023 11:38 am Post subject: |
|
|
I need only GTK. I am trying to get rid of qt whenever possible.
I plan to install Gentoo from scratch using only the newest and greatest technologies like
- no bootloader (booting from EFI - I hate grub sice the beginning, I liked Lilo, but it can't use EFI)
- btrfs instead of ext4
- minimal system with -* USE in make.conf
- Wayland plus Hyprland only without display manager
- Manual, minimal kernel config without iniramfs (I have never had time for this). It is sad to admit the last custom kernel I compiled manually was like 15-20 years ago )
- and other only good stuff.
Thanks to this thread, I started experimenting again
thanks guys.
I have found this:
Code: | https://www.reddit.com/r/Gentoo/comments/150r74m/guide_hyprland_nvidia_extremely_minimal_gentoo/ |
It is worth trying. But I will do it my way, using only a few steps from this guide.
If you guys have time, please check these steps and give feedback if you want. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5094 Location: Bavaria
|
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6065 Location: Removed by Neddy
|
Posted: Mon Oct 16, 2023 1:25 pm Post subject: |
|
|
*IF* you are using applications that utilize cursor warping you are going to have issues with Wayland...
Wayland has not exposed API for this and XWayland does not reproduce the behavior (and also has issues with docks)...
Neither Wayland nor XWayland are complete FACT but it is in a really good spot for day to day usage. I use Wayland daily (thanks to Anon-E moose a few years ago) but I am also using a program via XWayland that does not behave correctly as cursor warping is critical _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Mon Oct 16, 2023 2:44 pm Post subject: |
|
|
Returns nothing while in Hyprland using Firefox, nicotine+, rhythmbox, etc...
so maybe not many apps needs X11
after opening Gimp,
xlsclients proudly reports it.
Gimp in Wayland looks TERRIBLE, the font is barely readable... It doesn't use GTK theme.
Do you have the same issues?
@pietinger thanks. I will definitely squeeze every single bit from the system.
I will buy nvme drive tomorrow, so maybe this week it will be installed.
Wayland only Gentoo |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6065 Location: Removed by Neddy
|
Posted: Mon Oct 16, 2023 7:46 pm Post subject: |
|
|
kj184050 wrote: |
after opening Gimp,
xlsclients proudly reports it.
Gimp in Wayland looks TERRIBLE, the font is barely readable... It doesn't use GTK theme.
Do you have the same issues?
|
Depends on your version. 2.99.16 (ie the in-dev, built using newer gtk) runs in wayland. _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3688 Location: Rasi, Finland
|
Posted: Tue Oct 17, 2023 8:41 am Post subject: |
|
|
While X11 development has practically stopped, at least they still fix some bugs. But for how long? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Tue Oct 17, 2023 8:43 am Post subject: |
|
|
Quote: | Depends on your version. 2.99.16 (ie the in-dev, built using newer gtk) runs in wayland. |
Do you know when it will be available in stable?
and another issue with Wayland.
Rhythmbox is crashing often. This morning it is not playing at all.
Need a restart...
My battle with Wayland is hard |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3688 Location: Rasi, Finland
|
Posted: Tue Oct 17, 2023 9:01 am Post subject: |
|
|
Are you currently running Gnome, KDE or Hyprland?
Can you run rythmbox in terminal or in some other way so that you could grab its terminal output (stdout as well stderr). _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Tue Oct 17, 2023 9:25 am Post subject: |
|
|
Quote: | Are you currently running Gnome, KDE or Hyprland? |
Hyprland
Quote: | Can you run rythmbox in terminal or in some other way so that you could grab its terminal output (stdout as well stderr). |
I will do that and let you know when it crashes. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6065 Location: Removed by Neddy
|
Posted: Tue Oct 17, 2023 9:29 am Post subject: |
|
|
kj184050 wrote: | Quote: | Depends on your version. 2.99.16 (ie the in-dev, built using newer gtk) runs in wayland. |
Do you know when it will be available in stable?
|
Not for quite some time...
GIMP3 has been an illusive release and v2.99.16 is BETA (really good beta mind...)
Back in July of this year there was HOPE for a v3.0.0-rc0 build but it is now October so there is a high chance the 1st RC won't appear until december. MAYBE just MAYBE the full release will be done by March 2024 and then it will take several months before it is in the stable branch of Gentoo.
In short I wouldn't be surprised in seeing GIMP-3.0.# in Gentoo-stable by Oct-2024
https://developer.gimp.org/core/roadmap/#gimp-30-development-branch-roadmap _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Tue Oct 17, 2023 10:29 am Post subject: |
|
|
I tried to install it:
Code: |
emerge -av =media-gfx/gimp-2.99.16
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 16.04 s.
[ebuild U *] media-gfx/gimp-2.99.16:0/3::gentoo [2.10.34-r2:0/2::gentoo] USE="X%* alsa gnome heif mng postscript python%* udev -aalib -doc -javascript% -jpeg2k -jpegxl -lua% -openexr -test -unwind -vala% -vector-icons -webp -wmf -xpm (-aqua%) (-debug%)" CPU_FLAGS_X86="(-mmx%*) (-sse%*)" LUA_SINGLE_TARGET="luajit%*" PYTHON_SINGLE_TARGET="python3_11%* -python3_10%" 24,384 KiB
Total: 1 package (1 upgrade), Size of downloads: 24,384 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
media-gfx/gimp:0
(media-gfx/gimp-2.99.16:0/3::gentoo, ebuild scheduled for merge) USE="X alsa gnome heif mng postscript python udev -aalib -doc -javascript -jpeg2k -jpegxl -lua -openexr -test -unwind -vala -vector-icons -webp -wmf -xpm" ABI_X86="(64)" LUA_SINGLE_TARGET="luajit" PYTHON_SINGLE_TARGET="python3_11 -python3_10" pulled in by
=media-gfx/gimp-2.99.16 (Argument)
(media-gfx/gimp-2.10.34-r2:0/2::gentoo, installed) USE="alsa gnome heif mng postscript udev -aalib (-aqua) -debug -doc -jpeg2k -jpegxl -openexr -test -unwind -vector-icons -webp -wmf -xpm" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" pulled in by
media-gfx/gimp:0/2 required by (media-gfx/xsane-0.999-r5:0/0::gentoo, installed) USE="gimp jpeg lcms nls png tiff -ocr" ABI_X86="(64)"
^^^^
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook. |
I will just wait |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6065 Location: Removed by Neddy
|
Posted: Tue Oct 17, 2023 10:45 am Post subject: |
|
|
Do you need/use xsane? this is the package that is holding you back.
Option1 : wait
Option2 : -gimp and re-emerge xsane
Option3 : emerge -c xsane _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Tue Oct 17, 2023 12:44 pm Post subject: |
|
|
It died a moment ago:
Code: | rhythmbox
(rhythmbox:17460): Gtk-WARNING **: 10:26:10.134: Calling org.freedesktop.portal.Inhibit.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
fish: Job 1, 'rhythmbox' terminated by signal SIGTERM (Polite quit request) |
I noticed that nicotine dies together with rhythmbox. I'll track it too. Something terminated them together.
Quote: | Do you need/use xsane? this is the package that is holding you back. |
My HP printer needs it, but I use my phone to scan documents, so good point.
Now gimp is installed
Code: | gimp -v
GNU Image Manipulation Program version 2.99.16
git-describe: GIMP_2_99_16
Build: unknown rev 0 for linux |
Yes, it looks as it should. Menus look insane
Thanks |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3688 Location: Rasi, Finland
|
Posted: Tue Oct 17, 2023 6:23 pm Post subject: |
|
|
kj184050 wrote: | It died a moment ago:
Code: | rhythmbox
(rhythmbox:17460): Gtk-WARNING **: 10:26:10.134: Calling org.freedesktop.portal.Inhibit.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
fish: Job 1, 'rhythmbox' terminated by signal SIGTERM (Polite quit request) |
|
I would guess this is some program-library version or protocol version mismatch. Or maybe dbus not running at all.
Does this happen if you launch hyprland from vt via Code: | dbus-launch --exit-with-session hyprland [args] | ? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Tue Oct 17, 2023 9:04 pm Post subject: |
|
|
Code: | equery b /usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml
* Searching for /usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml ...
sys-apps/xdg-desktop-portal-1.16.0 (/usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml) |
If you have it either xdg-desktop-portal-hyprland or xdg-desktop-portal-wlr emerged they should auto start. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Wed Oct 18, 2023 5:25 am Post subject: |
|
|
Code: | equery b /usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml
* Searching for /usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml ...
sys-apps/xdg-desktop-portal-1.18.0-r2 (/usr/share/dbus-1/interfaces/org.freedesktop.portal.Inhibit.xml) |
Quote: | Does this happen if you launch hyprland from vt via |
I will check later.
But I can check now if I have these packages.
Code: |
equery list "*portal*"
* Searching for *portal* ...
[IP-] [ ] dev-libs/libportal-0.6:0/1-1-1-1
[IP-] [ ] sys-apps/xdg-desktop-portal-1.18.0-r2:0
[IP-] [ ] sys-apps/xdg-desktop-portal-gnome-44.2:0
[IP-] [ ] sys-apps/xdg-desktop-portal-gtk-1.14.1:0
equery list "*hyprland*"
* Searching for *hyprland* ...
[IP-] [ ] dev-libs/hyprland-protocols-0.2:0
[IP-] [ ] gui-wm/hyprland-0.30.0:0
equery list -po "*hyprland*"
* Searching for *hyprland* ...
[IP-] [ ] dev-libs/hyprland-protocols-0.2:0
[-P-] [ ] gui-wm/hyprland-0.29.1:0
[IP-] [ ] gui-wm/hyprland-0.30.0:0
equery list -po "*-portal*"
* Searching for *-portal* ...
[-P-] [ ] gui-libs/xdg-desktop-portal-lxqt-0.4.0:0
[-P-] [ ] gui-libs/xdg-desktop-portal-wlr-0.5.0:0/9999
[-P-] [ ~] gui-libs/xdg-desktop-portal-wlr-0.6.0:0/9999
[-P-] [ ~] gui-libs/xdg-desktop-portal-wlr-0.7.0:0
[-P-] [ -] gui-libs/xdg-desktop-portal-wlr-9999:0
[-P-] [ ] kde-plasma/xdg-desktop-portal-kde-5.27.8:5
[-P-] [ ] kde-plasma/xdg-desktop-portal-kde-5.27.8-r1:5
[-P-] [ ] sys-apps/xdg-desktop-portal-1.16.0-r1:0
[-P-] [ ] sys-apps/xdg-desktop-portal-1.18.0-r1:0
[IP-] [ ] sys-apps/xdg-desktop-portal-1.18.0-r2:0
[IP-] [ ] sys-apps/xdg-desktop-portal-gnome-44.2:0
[-P-] [ ~] sys-apps/xdg-desktop-portal-gnome-45.0:0
[IP-] [ ] sys-apps/xdg-desktop-portal-gtk-1.14.1:0
|
So it looks like I dont have xdg-desktop-portal-hyprland in portage. Wlr was not emerged automatically either. |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Wed Oct 18, 2023 9:01 am Post subject: |
|
|
gui-libs/xdg-desktop-portal-hyprland would have to come from one of the repos like guru
gui-libs/xdg-desktop-portal-wlr will work and is in gentoo's repo
either need an explicit emerge, but they will pull in xdg-desktop-portal on their own. Sorry I didn't explain better.
so "emerge -v xdg-desktop-portal-<whichever you choose>" will work and pull in xdg-desktop-portal. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Wed Oct 18, 2023 9:22 am Post subject: |
|
|
No worries
but I have
Code: | [IP-] [ ] sys-apps/xdg-desktop-portal-1.18.0-r2:0 |
installed.
Do I still need to install gui-libs/xdg-desktop-portal-wlr? |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6065 Location: Removed by Neddy
|
Posted: Wed Oct 18, 2023 9:39 am Post subject: |
|
|
yes, but are they running?
some of the issues I was having with SWAY turned out to be the required portals (including a missing flatpak portal) _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
kj184050 Apprentice
Joined: 29 Sep 2021 Posts: 164 Location: Devon
|
Posted: Wed Oct 18, 2023 9:43 am Post subject: |
|
|
Quote: | [2023-10-18 10:35:04] Quitting Nicotine+ 3.2.9, terminating…
[2023-10-18 10:35:04] Quit Nicotine+ 3.2.9, terminated! |
Quote: | fish: Job 1, 'rhythmbox' terminated by signal SIGTERM (Polite quit request) |
Code: | yes, but are they running? |
OK, I will switch it on |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6145 Location: Dallas area
|
Posted: Wed Oct 18, 2023 10:38 am Post subject: |
|
|
Not everything works well without out the portal, I had trouble with sound (bluetooth) until I switched it on.
Code: | 17011 ? /usr/libexec/xdg-desktop-portal
17016 ? /usr/libexec/xdg-document-portal
17026 ? \_ fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /tmp/.runtime/doc
17020 ? /usr/libexec/xdg-permission-store
17033 ? /usr/libexec/xdg-desktop-portal-hyprland |
As you can see a few things are started portal-wise
Edit to add: From the readme xdg-desktop-portal
Code: | To implement most portals, xdg-desktop-portal relies on a backend
that provides implementations of the org.freedesktop.impl.portal.\* interfaces.
Different backends are available see:
- GTK [xdg-desktop-portal-gtk](http://github.com/flatpak/xdg-desktop-portal-gtk)
- GNOME [xdg-desktop-portal-gnome](https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/)
- KDE [xdg-desktop-portal-kde](https://invent.kde.org/plasma/xdg-desktop-portal-kde)
- LXQt [xdg-desktop-portal-lxqt](https://github.com/lxqt/xdg-desktop-portal-lxqt)
- Pantheon (Elementary) [xdg-desktop-portal-pantheon](https://github.com/elementary/portals)
- wlroots [xdg-desktop-portal-wlr](https://github.com/emersion/xdg-desktop-portal-wlr) |
So you probably need to emerge either hyprland or wlr version of portal _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
|