Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Standalone Xwayland
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Jun 27, 2021 1:02 pm    Post subject: Reply with quote

My list is little shorter, only libnettle is missing if I'm not mistaken

Well, it's possible that if I was to remove those 4 deps and try that it would work, but I doubt it, I did that last night.
But I'm curious and will try that for sure, need to take a little break from it
If it doesn't work then I'll start first just with libpciaccess ...

Code:
  ldd /usr/bin/Xwayland
   linux-vdso.so.1 (0x00007ffe087ee000)
   libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007a5073666000)
   libbsd.so.0 => /usr/lib64/libbsd.so.0 (0x00007a507364c000)
   libXfont2.so.2 => /usr/lib64/libXfont2.so.2 (0x00007a5073611000)
   libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007a5073609000)
   libwayland-client.so.0 => /usr/lib64/libwayland-client.so.0 (0x00007a50735f8000)
   libdrm.so.2 => /usr/lib64/libdrm.so.2 (0x00007a50735e3000)
   libepoxy.so.0 => /usr/lib64/libepoxy.so.0 (0x00007a50734b1000)
   libgbm.so.1 => /usr/lib64/libgbm.so.1 (0x00007a50734a0000)
   libm.so.6 => /lib64/libm.so.6 (0x00007a5073369000)
   libxshmfence.so.1 => /usr/lib64/libxshmfence.so.1 (0x00007a5073364000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007a507335e000)
   libcrypto.so.1.1 => /usr/lib64/libcrypto.so.1.1 (0x00007a5073098000)
   libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007a5073091000)
   libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007a507300b000)
   libc.so.6 => /lib64/libc.so.6 (0x00007a5072e48000)
   /lib64/ld-linux-x86-64.so.2 (0x00007a5073980000)
   libz.so.1 => /lib64/libz.so.1 (0x00007a5072e2e000)
   libbz2.so.1 => /lib64/libbz2.so.1 (0x00007a5072e1a000)
   libfontenc.so.1 => /usr/lib64/libfontenc.so.1 (0x00007a5072e10000)
   libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007a5072d48000)
   libffi.so.7 => /usr/lib64/libffi.so.7 (0x00007a5072d3c000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007a5072d1c000)
   libwayland-server.so.0 => /usr/lib64/libwayland-server.so.0 (0x00007a5072d05000)
   libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007a5072cd4000)
   libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007a5072c1a000)
   libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007a5072be6000)
   libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007a5072bac000)
   libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007a5072a67000)
   libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007a5072a3a000)
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Jun 27, 2021 1:04 pm    Post subject: Reply with quote

remove libpciaccess util-macros rgb leave xkbcomp, if that doesn't work, add iceauth and xauth, then try again.

ETA: looked at the difference between ldd's and you're pulling in libcrypto and I let meson decide and it pulled in nettle.

Not sure that that makes a difference, but worth looking at as a last resort.

