| View previous topic :: View next topic |
| Author |
Message |
bedazzled n00b

Joined: 21 May 2005 Posts: 39 Location: Athens, Greece
|
Posted: Mon Jan 23, 2006 8:16 am Post subject: |
|
|
| Code: | bedazzled@bedazzled ~ $ sudo emerge -pv cairo
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] x11-libs/cairo-1.1.1_alpha20060115 [1.0.2] USE="X doc glitz png" 0 kB [2]
Total size of downloads: 0 kB
Portage overlays:
[1] /usr/local/overlays/custom
[2] /usr/local/overlays/xgl
|
Hmmm, seems to be permissions problem.
I thought that --pretend doesn't require to be root, does it?
Anyway, back to building.  |
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Mon Jan 23, 2006 8:27 am Post subject: |
|
|
| Well, I don't think you actually need cairo to get xgl to work - it's only if you want to have fancy svg effects in xgl, with apps that use cairo. |
|
| Back to top |
|
 |
bedazzled n00b

Joined: 21 May 2005 Posts: 39 Location: Athens, Greece
|
Posted: Mon Jan 23, 2006 8:45 am Post subject: |
|
|
ianegg: Cairo is required for GTK+ 2.8.x and later IIRC.
Xgl didn't made it.
| Code: |
checking for DRIPROTO... configure: error: Package requirements (xf86driproto) were not met:
No package 'xf86driproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables DRIPROTO_CFLAGS
and DRIPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
!!! ERROR: x11-base/xgl-20060118 failed.
!!! Function src_compile, Line 55, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
real 6m8.857s
user 1m18.523s
sys 0m15.586s |
|
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Mon Jan 23, 2006 8:51 am Post subject: |
|
|
Yeah, the cvs version of cairo is only needed for gtk to play nice with xgl, so you can download the cairo gtk engine and have it drawn as vector graphics when you zoom/rotate the cube etc.
Try changing the --enable-dri line in the xgl ebuild to --disable-dri, and see if that helps. (Probably won't work on ati) |
|
| Back to top |
|
 |
Belgabor n00b


Joined: 03 Jul 2003 Posts: 63 Location: Germany
|
Posted: Mon Jan 23, 2006 8:59 am Post subject: |
|
|
@bedazzled: Probably the ebuild does not work well with the current xorg6.8/7.0 portage transition state. That ebuild belongs to the modular xorg-x11 package bunch.
My experiences with the new ebulid bunch:
- Xkb stuff now seems to work
- Some apps tht didn't work before (eg xterm) now do work
- glxcompmgr now honors the gnome panels, i.e. maximised windows stay within (before they were maximised over the whole screen)
- qt apps still send xgl to segfault hell
- Windows that weren't activated by glxcompmgr before (and shouldn't because I've set them not to, i.e. two gkrellms) are now
All in all I'd say better than before 
Last edited by Belgabor on Mon Jan 23, 2006 9:19 am; edited 1 time in total |
|
| Back to top |
|
 |
bedazzled n00b

Joined: 21 May 2005 Posts: 39 Location: Athens, Greece
|
Posted: Mon Jan 23, 2006 9:01 am Post subject: |
|
|
I emerged xf86driproto, probably missing dependency.
I have nvidia though, let's see...
ps: Has anyone tried Xgl with the open-source Xorg radeon driver (r200)?
I'll test it later on my laptop (Radeon9000).  |
|
| Back to top |
|
 |
makke n00b


Joined: 19 Feb 2004 Posts: 32 Location: Sweden/Umea
|
Posted: Mon Jan 23, 2006 10:10 am Post subject: |
|
|
| bedazzled wrote: | | Xake wrote: | | Oh, and as long as you do not tell us where it broke there is no chance we could help you locate the problem. |
I builded it with these options (./configure --enable-xglserver --enable-glx --enable-xkb --disable-kdriveserver --disable-ipv6)
Then i tried to start a second X session:
1) Xgl :1 -ac
2) Xgl :1 -ac -accel xv -accel glx:pbuffer
3) Xgl :1 -ac -accel xv:pbuffer -accel glx:pbuffer
Neither of them worked, X ended abruptly with the following message -> *** glibc detected *** double free or corruption (fasttop): 0x00000000007c7810 ***
I spoke with Airlie (X developer) in #freedesktop@irc.freenode.net and he told me that he experienced the same issue with xkb compiled in, so i omitted it for a second build.
Well, now Xgl starts, but pretty useless without xkb.
ps1: No, it's not a glibc issue (i have glibc 2.3.6+gcc 4.0.2 if anyone wants to know).
ps2: I have Xorg 7 modular, ~amd64 arch and nVidia GeForce 6600 GT PCI-E GPU+closed-source nVidia drivers(8178). |
Just recompile without --enable-xkb , it's broken. _________________ AMD Athlon64 3200+, MSI K8 Neo-FSR, 1024Mb Crucial DDR400, Dell 2405FPW 24", Maxtor 200Gb Sata runs gentoo and now Xgl with Compiz
MacBook 1.83GHz /1024Mb /80Gb White, Solid MAN! |
|
| Back to top |
|
 |
