Screenshot, Ogre running on cube in Beryl

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

Screenshot, Ogre running on cube in Beryl

Post by DWORD »

Hi,

This is not much Ogre related, but I think it's pretty cool that you can do this anyway: Running Ogre (and other hardware accelerated 3d applications) on top of the new composite stuff in Xorg. No need to wait for Vista for fancy desktop effects! ;)

Image
Click the image for full screenshot (~3.9MB).

Of course there's a little slow-down but not that much really - this is TwinView at 3520x1200, and the FPS was between 50-150 all the time. I'm impressed that all of Ogre's shader stuff etc. works well through all these layers, but that's probably a lot thanks to the nVidia beta driver, which is necessary to run this.
User avatar
BRAINLESS
Goblin
Posts: 282
Joined: Tue Jan 04, 2005 6:56 pm
Location: The Netherlands

Post by BRAINLESS »

omg, nice! When will this be available to people like me (with no experience in using Linux for the desktop)?
Proud member of the OpenFRAG Game Development community
User avatar
Game_Ender
Ogre Magi
Posts: 1269
Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA

Post by Game_Ender »

Steps:
1- Get Edgy Eft from ubuntu.com
2- follow the guides on ubuntuforums.org on how to setup Bery
3- Get ogre up and running
4- Become a smug linux user.

;)
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

Amazing :D

I suppose you are running AIGLX. I checked Xgl a while ago, it only provides indirect rendering for OpenGL clients and a small set of GL extensions (no shaders or fancy stuff).

Image Image Image
User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Post by betajaen »

I managed to get it installed this morning. With my initial impressions of Linux, I thought I'd had to compile 5 separate libraries by hand, and edit some configuration files.

But no, thanks to the Ubuntu website and wiki, I managed to get it up and running quite painlessly.

Well, except it is the 3rd time I installed Unbuntu today. :?
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

Post by DWORD »

I've used Xgl previously but as you say it goes through Mesa, and on my machine I got a crash when running OpenGL applications. This is running using the new Xorg 7.1 which supports compositing natively (if you have the beta nvidia driver). IIRC you only need the new Xorg, the beta driver and Beryl (window manager).
User avatar
Macada
Halfling
Posts: 46
Joined: Wed May 10, 2006 11:20 pm

Post by Macada »

I just loaded Fedora Core 6 on my work box, an HP DC5100 SFF, and was floored that Compiz works with the el cheapo onboard Intel 910GL video. All the effects work great using the default open source drivers.

Of course, not the kind of card you'd run Ogre on.
User avatar
Rhaythe
Halfling
Posts: 61
Joined: Tue Apr 19, 2005 2:25 pm

Post by Rhaythe »

Pointing out that Xgl is still very beta software, so I'm eager to see what it will be like once it hits a supportable version.

Xgl also works almost-out-of-the-box with SuSE 10.1 as well. You'll still need to apply your video driver first, though.
"Perhaps the most fundamental problem, however, is that INTJs really want people to make sense."
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

I got Beryl running on openSUSE 'factory' + xorg 7.1 + nvidia 9xxx driver, simply added the repository and install :D
User avatar
betajaen
OGRE Moderator
OGRE Moderator
Posts: 3447
Joined: Mon Jul 18, 2005 4:15 pm
Location: Wales, UK
x 58
Contact:

Post by betajaen »

Huzzah. I got it working as well. It's almost across between OS X and what I envision Vista will be like. But I don't know how fast it's supposed to be but it's very very nippy on my 7900GT.

I ignored the Unbuntu wiki instructions this time and followed this wonderful guide. I believe there are a few other guides in that link for setting up Beryl on other distros as well for others who are newbish at this sort of thing.
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

Post by DWORD »

betajaen wrote:Huzzah. I got it working as well. It's almost across between OS X and what I envision Vista will be like.
Yeah, but the cool thing is that this is open source, so you can make your own effects etc. Unfortunately, last time I checked the source code (compiz at that time) it wasn't well documented (not really at all). Hopefully this has changed/will change in the future. :)
User avatar
Game_Ender
Ogre Magi
Posts: 1269
Joined: Wed May 25, 2005 2:31 am
Location: Rockville, MD, USA

Post by Game_Ender »

I think both Apple and Microsoft are going to have APIs to allow you do cool 3D effects with your applications as well. For Apple its Core Animation and for Vista its the Windows Presentation Framework (WMF). I don't if lets you do snazzy 3D effects though.
User avatar
Mikachu
Gnoll
Posts: 603
Joined: Thu Jul 28, 2005 4:11 pm
Location: Nice, France
x 35

Post by Mikachu »

I just tried to install it, using the guide link provided by Betajean, on my freshly installed Ubuntu Edgy.
It is very unstable on my PC, the cursor freezes, and the window borders are buggy (I'm using a Nvidia 7600GS so I hoped it would work well, but I'm a big Linux noob ;) ). However, when it works, it looks quite impressive, with a lot of possible tweaks.
OgreProcedural - Procedural Geometry for Ogre3D
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

Both nvidia 9x drivers and beryl are beta software ;). Nevertheless, it is pretty stable on two systems I have tested it (edgy + gnome + 5200, opensuse + kde + 6600). I have less glitches if I run beryl before the window manager (in ~/.xinitrc).
User avatar
Azatoth
Gnome
Posts: 327
Joined: Sat Jul 10, 2004 6:46 pm
Location: Sweden
x 4
Contact:

Post by Azatoth »

It might be worth to mention that there are some problems with RTT when using Compiz/Beryl, as I posted about here: http://www.ogre3d.org/phpBB2/viewtopic. ... highlight=
Ember, GPL virtual world client.
Development blog
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

Anyone tried it with an ATI card? :)

I just upgraded to Vista - and the level of eye-candy is not anywhere near Beryl. :wink:
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Praetor
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 3335
Joined: Tue Jun 21, 2005 8:26 pm
Location: Rochester, New York, US
x 3
Contact:

Post by Praetor »

I haven't tried out beryl in a few months now. I'm using ATI, and it didn't work as well for me. ATI just isn't up to the same level as nvidia for linux. Unfortunately for me, there was a lot of config file tweaking, and over time, with libraries updating and changing it all got very instable for me.
M
Gremlin
Posts: 198
Joined: Mon May 23, 2005 4:40 pm
Location: Spain

Post by M »

ATI free driver (a.k.a. 'radeon') should work OK for ATI r300-r400 cards. I got compiz working on a PowerBook (ATI 9600) with almost no effort on the lastest ubuntu release.
My suggestion is that if you can't get beryl/compiz working with the free driver (the AIGLX way), don't bother trying the propietary driver ;)
User avatar
Devil N
Greenskin
Posts: 123
Joined: Sun Jun 26, 2005 4:32 pm
Location: Groningen, The Netherlands
Contact:

Post by Devil N »

Yeah, Beryl is really great stuff. I've been used it for a couple of months now in combination with Ubuntu, but now with the latest 7.04 Ubuntu release and its default support for AIGLX it runs really well.

Here's what it looks like on my PC, running my little Ogre3D test program:
Image
(Click for larger image)

What's also great about Beryl (and Ubuntu in general) is that, unlike Windows Vista and its Aero Glass, it doesn't tax the computer much at all. My nearly three year old laptop with 512 MB RAM and Radeon Mobility 9200 (using the open source ATi drivers) runs Ubuntu 7.04 with Beryl quite smoothly. I wouldn't even dare to think installing Vista on that machine, it would be horrid.
User avatar
jomunoz
Goblin
Posts: 228
Joined: Wed Apr 13, 2005 5:07 pm
Location: Medellin - Colombia

Post by jomunoz »

I also installed ubuntu 7.04, and getting beryl to work was extremely easy. I got an nVidia fx5200 and goes pretty smooth.
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Post by jacmoe »

I regret that I threw out my nVidia Fx5200 card along with my previous machine, in favor of a crappy ATI Radeon X1650 ...
I just can't get Beryl up and running on Ubuntu Farty Fest :(

ATI Linux driver developers: may you all burn in a-very-hot-place. :evil:

<edit> And take your ATI Windows devs with you as well..</edit>
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Aladrin
Orc
Posts: 465
Joined: Fri Mar 10, 2006 10:22 pm

Post by Aladrin »

I've got a 7800GTX and Beryl is still glitchy at best. It frequently locks up when I run stuff in WINE.

To that end, my next PC (parts are in the mail!) will be using an on-board Intel X3000 gpu. Drivers have been open source for over a year and work very well, apparently. (Second hand reports, unfortunately.) Since I'm not trashing my old system, I'll be able to compare the 2 with like apps and see which is really better, which should be interesting.

Please note that I'm not knocking Beryl. They've done an amazing job with it already and I'm very much looking forward to the first truly stable release.
Post Reply