You are not logged in.

#251 2006-02-22 15:08:53

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: XGL., anyone wanna join the ride?

gl2 option doesnt seem to exist. it doesnt work at al:

 mplayer -vo gl2 Shimatani Hitomi - Camellia (MPEG2).mpg
MPlayer 1.0pre7try2-4.0.3 (C) 2000-2005 MPlayer Team
CPU: Intel  (Family: 6, Stepping: 8)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.

Playing Shimatani Hitomi - Camellia (MPEG2).mpg.
MPEG-PS file format detected.
VIDEO:  MPEG2  704x480  (aspect 2)  29.970 fps  7500.0 kbps (937.5 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Error opening/initializing the selected video_out (-vo) device.

The ultimate Archlinux release name: "I am your father"

Offline

#252 2006-02-22 16:47:37

lethaeus
Member
Registered: 2005-12-19
Posts: 6

Re: XGL., anyone wanna join the ride?

I'm also having problems with playing fullscreen video, and gl2 fixes nothing, it just gets slower, even when the video is in original size.

I have a GeForce MX 4000 128MB graphics card, maybe thats the problem, although gl2 video works great in plain X.

Anyway, almost everything else works great, so thanks much to Mikos.

Offline

#253 2006-02-24 05:41:12

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

!!! UPDATE !!!

There were huge changes in xgl and compiz CVS. Now you *need* glitz-cvs again (xgl doesn't compile with glitz 0.5.3). First uninstall glitz (pacman -Rd glitz) and then compile and install glproto, mesa-cvs, glitz-cvs, xgl-cvs, cairo-cvs and compiz-cvs (in this order).

Download: http://mikos.sg1.cz/arch/xgl-abs-overla … 4-1.tar.gz

Offline

#254 2006-02-24 08:59:27

Tebari
Member
Registered: 2006-01-02
Posts: 16

Re: XGL., anyone wanna join the ride?

Well I have to admit, when I heard of XGL stuff I didn't think it was such a big deal, boy was I wrong.  lol This thing is really cool, great for impresing your friends on LAN parties tongue

I have a Radeon IGP 340M card on my laptop using the opensource "radeon" drivers. I used Mikos' latest PKBUILDs, and for the most part they work great except for a couple of issues. I get some flickering when moving through desktops and, more annoyingly, my windows don't refresh properly, unless... and this is the fun part, I make them transparent! So i just "transset 0.99" to work around it. Both issues are mentioned here so I'm confident they are being worked on.

Anyway, thanks Mikos for these great PKGBUILDs, and Long Live the Eye-candy!! big_smile

Offline

#255 2006-02-24 19:42:39

Borb
Member
Registered: 2006-02-12
Posts: 30

Re: XGL., anyone wanna join the ride?

I am sorry to be so noobish, but can someone explain what PKGBUILDs are and how you use them (or point me in the direction of some literature). I couldn't find anything in the wiki.

Also, how do you make pacman upgrade to everything on Testing?

Offline

#256 2006-02-24 21:03:34

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: XGL., anyone wanna join the ride?

Borb wrote:

I am sorry to be so noobish, but can someone explain what PKGBUILDs are and how you use them (or point me in the direction of some literature). I couldn't find anything in the wiki.

http://wiki.archlinux.org/index.php/ABS

Borb wrote:

Also, how do you make pacman upgrade to everything on Testing?

http://wiki.archlinux.org/index.php/Pacman#Repositories
http://wiki.archlinux.org/index.php/Uno … positories

Offline

#257 2006-02-24 21:15:29

Borb
Member
Registered: 2006-02-12
Posts: 30

Re: XGL., anyone wanna join the ride?

Thanks for the help. I installed Arch myself (first linux distro) but still wasn't sure what the hell everyone was talking about in this thread. I hope I can get xgl installed.

When you enable the testing repository, do the packages in there supersede the ones in the normal repository?

Offline

#258 2006-02-24 21:37:22

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: XGL., anyone wanna join the ride?

Borb wrote:

Thanks for the help. I installed Arch myself (first linux distro) but still wasn't sure what the hell everyone was talking about in this thread. I hope I can get xgl installed.

When you enable the testing repository, do the packages in there supersede the ones in the normal repository?

Yes they supersede. I don't recommend that you go with testing. Unlike other distros, Arch's "Testing" is really testing! So it is pretty sure you will break your system. For experienced users this is ok, but for a first time with linux... I recommend you to stay with "Current".

For example, some files installed with Mikos' PKGBUILD were conflicting with others (on my  system). It took me some time to get it working.

Also, if you put your system with "Testing", you could end up with unbootable system (its always possible to boot a linux box, but you need to know what was the problem exactly and so on...)

Try to build other packages less important before getting your hands on the one to get XGL working.

Offline

#259 2006-02-24 22:44:28

Borb
Member
Registered: 2006-02-12
Posts: 30

Re: XGL., anyone wanna join the ride?

But Mikos said that you need to be up to date with "Testing". Does that mean you recommend I don't try installing xgl. I am not actually a noob, just a linux noob, I don't mount my /boot partition so grub should still work fine even if I bork my linux install.

Offline

#260 2006-02-24 23:57:55

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

Borb wrote:

But Mikos said that you need to be up to date with "Testing". Does that mean you recommend I don't try installing xgl. I am not actually a noob, just a linux noob, I don't mount my /boot partition so grub should still work fine even if I bork my linux install.

"Testing" isn't needed anymore. It was needed because of X.Org 7.0, but X.Org 7.0 is now in "current".

Offline

#261 2006-02-25 05:07:45

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

!!! UPDATE !!!

I have made some cleanups in PKGBUILDs and removed now unneeded patches (because they were merged to CVS). Now you must use glproto-cvs instead of glproto. You must rebuild & reinstall everything as usual in this order: glproto-cvs (do "pacman -Rd glproto" before it), mesa-cvs, glitz-cvs, xgl-cvs, cairo-cvs, compiz-cvz.

Download: http://mikos.sg1.cz/arch/xgl-abs-overla … 5-1.tar.gz

Offline

#262 2006-02-25 11:27:39

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: XGL., anyone wanna join the ride?

Getting this error with xgl-cvs

glxcmds.c: In function '__glXVendorPrivateWithReply':
glxcmds.c:2351: error: 'X_GLvop_IsRenderbufferEXT' undeclared (first use in this function)glxcmds.c:2351: error: (Each undeclared identifier is reported only once
glxcmds.c:2351: error: for each function it appears in.)
glxcmds.c:2353: error: 'X_GLvop_GenRenderbuffersEXT' undeclared (first use in this function)
glxcmds.c:2355: error: 'X_GLvop_GetRenderbufferParameterivEXT' undeclared (first use in this function)
glxcmds.c:2357: error: 'X_GLvop_IsFramebufferEXT' undeclared (first use in this function)
glxcmds.c:2359: error: 'X_GLvop_GenFramebuffersEXT' undeclared (first use in this function)
glxcmds.c:2361: error: 'X_GLvop_CheckFramebufferStatusEXT' undeclared (first use in this function)
glxcmds.c:2363: error: 'X_GLvop_GetFramebufferAttachmentParameterivEXT' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1

anyone else got this?

EDIT: never mind, found it on the gentoo wiki
http://gentoo-wiki.com/XGL#X_GLvop_.2A_undeclared


EDIT: nope.. still getting it after cleaning out all the src/xxx-build and pkg directories and ensuring i compiled in the proper order!!

Offline

#263 2006-02-25 12:25:25

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: XGL., anyone wanna join the ride?

FIXED!

You need to change the checkout date of glproto-cvs to the 26th, not the 25th.
I suggest doing the same for the other packages.

Offline

#264 2006-02-26 22:00:29

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

Father wrote:

FIXED!

You need to change the checkout date of glproto-cvs to the 26th, not the 25th.
I suggest doing the same for the other packages.

This is really weird. That patch was added to CVS in Fri Feb 24 15:43:51 2006 UTC. So it *was* in CVS sources from 20060225 and there wasn't any changes after this date. And besides it has worked for me.

I really don't understand it...

Offline

#265 2006-02-27 08:24:39

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: XGL., anyone wanna join the ride?

When I changed it to the 26th, I got 2 files updated from CVS.
Maybe the date isn't inclusive?
Either way, I tried many times and the only way to get it to work without the previous patches was to change the date to the 26th.

Offline

#266 2006-02-27 21:11:01

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

Re: XGL., anyone wanna join the ride?

Hello there,

First, thanks for the PKGBUILDs.

I have a problem:

$ gnome-window-decorator
gnome-window-decorator, Failed to load shadow images

Anyone knows what's wrong?

Thanks in advance.

Offline

#267 2006-03-01 11:35:42

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: XGL., anyone wanna join the ride?

Hi guys,
Nice work you did here, it works rather good without doing a lot :-)

what I did:

pacman -S current/mesa (extra/mesa is older, and it gave conflicts)
pacman -S shadowhand/compiz-cvs

Then I modified /usr/bin/startxgl (I'm using an ati 9600 with fglrx driver)
Exit current X server, and then

startxgl

This was all I did and it works rather nice, but I do have some problems:
*) starting a program gives a shocking blue square, this doesn't go smooth at all
*) kde apps won't dock (so no systray icon for korgac, kpilotDaemon, amarok and kopete). I use gnome btw ;-)
*) smooth scrolling in firefox is SLOW, disabling it solves the problem
*) glxgears outputs a framerate, but I don't see the spinning wheels, it's just black
*) tuxracer is way too slow to play
*) playing movies in xine works, but is slow (the same if I use xv or opengl)
*) desktop switcher applet doesn't show the windows, but this is a minor problem ;-)