libcrypto does pull in openssl, at least part of it, which xorg uses as a dep but xwayland doesn't. Hmm
(doesn't claim it, ie mentioned as a dep in meson)
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Jun 27, 2021 1:19 pm    Post subject: Reply with quote

I will try all that, first I wanted to make sure that everything still works as it is right now, and it is, the only problem is Steam (flatpak version) , it launches, games are launching, except there's no sound, when I tried one game from GOG it worked and had sound, so it's Steam only issue, I'll have to check that first and try to solve it, when I switch to flatpak shell I get this
Code:
$  flatpak run --command=bash com.valvesoftware.Steam
F: /run/user/1000/.flatpak/com.valvesoftware.Steam/xdg-run/pulse is not a symlink to "../../flatpak/pulse" as expected: readlinkat: Invalid argument
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Jun 27, 2021 1:32 pm    Post subject: Reply with quote

Never mind the sound in Steam, I solved it.

Yeah about crypto, that shouldn't make a difference.

btw rgb is removed, xauth is installed but not selected for removal, but I'll do this, will try first with everything removed, then if it doesn't work I'll add libpciaccess and go from there
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Jun 27, 2021 1:49 pm    Post subject: Reply with quote

Removing all 4 deps resulted in x11 apps not working, or Xwayland not launching to be exact
Then I added libpciaccess which pulled util-macros, it didn't work with those 2 deps , then I added xkbcomp and then it worked.
Then I removed libpciaccess and util-macros and it worked.
So in my case (and using Sway) xkbcomp is only needed fot standalone xwayland
Didn't bother with iceauth at all, now maybe I will encounter some issue later but I think it's good, at least I'll know the solution (add more deps)
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Jun 27, 2021 1:52 pm    Post subject: Reply with quote

Well, even though xkbcomp "is not required" according to meson, I had it as a dep in my ebuild.

I've removed libpciaccess and the auth stuff is still available with the use flag.

Sweet.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Jun 27, 2021 1:56 pm    Post subject: Reply with quote

Yeah, thanks for helping out, without you it would be much much harder.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Jun 27, 2021 2:14 pm    Post subject: Reply with quote

I have further cleaned up my ebuild.
Got rid of dupes, changed a couple of use flags to just hard dep, (auth files, libbsd, etc)

No problem with helping you, it helped me to realize what was and wasn't really needed in the ebuild.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Sun Jun 27, 2021 2:46 pm    Post subject: Reply with quote

Anon-E-moose wrote:
I have further cleaned up my ebuild.

Where is your ebuild?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sun Jun 27, 2021 3:06 pm    Post subject: Reply with quote

https://github.com/droc12345/local/tree/master/portage/x11-base/xwayland
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
|darc|
n00b
n00b


Joined: 19 Jun 2003
Posts: 46
Location: New Orleans, LA, USA

PostPosted: Mon Jul 26, 2021 9:43 pm    Post subject: Reply with quote

xwayland 21.1.2 is now available for ~amd64.
It's blocked by xorg-server 1.20.11 on stable. Upgraded to xorg-server 1.20.12 on ~amd64, which let me install xwayland 21.1.2.

Now I am able to run games on my RTX 3080 Ti under KDE Plasma on Wayland. Tested Cities: Skylines, CS:GO, DOOM 2016, Half-Life 2, Shadow of the Tomb Raider, Sid Meier's Civilization VI, etc.
So far, everything is running fine! Which means I am VERY HAPPY.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Mon Jul 26, 2021 11:05 pm    Post subject: Reply with quote

Why do you need xorg-server ?
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Mon Jul 26, 2021 11:36 pm    Post subject: Reply with quote

The Main Man wrote:
Why do you need xorg-server ?

Given KDE, likely using sddm (that still need xorg even if it can start a wayland session).

Alternatively, may be stable packages that still have outdated deps requesting xorg-server[wayland]. For example wlroots-0.14.0 still depend on it but 0.14.0-r1 doesn't

That aside, there's no big need to try to get rid of xorg-server, having both is nice to compare/fallback in case of issues esp with new nvidia stuff.
Back to top
View user's profile Send private message
|darc|
n00b
n00b


Joined: 19 Jun 2003
Posts: 46
Location: New Orleans, LA, USA

PostPosted: Tue Jul 27, 2021 2:29 am    Post subject: Reply with quote

The Main Man wrote:
Why do you need xorg-server ?


plasma-meta includes sddm, and sddm has a dependency on xorg-server.

I don't think there are any downsides to having xorg-server built so I'm in no particular hurry to remove it.
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Tue Jul 27, 2021 8:06 am    Post subject: Reply with quote

True, no downsides, I was just curious, especially given the title of this topic.
I figured it had something to do with KDE but wasn't sure.
Back to top
View user's profile Send private message
Linubie
Guru
Guru


Joined: 11 Jun 2004
Posts: 365

PostPosted: Wed Jul 28, 2021 4:26 pm    Post subject: Reply with quote

Ionen wrote:
The Main Man wrote:
Why do you need xorg-server ?

Given KDE, likely using sddm (that still need xorg even if it can start a wayland session).

Alternatively, may be stable packages that still have outdated deps requesting xorg-server[wayland]. For example wlroots-0.14.0 still depend on it but 0.14.0-r1 doesn't

That aside, there's no big need to try to get rid of xorg-server, having both is nice to compare/fallback in case of issues esp with new nvidia stuff.


I have the same setup KDE/Nvidia, do I only have to compile wayland?
What are the steps needed in order to use KDE and play games (steam) with wayland?

Thank you.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
The Main Man
Veteran
Veteran


Joined: 27 Nov 2014
Posts: 1166
Location: /run/user/1000

PostPosted: Sun Aug 01, 2021 10:22 pm    Post subject: Reply with quote

Linubie wrote:

I have the same setup KDE/Nvidia, do I only have to compile wayland?
What are the steps needed in order to use KDE and play games (steam) with wayland?

Thank you.


I don't use KDE and have Nvidia but I guess if you're already on kde you would just have to put in make.conf wayland USE flag and then update the system.
On login session you would choose Wayland and that would be it.
For games on Steam you wouldn't have to do anything special, they would just work.
Now, maybe you would have to unmask xorg-server and xwayland to use the latest available package (if you're on stable), but again I don't use kde/nvidia so i'm not sure.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Sun Aug 01, 2021 11:40 pm    Post subject: Reply with quote

Linubie wrote:
I have the same setup KDE/Nvidia, do I only have to compile wayland?
What are the steps needed in order to use KDE and play games (steam) with wayland?
Post above said most of it, combination of global USE=wayland and VIDEO_CARDS=nvidia will enable everything -- just need split >=xwayland-21.1.2, >=nvidia-drivers-470, and >=xorg-server-1.20.11-r2 to get around blockers.

I believe all this will be stable around mid-August if no issues, but need accept_keywords if want it in stable for now.

Not that it isn't still experimental and it may go badly if you have dual gpus, I've been told kepler GPUs have issues too (don't have one to confirm). Could be other weirdness, it's all pretty new.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum