Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] wayland in benf overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
cynapsis
n00b
n00b


Joined: 14 Nov 2010
Posts: 35

PostPosted: Sun Nov 14, 2010 5:55 am    Post subject: [solved] wayland in benf overlay Reply with quote

Hello there..

I'm just fooling around with the wayland ebuild from the benf overlay and first of all.. does anybody know if there's a bugtracker for this overlay? I'm running into some issues here with mesa while building wayland. I'm not sure if it's an ebuild issue or a bug in wayland but the following errors are coming up while compiling:
Code:

window.c:(.text+0x1725): undefined reference to `glEGLImageTargetTexture2DOES'
collect2: ld returned 1 exit status
make[3]: *** [flower] Error 1
make[3]: *** Waiting for unfinished jobs....
gears.o: In function `draw_gears':
gears.c:(.text+0x2ca): undefined reference to `glEGLImageTargetRenderbufferStorageOES'
./.libs/libtoytoolkit.a(window.o): In function `display_create_drm_surface':
window.c:(.text+0x1725): undefined reference to `glEGLImageTargetTexture2DOES'
collect2: ld returned 1 exit status
make[3]: *** [gears] Error 1
make[3]: Leaving directory `/var/portage/portage/media-libs/wayland-9999/work/wayland-9999_build/clients'
make[2]: *** [all] Error 2


Both functions are part of mesa it seems and should be available if you build mesa with gles useflag, what I did:
Code:

[I] media-libs/mesa
     Available versions:  7.7.1 7.8.2 (~)7.9[1] [M](~)9999[1] {+classic d3d debug +gallium gles kernel_FreeBSD llvm motif +nptl pic selinux video_cards_i810 video_cards_i915 video_cards_i965 video_cards_intel video_cards_mach64 video_cards_mga video_cards_nouveau video_cards_r100 video_cards_r128 video_cards_r200 video_cards_r300 video_cards_r600 video_cards_radeon video_cards_savage video_cards_sis video_cards_sunffb video_cards_svga video_cards_tdfx video_cards_via video_cards_vmware +xcb}
     Installed versions:  7.9[1](10:04:22 AM 11/12/2010)(classic gallium gles nptl -debug -kernel_FreeBSD -llvm -motif -pic -selinux -video_cards_i810 -video_cards_i915 -video_cards_i965 -video_cards_intel -video_cards_mach64 -video_cards_mga -video_cards_nouveau -video_cards_r100 -video_cards_r128 -video_cards_r200 -video_cards_r300 -video_cards_r600 -video_cards_radeon -video_cards_savage -video_cards_sis -video_cards_tdfx -video_cards_via -video_cards_vmware)
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux


I'm using gallium as software renderer for mesa if that might be the issue.

Any suggestions where I can look for a solution, workaround, whatever are very welcome ^^

baba Lia


Last edited by cynapsis on Tue Nov 30, 2010 2:13 am; edited 2 times in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7104
Location: Austria

PostPosted: Sun Nov 14, 2010 11:47 am    Post subject: Reply with quote

wayland is in portage already, and it builds fine.
_________________
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
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Sun Nov 14, 2010 11:56 am    Post subject: Reply with quote

genstorm wrote:
wayland is in portage already, and it builds fine.

No, it is in x11 overlay (but builds fine all the same), and even runs if mesa-9999 EGLv2 supports your graphics hardware. Try to update mesa to the live version, then try libdrm-9999, mesa-9999 and wayland-9999 from x11 overlay.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7104
Location: Austria

PostPosted: Sun Nov 14, 2010 12:10 pm    Post subject: Reply with quote

ah, my fault. have you tried mesa-7.9 too?
_________________
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
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2584
Location: userland

PostPosted: Sun Nov 14, 2010 12:23 pm    Post subject: Reply with quote

Yes, but it didn't work, so I upgraded, and it still didn't work until I hacked my graphic card's PCI ID into the EGL driver. Now that I think about it, upgrading might have been unnecessary...
Back to top
View user's profile Send private message
cynapsis
n00b
n00b


Joined: 14 Nov 2010
Posts: 35

PostPosted: Tue Nov 16, 2010 9:03 am    Post subject: Reply with quote

Hmm.. I have the same errors with the ebuild in x11 overlay.
I'm going to try mesa-9999 this evening. Maybe mesa-7.9 is missing some functions.

Is anybody able to verify that the errors are caused by mesa?

EDIT:
I've just tested mesa-9999 and still no luck and the same errors.

Here are my installed libs with their useflags:
Code:

[I] x11-libs/libdrm
     Available versions:  2.4.20-r1!t (~)2.4.22!t {M}(~)9999!t[1] {debug kernel_linux +libkms static-libs video_cards_intel video_cards_nouveau video_cards_radeon video_cards_vmware}
     Installed versions:  9999!t[1](10:55:02 AM 11/16/2010)(libkms video_cards_nouveau -static-libs -video_cards_intel -video_cards_radeon -video_cards_vmware)
     Homepage:            http://dri.freedesktop.org/
     Description:         X.Org libdrm library

[I] media-libs/mesa
     Available versions:  7.7.1 7.8.2 (~)7.9[1] {M}(~)9999[1] {+classic d3d debug +gallium gles kernel_FreeBSD llvm motif +nptl pic selinux video_cards_i810 video_cards_i915 video_cards_i965 video_cards_intel video_cards_mach64 video_cards_mga video_cards_nouveau video_cards_r100 video_cards_r128 video_cards_r200 video_cards_r300 video_cards_r600 video_cards_radeon video_cards_savage video_cards_sis video_cards_sunffb video_cards_svga video_cards_tdfx video_cards_via video_cards_vmware +xcb}
     Installed versions:  9999[1](11:00:08 AM 11/16/2010)(classic gallium gles nptl video_cards_nouveau -d3d -debug -kernel_FreeBSD -llvm -motif -pic -selinux -video_cards_i810 -video_cards_i915 -video_cards_i965 -video_cards_intel -video_cards_mach64 -video_cards_mga -video_cards_r100 -video_cards_r128 -video_cards_r200 -video_cards_r300 -video_cards_r600 -video_cards_radeon -video_cards_savage -video_cards_sis -video_cards_tdfx -video_cards_via -video_cards_vmware)
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux

[I] x11-libs/cairo
     Available versions:  1.8.8!t 1.8.8-r1!t 1.8.10!t (~)1.10.0-r3!t [M](~)9999!t {X aqua cleartype debug directfb doc drm gallium glitz lcdfilter opengl openvg qt4 static-libs +svg xcb}
     Installed versions:  1.10.0-r3!t(09:47:11 PM 11/07/2010)(X opengl svg xcb -aqua -debug -directfb -doc -drm -gallium -openvg -qt4 -static-libs)
     Homepage:            http://cairographics.org/
     Description:         A vector graphics library with cross-device output support


I am not really sure what I could do next.. soo any suggestions? ^^
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Mon Nov 29, 2010 3:41 pm    Post subject: Reply with quote

sudo eselect opengl set xorg-x11
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
cynapsis
n00b
n00b


Joined: 14 Nov 2010
Posts: 35

PostPosted: Tue Nov 30, 2010 2:05 am    Post subject: Reply with quote

Oh yes.. that did it.. thank you ^^
Back to top
View user's profile Send private message
Steve_Mac_G
n00b
n00b


Joined: 13 Dec 2005
Posts: 19
Location: MiddleEarth

PostPosted: Fri Feb 18, 2011 11:25 am    Post subject: Reply with quote

Hi Guys

I going to try out Wayland on my NC10 and searched for some ways to install. But an
arwen ~ # layman -a benf; emerge -av wayland
returns that the Overlay benf doesnt exist. Can anyone tell me the new overlay name or show me a hint for my mistake ?

Thx
SMG
Back to top
View user's profile Send private message
cynapsis
n00b
n00b


Joined: 14 Nov 2010
Posts: 35

PostPosted: Fri Feb 18, 2011 11:30 am    Post subject: Reply with quote

It seems like you haven't fetched the overlay list yet
Code:

layman -L && layman -a benf
Back to top
View user's profile Send private message
Steve_Mac_G
n00b
n00b


Joined: 13 Dec 2005
Posts: 19
Location: MiddleEarth

PostPosted: Fri Feb 18, 2011 11:46 am    Post subject: Reply with quote

Yay nice :D

Thx :)
SMG
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1173
Location: Austria

PostPosted: Tue Mar 22, 2011 11:28 pm    Post subject: Reply with quote

Any news on Wayland so far? It's been quite quiet in the news... Curious if anything useable came out so far.
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
MalleRIM
Guru
Guru


Joined: 23 Jul 2007
Posts: 563
Location: China

PostPosted: Sat May 14, 2011 3:19 am    Post subject: Reply with quote

Hey, does anyone know how I can get a wayland-executable? From current overlays, I only get the libs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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