The rest works well, the cube is very fast, doesn't use any cpu power at all, so I think there is hardware acceleration...

Anyone who knows a solution to (some of) these problems?

Offline

#268 2006-03-02 02:27:05

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: XGL., anyone wanna join the ride?

Hello, I'm trying to use XGl with KDE 3.5.1
Everything work "normaly" on Gnome ( testing version and current )
I have change the last command of startxgl ( replaced gnome-session with startkde )
KDE starts but systray apps are stuck on the left top corner and I'm unable to  close them  sad
Googling a lot, I found two thread and two patchs on ubuntu forums :
- This thread | Link to patch
- And this one | Direct link to patch
- A KDE XGl demo:cry:

So thanks to abs I downloaded the last cvs version of kdelibs, copy the files in the "root" directory of kdelibs(3.5.1) and edited the PKGBUILD :
- I added name_of_patch.txt in the source
- Added a line :

patch -Np1 -i $startdir/src/name_of_patch.txt || return 1

At the beginning of the building process ...
For patch n°2 the build fails with an error sad

make[3]: *** [libkdeui_la.all_cpp.lo] Error 1
make[3]: Leaving diirectory `/var/abs/local/kdelibs/src/kdelibs-3.5.1/kdeui'
make[2]: [all-recursive] Error 1
make[2]: Leaving diirectory `/var/abs/local/kdelibs/src/kdelibs-3.5.1/kdeui'
make[1]: [all-recursive] Error 1
make[1]: Leaving diirectory `/var/abs/local/kdelibs/src/kdelibs-3.5.1'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting ...

roll
Notice : I've made a copy of the kdelibs dir to avoid wreckage smile
For patch n°1 it works and the package is correctly build.
I've launch startxgl-kde but got the "same" problem, worse the task bar seems to freeze badly.

Anyone manage to patch kdelibs ?

I'll try now with a "clean" KDE config ( I'll move my ~/.kde )
Edit : Same problems with clean KDE ( unable to start konqueror, konsole starts with an error ( process linked to system failure or something like this and when I try to start KDE from konsole nothing happens sad )

Anyway thx mikos and shadowhand and everybody for made this possible !!


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#269 2006-03-03 07:36:52

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: XGL., anyone wanna join the ride?

Wait, so did you get it working on KDE? If so, can you provide me with instructions?

Offline

#270 2006-03-03 20:06:24

Warnaud
Member
From: /dev/random
Registered: 2006-03-02
Posts: 58
Website

Re: XGL., anyone wanna join the ride?

Yes it works, just change at the end of the startxgl script :

DISPLAY=:$xgldisplay gnome-session

by

DISPLAY=:$xgldisplay startkde &

But there's aproblem with the systray so every systray apps are stuck in the top left corner  roll

So I've tried to patch kdelibs as written in the ubuntuforum threads but that didn't do the trick /o

I also foud the video : http://itsyourpc.org/video/kde-xgl.mpeg
So I think it is possible ...


-=<>=-
Archlinux French site : http://www.archlinux.fr

Offline

#271 2006-03-04 08:09:27

Rev. Nathan
Member
From: West Hills, Los Angeles, Calif
Registered: 2006-02-21
Posts: 35
Website

Re: XGL., anyone wanna join the ride?

OK, I'm quite confused. Its problably somewhere hidden deep here, or its a given I can't find. But how do I do this? I grabbed xgl-cvs and compiz-cvs on Shadowhand's pacman packages. Now what do I do? I've done this before with Ubuntu, cvs -d http://url ...but these are given? Also, where did they get downloaded to? Help?


"All the world's indeed a stage, And we are merely players.
Each another's audience, Outside the gilded cage.
"

Offline

#272 2006-03-04 11:11:51

stavrosg
Member
From: Rhodes, Greece
Registered: 2005-05-01
Posts: 330
Website

Re: XGL., anyone wanna join the ride?

Well, those two depend on everything you need to have, as far as I know.
Now exit X, and issue 'startxgl' for gnome or 'startxgl-xfce' for xfce wink

Offline

#273 2006-03-07 10:52:28

bigh
Member
From: Zurich, Switzerland
Registered: 2004-03-23
Posts: 62

Re: XGL., anyone wanna join the ride?

I've also tried xgl with kde and I would like to know how this works with kde-window-decorator.
Did anyone ever compiled compiz to work with that?

I also got the systray problem like somebody  wrote.

Offline

#274 2006-03-07 15:16:04

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: XGL., anyone wanna join the ride?

Offline

#275 2006-03-08 05:47:27

Mikos
Member
From: Prague, Czech Republic
Registered: 2005-05-03
Posts: 228
Website

Re: XGL., anyone wanna join the ride?

!!! UPDATE !!!
I have made another update. There were really huge changes in xgl and compiz CVS, so I recommend this update. As usual compile (with makepkg) and install packages in this order: glproto-cvs, mesa-cvs, glitz-cvs, xgl-cvs, cairo-cvs, compiz-cvz.

I have also completely rewritten startxgl script. It is now based on new Gentoo startxgl script (from CoffeeBuzz portage overlay). Use 'startxgl --help' for help.

Download:
http://mikos.sg1.cz/arch/xgl-abs-overla … 8-1.tar.gz

You can also directly checkout my xgl Bazaar-NG repository. It is simple:

pacman -S bzr
bzr branch http://mikos.sg1.cz/arch/bzr/xgl

If you want to view changelog, go into that directory and use 'bzr log'.

Offline

Board footer

Powered by FluxBB