bedazzled n00b

Joined: 21 May 2005 Posts: 39 Location: Athens, Greece
|
Posted: Mon Jan 23, 2006 11:04 am Post subject: |
|
|
I managed to build and start Xgl.
But when I type LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr, everything on the screen blacks out!
Then I have to switch to a VT, killall glxcompmgr and everything turns back.
My experience:
1) All the pictures that have a transparent part, that part is black. (I have experienced this bug in the past with Xorg 6.8.2-r2 sth + OpenOffice if you remember.)
2) kdm text boxes (user+pass) show garbled text, though gdm seems fine. Qt issue?
3) mplayer tops up to 70-80% cpu usage playing a divx in a normal window (if I maximize the window, mplayer locks up). Finally transparent xterm over XVideo works, i used the old xcompmgr+transset.
4) tvtime (and other tv progs I assume) shows garbled image.
5) keyboard doesn't switch languages anymore (Greek layout)
6) Overall I didn't notice any speed improvement.  |
|
| Back to top |
|
 |
irondog l33t


Joined: 07 Jul 2003 Posts: 713 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Mon Jan 23, 2006 11:38 am Post subject: |
|
|
| bedazzled wrote: | I managed to build and start Xgl.
But when I type LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr, everything on the screen blacks out!
Then I have to switch to a VT, killall glxcompmgr and everything turns back. | That disappeared for me after updating Mesa.
| Quote: | | 1) All the pictures that have a transparent part, that part is black. (I have experienced this bug in the past with Xorg 6.8.2-r2 sth + OpenOffice if you remember.) | I had the same, but solved it.
| Quote: | 3) mplayer tops up to 70-80% cpu usage playing a divx in a normal window (if I maximize the window, mplayer locks up). Finally transparent xterm over XVideo works, i used the old xcompmgr+transset.  | Mplayer worked very nice. After yesterday's update mplayer -vo xv performs bad.
| Quote: | | 5) keyboard doesn't switch languages anymore (Greek layout) | Broken here as well. But numlock seems to work a bit now  _________________ Alle dingen moeten onzin zijn. |
|
| Back to top |
|
 |
boniek Guru


Joined: 26 Mar 2005 Posts: 373
|
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Mon Jan 23, 2006 2:17 pm Post subject: |
|
|
| bedazzled wrote: | I managed to build and start Xgl.
But when I type LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib/ glxcompmgr, everything on the screen blacks out!
Then I have to switch to a VT, killall glxcompmgr and everything turns back.
My experience:
1) All the pictures that have a transparent part, that part is black. (I have experienced this bug in the past with Xorg 6.8.2-r2 sth + OpenOffice if you remember.)
2) kdm text boxes (user+pass) show garbled text, though gdm seems fine. Qt issue?
3) mplayer tops up to 70-80% cpu usage playing a divx in a normal window (if I maximize the window, mplayer locks up). Finally transparent xterm over XVideo works, i used the old xcompmgr+transset.
4) tvtime (and other tv progs I assume) shows garbled image.
5) keyboard doesn't switch languages anymore (Greek layout)
6) Overall I didn't notice any speed improvement.  |
The latest update causes glxcompmgr to blank the screen for me. If I have nothing running in the root window, then it shows the default background, and makes the windows black.
I get the black transparent parts, as well as random black widgets. Certain fonts are garbled, and I've never had tvtime working.
Before this everythig was working perfectly apart from some videos with Xv and all tv programs.
Mesa CVS is up to date.  |
|
| Back to top |
|
 |
[myrddin] n00b

Joined: 14 Jun 2002 Posts: 71 Location: Karlsruhe / Germany
|
Posted: Mon Jan 23, 2006 3:04 pm Post subject: |
|
|
Hi
Anyone else having problems with the cvs? I use the xgl ebuild from hanno's blog.
| Code: |
* Running cvs -q -f -z4 -d ":pserver:anonymous@cvs.freedesktop.org:/cvs/xorg" update -dP -rxgl-0-0-1 xgl-xorg
cvs update: warning: cannot open /cvs/xorg/CVSROOT/val-tags read/write: Permission denied
* Copying xserver/xorg from /usr/portage/distfiles/cvs-src ...
|
Did they change something on the cvs server? |
|
| Back to top |
|
 |
