Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pure Wayland and mesa mess
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
bearcatsandor
n00b
n00b


Joined: 02 Apr 2011
Posts: 15

PostPosted: Mon Jul 10, 2017 1:38 am    Post subject: Pure Wayland and mesa mess Reply with quote

Folks,

mesa: 17.1.4 (i'm on ~amd64)

I use the sway wm (wayland based) and am trying to get rid of extraneous x11 libraries. I'm a little confused as to how opengl and hardware acceleration are handled with wayland. My understanding is that wayland doesn't use OpenGl, but uses opengl-es 2 instead.

So, to that end i've passed -opengl and -X as global flags, and am attempting to reemerge mesa, libva and libdrm. My flags for mesa are: USE="d3d9* dri3 egl gallium gbm gles2 llvm nptl opencl osmesa* vaapi* vdpau wayland xa -bindist -classic* -debug -gles1 -openmax -pax_kernel -pic (-selinux) -unwind -valgrind -vulkan* -xvmc" ABI_X86="(64) -32* (-x32)" VIDEO_CARDS="radeonsi (-freedreno) -i915 -i965 -imx -intel -nouveau -r100 -r200 -r300 -r600 -radeon* (-vc4) (-vivante) -vmware"

I got rid of the cards=radeon because i have a radeonsi card.

What i ultimately want is to have hardware acceleration under wayland without a lot of extra stuff.

Thoughts? Help? I'm i just nuts?
Back to top
View user's profile Send private message
ChrisADR
n00b
n00b


Joined: 06 Jul 2017
Posts: 11
Location: Peru

PostPosted: Mon Jul 10, 2017 2:39 pm    Post subject: Reply with quote

Maybe it's not so good idea to rid of all the x11 libraries, this is from Sway's main page:

Quote:

Sway is a drop-in replacement for the i3 window manager, but for Wayland instead of X11. It works with your existing i3 configuration and supports most of i3's features, and a few extras.


maybe it's because some packages still need their X11 libraries till there's a total replacement with Wayland.

So this is package dependent, maybe some of your packages have full Wayland support, maybe not.

What are you looking for by removing all the libraries? I think that maybe it'll be a headache to try to solve every single dependency.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5561
Location: Austria

PostPosted: Tue Jul 11, 2017 5:07 pm    Post subject: Reply with quote

You won't be able to drop X11 for a long time, even if you start a Wayland session. Wayland needs EGL, not GLES, that's a frequent misunderstanding.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
bearcatsandor
n00b
n00b


Joined: 02 Apr 2011
Posts: 15

PostPosted: Sat Jul 15, 2017 12:01 am    Post subject: Reply with quote

Thank you for the responses. I'm trying to drop X11 to save space on my ssd drive, and because i'm a bit anal about extra cruft on my system that i don't need. If i need it for now, then i need it and i'll just wait. What do other distros do though? I thought Fedora (or someone) shipped with wayland as a default.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5561
Location: Austria

PostPosted: Sun Jul 16, 2017 6:32 am    Post subject: Reply with quote

That doesn't mean they don't ship X. A lot of applications require X libs and simply won't run without XWayland support.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
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