boniek Guru


Joined: 26 Mar 2005 Posts: 373
|
|
| Back to top |
|
 |
tr4nce n00b


Joined: 22 Dec 2003 Posts: 68 Location: Argentina
|
Posted: Mon Jan 23, 2006 5:05 pm Post subject: |
|
|
I'm having problems with xgl ebuild
| Quote: | * Failed Patch: r200-copy-pixels-1.patch !
* ( /usr/local/portage/x11-base/xgl/files/r200-copy-pixels-1.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/xgl-20060118/temp/r200-copy-pixels-1.patch-13983.out |
help? _________________ Sound Aff3cts  |
|
| Back to top |
|
 |
VanDan Guru


Joined: 30 Sep 2002 Posts: 580 Location: Australia
|
Posted: Mon Jan 23, 2006 5:08 pm Post subject: |
|
|
| Did you read the last 2 lines of the error message? |
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Mon Jan 23, 2006 5:39 pm Post subject: |
|
|
I'm getting this when Xgl starts: | Code: | No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24
No matching visual for __GLcontextMode with visual class = 4 (32770), nplanes = 24
Could not init font path element /usr/share/fonts/OTF, removing from list!
Could not init font path element /usr/share/fonts/CID/, removing from list! |
I doubt the font error has anything to do with the black windows, but does anyone understand the __GLcontextMode errors? I get them repeatedly through a session too. |
|
| Back to top |
|
 |
haveaniceday n00b

Joined: 28 Jul 2004 Posts: 22
|
Posted: Tue Jan 24, 2006 2:33 am Post subject: |
|
|
For me its working very stable for alpha software. Only kde and qt apps crash it. And yes, it is a way faster than normal X. Moving the wobbly windows is very smooth and so is everything else.
Very sad, that I will have to wait some months to use this daily. |
|
| Back to top |
|
 |
otherside Apprentice


Joined: 01 Jul 2002 Posts: 179
|
Posted: Tue Jan 24, 2006 6:17 am Post subject: |
|
|
| ianegg wrote: |
The latest update causes glxcompmgr to blank the screen for me. If I have nothing running in the root window, then it shows the default background, and makes the windows black.
|
I have the same problem, as soon as I start glxcompmgr, all the windows inside xgl turn black. |
|
| Back to top |
|
 |
boniek Guru


Joined: 26 Mar 2005 Posts: 373
|
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Tue Jan 24, 2006 7:46 am Post subject: |
|
|
Doesn't everyone have to be using xorg 7 for this to work? I've been using it since rc2, and I tried nxsty's monolithic ebuild before that, which was extremely good, just a shame he hasn't patched the modular version. I completely forgot it was still masked in Gentoo
So, has anyone found any cool new features or bug fixes? |
|
| Back to top |
|
 |
Belliash Veteran


Joined: 24 Nov 2004 Posts: 1928 Location: Legnica, Poland
|
|
| Back to top |
|
 |
irondog l33t


Joined: 07 Jul 2003 Posts: 713 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Tue Jan 24, 2006 3:55 pm Post subject: |
|
|
That you're requesting help on (probably) buggy and (certainly) alpha software. _________________ Alle dingen moeten onzin zijn. |
|
| Back to top |
|
 |
tr4nce n00b


Joined: 22 Dec 2003 Posts: 68 Location: Argentina
|
Posted: Tue Jan 24, 2006 4:45 pm Post subject: |
|
|
| otherside wrote: | | ianegg wrote: |
The latest update causes glxcompmgr to blank the screen for me. If I have nothing running in the root window, then it shows the default background, and makes the windows black.
|
I have the same problem, as soon as I start glxcompmgr, all the windows inside xgl turn black. |
Well, fixing the embarrasing stuff of the prev post was "easy" , i find out with this situation too Latest NVIDIA Drivers, xorg7.0 & 2.6.15 _________________ Sound Aff3cts  |
|
| Back to top |
|
 |
ianegg Apprentice


Joined: 26 Oct 2005 Posts: 279 Location: Breakfast.
|
Posted: Tue Jan 24, 2006 5:28 pm Post subject: |
|
|
| XGL thread |
|
| Back to top |
|
 |
mark_alec Administrator


Joined: 11 Sep 2004 Posts: 5907 Location: Melbourne, Australia
|
Posted: Tue Jan 24, 2006 8:25 pm Post subject: |
|
|
Merged post 4 above, three above and 1 above into this thread. _________________ www.gentoo.org.au || #gentoo-au |
|
| Back to top |
|
 |
|