Translucent Windows for X using OpenGL
Anonymous Coward writes "Take a look at this! This guy is working on an OpenGL backend for X. But he needs pizza and some new hardware. He's on a TNT2 for heaven sake!"
← Back to Stories (view on slashdot.org)
Nothing the Mac doesn't do already, and with the same chipset...
Finally translucent windows will be coherent since they'll show the window beneath them instead of the background image :)
Man, the boundaries of science sure have expanded in recent years...
Is this gonna add any speed boosts to "laggy" old X, network transparency slows blah blah blah or will it even have the total opposite effect?, It all looks very cool and seems to work well, did the tnt2 even support opengl!! bloody hell i feel sorry for this guy.
"2003-03-28 I started hacking."
doesnt look like hes been going at it for that long but i reckon could end up being a really cool extenions to X.
How will this effect the fork() of X??
Everybody seems to be obsessed with all this "3D-accelerated desktop" stuff but IMHO it's all overrated.
Using OpenGL will not automatically make everything faster. Heck, I wouldn't be surprised if some things become slower. OpenGL is good for 3D stuff, but sucks for 2D stuff. Ever tried blitting in OpenGL? Slooooooooow. And guess what? Most applications use 2D drawing primitives.
The biggest performance bottlenecks are, and have always been: 1) the driver 2) the kernel.
2 has already been addressed (my system flies with these patches; it's even faster than Windows!). The upcoming 2.6 kernel will be amazing.
1 remains a problem. X's architecture doesn't cause the slowness, it's all in the driver! If the driver doesn't implement all OpenGL features then you'll still be stuck with slow drawing speed (or maybe even slower, since emulating OpenGL is slow beyond imagination. ever tried running TuxRacer in plain non-accelerated Mesa?)
In an update to our earlier article - X hogs network resources, we now present - "TransluXent hogs local *and* network resources."
This sig is empty.
Many people have begun saying that the Linux Operating System is Ready for the desktop market. For normal people to use instead of Windows as their exclusive operating system, and yet this is news worthy because someone finally brought this feature of truly transparent Windows to Linux.
Now do not get me wrong here, this is cool as hell, I'm glad someone is working on it but for someone to finally start bringing OpenGL as a backend after all these years is sad. It should have happened a long time ago. The X Windows System is not even capable enough yet on it's back end to be a desktop.
Anyway for people working on this project. good job.
Two more uses besides alpha blending that instantly spring to mind:
- scaling (with interpolation)
- color depth independance
without the underlying application having to know about this at all!
The Amiga's are gonna have something similar, only with menus. Of course, their dockies make it even better.
AmigaForever!!!
Yeah, but it *does* mean kick-ass translucent windows that actually show the window behind it. Yeah, yeah, it already exists on Mac OS X...whatever ....we're talking true transparent windows for X! :)
My journal has hot
> its dead already.
It's not dead, it's pining for the fjords.
Smooooth. :)
If I'm not mistaken, recent Windows use the 3D acceleration to draw all 2D operations, which means they can accelerate everything. I'd love to see XFree do the same thing. Really, this is more than a nice hack.
Just as a matter of interest, how long has MS Windows had translucent windows? (I mean included with the OS, not as an extra application). I've never used them so I don't know.
Reality is defined by the maddest person in the room
The guy is working hungry and with poor resources, and you throw rocks in his webserver! Thanks slashdot!
Yep, the site is dead, that must be a record.
Personally, I'd be a lot more excited if someone was working on a useable desktop that used less bandwidth, especially in terms of network traffic with remote sessions. The amount of bloat on KDE, for example, gets worse with each new release, and it is killing my local network.
Alternatively, I suppose I could go for an older window manager that makes DOS look futuristic.
Please, can't someone come up with a Linux Window manager that doesn't give Windows users hysterics, but which can run over, say, a dial-up connection at a reasonable speed? In other words, something that performs a bit like MS Terminal Server (the 2000 version, let alone the XP 16-bit one)? I shouldn't need a gigabit backbone to run 10 diskless terminals...
Virtually serving coffee
Why do we need a "3D-accelerated desktop" or "translucent windows" in order to "succeed on the desktop"?
Win95/98/ME didn't have either. Were they ready for the desktop? People said they are.
Translucent windows are only eyecandy and can actually decrease productivity. When I'm typing a report I want to concentrate on my report, not all the windows below my word processor!
Translucency is nice but it's not a requirement.
This is being discussed here.
Yeah, like you really don't have a desktop until it has translucent windows... Get real.
Or like you can't do your word processing bullshit without OpenGL.
Most desktop users don't give a flying fuck about either OpenGL or translucent windows. They just want to get their work done.
a hardware accelerated desktop would be more power to us. that's what they did with aqua quartz right ?
Agreed,
In fact if this guy keeps his hardware low-end and makes it useable.. he will out-code all the other schmucks out there that call themselves programmers.
and the remark by the article's editor about the TNT2 is proof that many people have no clue about computers even so called geeks.
the TNT2 is more than enough for a workstation. Games? no it's a tiny bit slow. but for a workstation it is a screaming card.
I say we all start a world wide campain to force all programmers to use 2 generations slower computer hardware (except device driver writers, they get the good stuff) to force these prima-donnas to actually write good code.
Could somebody mirror the image.
It timeout on me.
I don't know about you but when I'm reading a webpage, I want to concentrate on the webpage, not everything below it.
When I'm writing a report, I want to concentrate on my word processor, not all the windows below it.
Translucent windows is eyecandy and good for demonstrations, but that's pretty much it. Other than that, they're usability nightmares and harm productivity.
Mirror List
Mouse powered Chips, Open source Processors and Lego
It has had native support for alpha blending blitting since Windows 98. Translucent windows have been in there since Windows 2000.
s oftware=orselli - I can say they're pretty damn cool.
As someone who's been working with them a lot recently - http://www.chrisseaton.com/software/software.php?
50 fps when blending a window half the size of the screen is typical in my (very heavy and as yet unoptmised) app - no flickering at all.
wow you are amazingly stupid.
Microsoft STILL hasn't added opengl as a backend to anything. OpenGL is a hack-on for windows that is shipped with the os that microsoft really wants to you not use.
People keep telling me that microsoft windows is ready to be used on the desktop, but examples like this and how buggy it has always been compared to the Apple products proves that it's just a lame ripoff of Apple's product.
If E.17 is ever released. Might all be dead by then. ;-)
More power to us? How? In what way? I would hardly call translucent windows and shadows "more power", it's just eyecandy and doesn't improve my productivity.
Quartz Extreme uses OpenGL acceleration for window compositing, but the actual drawing inside the window is still rendered in software.
Heck, when it comes to raw drawing speed, Quartz is actually slow.
I've been puzzled by transparent/translucent window fluff.
What is the point? Other than chewing up graphics card cycles.
If you have one window and a black background then super. Kinda just like what I have now. But if you are trying to code in vi, and that window is over slashdot, and that window is over irc you can't see anything!
Please tell me what I'm missing.
Hear hear!
Windows 2000 was the first version of Windows that added OS-level translucency support... so I guess it's been around 3 years now.
Personally, I like the mouse pointer shadow and dragging translucent icons around, but I think translucent windows in general, and that fade in/fade out of menus is annoying and lame.
For those who keep talking about how windows has been 3d accelerated for ages or whatever, that's untrue. Windows did not care about 3d acceleration before Win2k, and I *believe* it still uses all 2d rendering for the new layered window stuff in 2k/XP (but I could be wrong - I know that there is a hardware accelerated alpha blit function available on every windows platform from 98 on). However, the new layered window stuff *does* buffer windows in offscreen 'textures' instead of rendering them directly to the display. But as anyone who's tried resizing a large transparent window knows, it's nothing to write home about.
Aqua, if memory serves, stores all windows and bitmaps in offscreen texture buffers, does almost all primitive rendering with hardware primitives, and then composites it all onscreen using quads (or triangles, whatever) and applies various rendering effects to it.
This system seems to simply buffer individual windows in VRam, render to them in software, and composite them in realtime using the hardware, instead of just rendering everything directly to the front-buffer. Unless they get most primitives rendered in hardware (especially bitmaps/icons), it's going to be ass-slow.
Just my 0.02c.
using namespace slashdot;
troll::post();
Another project (with admittedly a different aim) that is trying to bring exciting and modern desktop features to the masses:
http://www.directfb.org/xdirectfb.xml
Wouldn't it be nice if there was a consensus project for UNIX/Linux graphics that could integrate and manage the work of all these many people? Concentration of effort, rather than dilution?
and you might hack it up a bit, but the only cure is to start over with a new windowing system from scratch - maybe with X compatibility.
Translucency adds the ability to read something in the background and type it in the foreground. I use this all the time when I have a terminal window open, and a web browser in the background. I can position the terminal properly and get an effective doubling of that real-estate. It's not just a clever hack. it has a use. We aren't talking transparent eTerms here, we're talking about real transparency.
Heute die Welt, morgen das Sonnensystem!
if this means adding an opacity slider to Metacity ;)
Would the Window Manager take care of the opacity of a window, so it was either all transparent or none, or would this be something the application involved did, to make parts of the app transparent and other parts solid?
Transparency is nice, I'd like to have all my popup menus transparent but not necessarily their parent windows, I think things are going to get complicated fast perhaps though!
The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
Check out this screenshot for windows casting shadows. Apparently the server doesn't currently do this, but it's a nice effect.
There isn't any "raw" opengl interface under Linux, so you will always need to run two x servers. A quite ugly solution in my opionion.
This work should be done at QT and GTK+ level. Overhead would be much smaller that way. I can only see some advantages of the double X server solution if you want to run remote x clients.
Jan
I don't understand this whole translucent windows thing. Other than looking "kick-ass", what is the real benefit? Seems like all it does is make the windowing system more complicated and potentially slower. The only reason this would be helpful is if you could save screen real estate by overlaying windows and using both of them at once. But guess what: you can't. The human brain can't focus on two distinct tasks at once, and it definitely can't separate two sets of overlayed text. Besides, you can already lay one window over another and just switch between them for the real estate gain. I wish people would spend more time producing features that are actually useful as opposed to things that just look good.
--
Promoting critical thinking since 1994.
Errmmmm...it was supposed to be funny... :)
My journal has hot
I say make him keep the old graphics card. That's a good minimum level in terms of consumer graphics hardware and it'll ensure the end product isn't bloated if it's useable.
http://jodrell.net/files/mirrors/www.stud.uni-karl sruhe.de/
Looks good...but is it "lickable", hmmm?
That's the norwegian blue.
This is the german translucent.How small a thought it takes to fill a whole life
My experience is that when operating at lower resolutions, (slightly) translucent terminal windows can be useful for viewing information in another window I want to see but not copy-paste (for various reason - personally, I even retype short bits rather than copy-paste because I'm a very fast typist and don't like to move my hands away from the keyboard).
And it isn't distracting in other situations (at least not with my settings and working habits).
Still, I prefer a higher resolution so that I can have non-overlapping windows, but with laptops that often isn't an option.
In general, I do think that the X11 rendering features need updating, things like alpha blending can be used for a lot of things besides translucent windows. Using GL features isn't a bad idea, considering that most current and recent hardware works hard to accelerate those features, although going as far as Quartz Extreme is perhaps a bad idea since it consumes a lot of graphics memory, which XFree86 isn't currently very good at managing dynamically (everything used by the X server is permanently allocated to it).
In fact, if you look at the recent RENDER extension, it's very similar to OpenGL. It looks like it's probably the direction rendering APIs are headed for. The biggest problem with OpenGL isn't that it isn't suitable for 2D - it works very well for 2D - but that it isn't specified to a pixel level and that it doesn't have decent font rendering support.
Since TransluXent is based on XFree, I wonder if X is at all multithreaded and SMP aware? I'd love to run this on an SMP box!
To-do List: Receive telemarketing call during a tornado warning. Check.
Start pr0n
Enjoy Pr0n
Girlfriend comes into house.
Franticly load word processor to cover pr0n
Scream as you notice you have windows transparent
Girlfriend kicks you out of seat and takes over pr0n viewage!
Wake up
===Sig===
of course you totally miss the point of Quartz Extreme.
When (not if) graphics chipsets are powerful enough to render display PDF into a texture then all the graphics drawing and compositing will be taken care of on the hardware, completely alleviating the CPU of all the donkey work.
I can see apple taking this route as soon as its viable with the hardware, infact I wouldn't be surprised if thats sooner than anyone expects.
Translucent windows is eyecandy and good for demonstrations, but that's pretty much it. Other than that, they're usability nightmares and harm productivity.
I would agree with you in theory, but in practice I found that setting the Terminal windows in Mac OS X to black, and adding a tiny little bit of translucency actually makes for a more pleasant reading experience than a completely opaque window.
I suppose the key is subtlety and not overdoing it (overdoing it would happen in a demonstration to show off the feature).
JP
At least his OpenGL /works/.
I hate all your people who can get their video cards to work properly!
Just because you read success stories from people with the exact setup~ just because you don't get any error messages~ just because it works on windows~ just because god loves you~ well it's still not going to work, k?
Yet another cool-looking thing which I can get easily in windows and love, I can't get in Linux >_
-- 'The' Lord and Master Bitman On High, Master Of All
And the only thing we have to do is to wait until that hardware becomes available for x86?
Quick, this guy's poor, can't even feed himself or afford a graphics card made after the Stone Age; let's slashdot his website! muahaha
the coolest club on
...I'm sure that will work fine in my s3 trio .. ;) ...!!
for heaven sakes have pity on me instead
I fuse with Mercer every single day...
Skinux makes use of Win2k's alpha blending in its user interface toolkit.
Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
...you assholes crapped that whole university server :( ..i hope he wont get ex matriculated due to the /. effect :)))
Well actually I use it in OS X all the time. You need to toy with the levels enough to get it just right, but its actually somewhat useful to cascade a couple of windows, one with a man page or a browser showing help text behind a shell that you are trying out the command in. Not essential, by any means, but useful enough to miss when you can't do it.
-- Oh Well
Yep, it's eye candy, nothing surer. :o)
But some will argue that anything more sophisticated than 80x24 console mode is eye candy. In some scenarios (servers..) it is. But we're talking desktops here
Personally, I think X rocks. I'd like to see this incorporated into the XFree code base, but optional, so that older hardware is still supported.
In response to earlier posts along the lines of "but I want to concentrate on the browser/app/whatever, not whats behind them..." -- fine - you will not be forced to use this feature !
In any case, a slider control in the widget set on each window to control the opacity would be wicked !
$ strings FTP.EXE | grep Copyright
@(#) Copyright (c) 1983 The Regents of the University of California.
All I saw was a transparent window after the site has been /.ed. And I'm using a ATI Radeon 9700 Pro!!
www.rexguo.com - Technologist + Designer
here
My mom never taught me to sign.
XDirectFB has had translucency, KDE 2.2 introduced it too.
And as someone else pointed out, were Win9x/NT not ready for the desktop?
Pish
I've been wondering lately if I should upgrade it. Now I know for certain that I should!
(I don't play a lot of games, so it's been pretty good for me, actually.)
--RJ
Desktop domination comes from shipping the OS installed on OEM systems. It could be a worthless peice of tripe, but if Dell/HP/Gateway ships it, it's mainstream. Unlike a picture frame, people just use what comes inside their machine.
Yeah, maybe I'll have to move the window occasioanlly, but IMHO, its problem free. YMMV with translucency, but my opinion is that they are a good thing when implemented correctly.
And yes, I guess you can have a dual monitor setup, but for a 12" iBook, its really not an option is it?
Fight Crime - Shoot Back!
IMHO "ready for the desktop" is a moving target. For goodness sake, Windows 3.1 was once a viable commercial product! Today it would be laughed off the market. If the current KDE desktop had gone up against Windows 3.1 the world would be running Linux right now. Yet many people used Windows 3.1, because it was such an improvement over what had come before.
I think Linux is entering the desktop race at an unfortunate stage. So many people are now so used to Windows that I'm not sure what can be done about it in the short term. IMHO KDE as a desktop environment can mostly stand toe to toe with Windows. But it doesn't matter, because it isn't exactly what people expect.
The number of computer users has exploded over the last ten years, until now much of the technological world is dependent on them. But that also means a lot of people and companies have standardized on one thing - Windows. There's not a whole lot you can do about that - one the decision is made and people are trained, the inertia in the system outweighs EVERY other factor.
We as geeks tend to forget this, but many people want the computer to just do its job and stay out of the way. Which really means "do what I expect". What they expect is what they are used to. Checkmate.
I consider the computer desktop to be a natural monopoly, even more so than things like phones. Phones were only a natural monopoly while there was one way to get a signal to the home, and it involved laying lots of cable. But technology changed that situation, and the people were ready to use it, because it didn't involve any significant change on their part. The monopoly with computer software, however, is driven not by technology but by the USER HIM/HERSELF. There is no solution for this problem based on technology. I know the thought is usually used in other circumstances, but it applies here - you can't apply a technical solution to a problem rooted in people. The monopoly comes from people.
Yes, Linux still has some weaknesses. But compare it to Windows 95, for example, which kicked off the PC boom. Being "desktop ready" is all relative. And in the end, I think worrying about being "desktop ready" won't make any difference, even if we are somehow defined to have "made it". I'd worry about inertia. That's the real enemy.
"I object to doing things that computers can do." -- Olin Shivers, lispers.org
I have experiemented with translucent terminals in Mac OS X and found that things are less readable on the whole. Maybe the trick is in the user interface. Since I often find myself minimizing, hiding or otherwize moving a terminal window out of the way, maybe the solution is to have a key combination that makes an app window translucent while they key is held down? This might be more useful to me.
-- Solaris Central - http://w
This is the way to go for eyecandy, using the Hardware, which lies unused when in a 2D session. I've been waiting for something like this quite some time now. Good thing it's here now.
But there's still work to do. Note that the windows are translucent all across, borders and all.
We suffer more in our imagination than in reality. - Seneca
'nough said.
I don't suppose anyone mirrored the mirror, did they? Sheesh... I'll look tomorrow, when the excitement has died down.
I see the point of rendering it in 3d, but also to keep the 'minimum specs' to a minimum
:-) And yes, its my work station for all my work. (Mozilla, openoffice, gimp etc..)
The faster it works with a slow box the better the application is.
If you have to upgrade to make the application work... then it just simply sucks (Hate to say it..)
Disclamer:I got TNT2 32Mb agp card, 1.2Ghz Amd T-bird with 1Gb ram running linux only
Okay, so it's cool. Yay, I can make all my windows translucent.
I've used OSX quite a bit, seeing as it's on my laptop. I like a lot of the graphical diddlies (such as the alpha blending support for anti-aliasing and stuff, although it begs for high resolution I don't have), don't care for some UI stuff (dock), and think some of it (transparency) is totally useless.
I know when it comes to linux, geeks want a WM/windowing environment that's tailored to their exacting needs, not something that's generally usable. However, transparency is ugly. Things in the real world are not transparent when they contain a lot of information. Your desk is not transparent. If you want to read two things at once, you put them side by side.
I'd like one good usability reason for having transparency. I'm not talking "it makes me horny because it's so pretty and leet and futuristic!", I'm talking "it's more useful."
Yeah, but the general rule is that for something to be funny, there has to be a joke in there somewhere...
:) at the end doesn't make something funny.
Putting
It can be quite useful to have windows which become translucent when dragging or resizing. It gives a nice halfway ground between showing outlines and showing contents. This is the setup I use on my Win2k box; it'd be nice to be able to have the same in Linux.
I'm stuck on an NVIDIA Riva 128 with 4 megs !!!!! Quake 3 at 320x240 oh yeah!!!
> > I've been puzzled by transparent/translucent window fluff.What is the point? Other than chewing up graphics card cycles
.... now I can show her! Incase you didn't realize, women like these bells and whistles (especially shiny sparkly things). I could never get her near the pc when I used console/DOS. ;-)
Gotta justify to my wife somehow why I needed that 3.0ghz CPU and 2gig of RAM
If you read the page then you'll notice that the excitement isn;t really about a quick hack to get the abysmal transparent windows working, it's about an OpenGL X-Server.
This would mean some of the drawing done by the GPU instead of the CPU.
What's the point?
The basic need is that, well, it needs trying out!
It's easy to say "oh, it will never work" but that's nto really true until someone can show you a well crafted OpenGL desktop and it doesn't work.
I hope it works because for the most part my expensive graphics card pumps out a 2d desktop.
There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
It already exists for windows too. I thought it was neat for about a week.
--Jimmy has fancy plans; and pants to match.
We know you submitted the article. If you want hardware, why didn't you just say so?
Translucency adds the ability to read something in the background and type it in the foreground.
Or you could cut and paste, saving yourself all that typing
Sheesh.
Chris
I don't believe it.
We slashdotted the webserver of a university with one of the world's highest reputation in the field of computer science?
Oh I see, it was just the webserver reserved for the students. This mustn't have access to any higher bandwith or any state-of-the-art hardware of course.
I think I would like translucency if I could enable it, get a quick look at other windows I was interested in monitoring (log tails, builds, irc, etc.) then disable it and get back to work on the top window.
Translucency might also be useful if it could be enabled on a per-workspace basis. One or two translucent workspaces with tails and the like could be interesting.
Anyway, it does look pretty cool.
slashdot broke my sig
Direct link to one of the mirrors.
For me anyway.
Mouse powered Chips, Open source Processors and Lego
I played around a lot with translucency in different apps when windows 2000 got that feature.
As you say while being cool I struggled to find any practical use for it.
Perhaps it might be useful on a small resolution but at 1600x1200 if i want to look at more than one app at once I can just arrange them side by side.
no sig.
Or you can be using an app that doesn't select properly and ends up chunking an entire webpage into the buffer. I did this once. I ended up flooding pages of text into a webpage, simply because I started my selection a hair to far left in my browser window. Since then, I learned to be very careful about such things.
Heute die Welt, morgen das Sonnensystem!
The TNT2 is fine for the workstation, but when I changed to the Geforce MX 420, I noticed a significant improvement in text quality.
This really makes a difference for wordprocessing / coding ect...
No mod points so I will just say "great post".
no sig.
That one is indeed working fine!
The idea implemented here has more value than the novelty of translucent windows. Because each "window" is actually a texture stored in offscreen memory a window is never actually obscured. No more expose events! No more clip lists. Perfectly smooth window dragging in your window manager. Minimising a window won't cause obscured windows to redraw. It's like save unders but with hardware acceleration.
A little bit of history is required here. X was written back when video memory was very tight: the framebuffer (what you saw) was ALL of the video memory. There wasn't any unused video memory for textures or pixmaps or caching. So obscured windows caused a big problem: what do you do when you unobscured the window? One technique was to store a bitmap of the window as a "backing store". If the backing store is on the X server then it is called a "save under" but it's the same concept. When a region is exposed you'd just draw in the previous contents from the backing store.
Unfortunately backing stores use up heaps of memory. So the preferred technique was to send an Expose event to the application, tell it which region just got unobscured, and the application would redraw the necessary pixels. CPU was and still is cheap compared to memory! This is the technique still in use today and explains why you get messy redraws when you drag a window around your desktop.
For people who are serious about removing all the cruft in XFree86, you could make serious headway by forcing all windows to be allocated with this TransluXent technique. The amount of legacy code you could rip out of XFree86 is staggering. All the clip mask code. All the loops around drawing code. Lots of tests become useless. No more need for Expose events. Also imagine a proper Xshape extension using alpha masks instead of clip lists.
This TransluXent technique is unfortunately only hackery. They've implemented a "framebuffer" type based on cfb (colour frame buffer). This is the intermediate model that XFree86 uses before your video driver gets involved. So even though they get the translucency they won't get any of the potential to simplify the X server. If somebody could implement this idea higher up the chain - say as an extension to save unders!? - then you would make XFree86 a serious contender for Aqua style graphics.
Of course, the downside is that you'll chew up serious amounts of offscreen video memory (aka texture memory). You might need to implement some code that "swaps" unmapped windows into system memory.
Chill out matey.
We've just gone from PII 333s running NT to P4 1.8s running XP. Most of my applications run slower now. Paint Shop Pro is now a joke, IE takes even longer to open, Word crashes more often, windows don't redraw themselves properly...
I am just one of the end users so yes, I probably have the shittest administrator EVER too, or XP is bloated to the max..?
I happen to like Windows and happily run 98 24/7 at home.
This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
Anyone looking at the framebuffer device as salvation is barking up the wrong tree. Yes, its direct to hardware, but it's slow as molasses when there's anything happening on the screen. Try running a console-intensive app on a fbconsole and watch the latency of all your apps go through the roof. I can't even play an MP3 when the framebuffer is busy, and I have a top-end system with optimized software.
XFree86 has direct-to-hardware rendering, it has DRI and MITSHM. Granted it uses a few more megs of memory than I'd like it too, it's our best bet for 2D performance out there. It really is quite good, I think a lot of the desktop environments need optimization (KDE is a bad performer all-around, IMO).
The framebuffer exists for three reasons:
1. Simple to program for.
2. Needed for 68k and most PPC machines (no native console mode)
3. Platform Independent.
it doesnt:
1. Perform well enough for casual use.
2. Play well with others.
3. Run X programs without the overhead of X anyway.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
Why is this in science and not in developer?
Curses :) Really. I always thought it did :) I mean my girlfriend tells me :) that doing that :) makes eveything :) funny :)))). And dont get me started when I do this :D
I find translucent windows handy for SOME things - for instance, one editor I use on Win2k allows me to have the search/replace dialog stay on top and be translucent. Instead of opening and closing the window all the time, you just keep it there
-- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
I was making fun of people who get geeked about translucent windows. Yeah, it's cool for about 5 minutes, after that it gives me a headache. :)
My journal has hot
Actually that's not such a big deal. Modern graphics hardware has optimized blitting operations, line drawing operations, and so forth, i.e. everything needed for 2D stuff.
What's interesting in this case is suddenly you have new operations at your disposal, namely, everything that the texturing units can do. Texturing hardware _is_ the meat of modern graphics chips, but that's out of reach of APIs like X11's, since in those APIs bitmaps are things you put on top of other elements, and that's basically it. With OpenGL as the backend, the frontend can start doing interesting stuff: rotating pixmaps for free, or compositing operations, or *gasp* bump mapping.
You really don't want to have an X server that uses OpenGL as its internal API, but this is a great playground for testing new ideas. Eventually, you can take the OpenGL driver appart and move the stuff from there to the X server, but it is important that your existing applications run unmodified in the new environment.
You have translucent windows in Win2000? How'd you do that?
I've only seen this working in WinAmp3 but I'd love to have opacity settings for my WinXP and 2000 desktops.
Moderation: +1 pwnage
This is super cool. If you don't like it or don't have the CPU or graphics card for it, don't use it.
Every cycle not used is lost forever! Remember that.
(The same goes with bandwidth.)
In XFree86, they do use the GPU for many drawing operations, even without OpenGL behind the scenes. It's called XAA (XFree86 Acceleration Architecture) and it supports the basic 2D acceleration on modern GPUs (blits, lines, fills).
Clearly you've never heard of tracing paper.
Since "the hardware" is powerful 3d accelerators, it will probably be available for x86 *first*.
"He's on a TNT2 for heaven sake!"
Good for him, if he's smart he'll keep using the lowest common denominator hardware so he can develop code that has the best chance of performing adequately for the most users.
Throw together some code and get free pizza and a new graphics card :-P
SIGFAULT
Hmmm... I wonder whether a PDF renderer could be implemented as a set of shader programs?
There is a fundamental limitiation to modern graphics displays that limits the usefulness of translucent windows - the lack of different accommodation depths.
Consider driving along the road as it starts to rain. Normally, you are looking downrange - your eyes are focused on infinity (as far as your visual system is concerned). The rain drops on your windshield are forming an image on your retina, but it is out of focus, and so is easier for your visual system to ignore.
Should you want to look at the raindrops (to evaluate whether the rain is sufficient to require you to change your driving pattern), you shift the focus of your eyes. Now the raindrops are forming a clear image on your retina, but the road is not - now it is the road that the visual system can ignore.
So, to extend this to a computer display - at a minimum, you would want to employ some form of blurring on the windows in the background as well as reducing the contrast. For this, a 3D card with motion blur might work without too much added work.
But the second thing you need is a good, quick way to shift focus from window to window. If the back windows are fully obscured by the forward windows you cannot just click on them. You cannot just shift focus - the system has no feedback where your eye is focused. As a result, you have to minimize the forground window, or have a "send to back" button, or something like that, and you still get into the "nope. Nope. Not you. Nope. Nu-uh. Nyet. Aw, c'mon!" mode.
www.eFax.com are spammers
here: http://www.stupendous.net/mirrors/transluxent/
;)
In case of slashdot effect
It's been a while since I ran 2K for my workstation but I believe that the folder option for "show window contents while dragging" is there. I know it is in XP. Though you will need a registry tweak on most systems to reduce the %translucence down so that you can actually see the items underneath (the default is like 80%, kind of hard to see things through it).
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
Hey! I like my TNT2. Ok... so not really, but can I have pizza too?
(Karma = auto -1)
No, PDF is not going to be accelerated by GPU anytime soon.
It has nothing to do with GPU performance or GPU ISA. It has everything to do with video memory vs. system memory. With OpenGL/Quartz Extreme, you can't use _existing_ 2D acceleration because window textures can be located in system memory (think of it as: VRAM/RAM and System RAM/swap) and GPU can't access system memory at all - unless you use some kind of Unified Memory Architecture, thus creating yet another bottleneck.
If you want to use 2D acceleration for drawing into textures, you need:
1. Create texture
2. Upload your texture into VRAM
3. Draw into it using GPU
4. Download it from VRAM back into system memory, so your backing store doesn't get lost when VRAM space becomes full
5. Upload it again as needed
If you want to use 3D acceleration with software 2D drawing, you:
1. Create texture
2. Draw into it using CPU
3. Upload it as needed
Guess which approach is faster? Hint: the slowest parts are bus transfers.
P.S.: PDF is _not_ used for every drawing operation in OSX. In fact, most applications use old-fashioned bitmaps for drawing. PDF in OSX has exactly the same status like SVG (librsvg) in GNOME - it is optional and you can use it, if you need it.
Enlightenment can do semi-transparent windows while dragging - this was available as an option in the Red Hat 6.0 desktop. But I think it was done in software.
-- Ed Avis ed@membled.com
Translucency in win2k? You want this. The author of this software posts on /. sometimes.
Do not read this
> It can be quite useful to have windows which become translucent when dragging or resizing. It gives a nice halfway ground between
> showing outlines and showing contents. This is the setup I use on my Win2k box; it'd be nice to be able to have the same in Linux.
geez dude, (E)nlightenment already did that back in 1999 (0.14.4 i think)
You "are able to have the same in Linux" for a long time.
cheers.
``If a program can't rewrite its own code, what good is it?'' - Mel
I use them on OS X and having a terminal/vi and a IDE (e.g. Project Builder) visible at the same time (terminal over source editor) is _really_ useful.
It's also useful when Googling to fix system problems (web browser underneath, term on top) or to diganose system problems on multiple hosts (with a large number of overlapping x terms).
I have no problem seeing though 3 levels of terms, or reading translucent terminals. The exact level of translucency, the color scheme and not having a very distracting desktop background are quite important factors though.
It has usually nothing to do with chipset on card, rather how the card is built.
Lot of low-end cards use out of spec parts and their picture is blurred. You can compare cheap no-name card with brand-name card with the same chip (be it GeForce or Radeon) and you will see the difference immediately.
I've been recommending this for some time now. Glad someone else had the same thought.
Paint Shop Pro? Happily running Win98 24/7 at home?
You just lost all credibility. Completely gone.
Great, thanks!
Moderation: +1 pwnage
In fact if this guy keeps his hardware low-end and makes it useable.. he will out-code all the other schmucks out there that call themselves programmers.
and the remark by the article's editor about the TNT2 is proof that many people have no clue about computers even so called geeks.
No, it's proof that you didn't bother to read the article, in which the author clearly states:
"* Implement more graphics primitives using OpenGL instead of cfb. This currently is kind of stalled since I only have a poor TNT2 which lacks pbuffer support and has a buggy implementation of Copy[Sub]TexImage2d. So rendering to textures is kind of hard with this hardware."
Have you got your LWN subscription yet?
IANAL but im pretty sure no site would bring legal action against slashdot. All they do is link to an article.
Slashdot - The one stop shop for procrastination
I say we all start a world wide campain to force all programmers to use 2 generations slower computer hardware (except device driver writers, they get the good stuff) to force these prima-donnas to actually write good code.
Have you ever contributed any code to anything?
Have you got your LWN subscription yet?
KDE wouldn't suceeded vs win 3.1 with the hardware you could run 3.1 on =) Heck its kind of slow on Ghz level processors I don't even want to think of the pain of running it on a 386 with 4MB of ram and a 256k graphics card.
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
Know your facts before you troll, buster.
Go to Apple's QE site and follow the link to the technology brief.
IIRC, one primary reason is the card has to support non-square textures, something the TNT2 does not, otherwise QE cannot function.
Actually, that hardware path has already been trod down, and the market didn't really support it...
At work, we used to have these clunky old Pentium 133 computers with a dual monitor setup running SCO and some proprietary drawing programs...One videocard was a normal old S3 card, but the other one was called a PixelWorks card...as I understand it, they were specifically optimized for displaying and rendering postscript (cause that's what the program made!). And for a P133, they were damn fast... Of course, the company moved on to cheap commodity hardware...FreeBSD is a helluva lot nicer to work with than sco, let me tell ya...
I really haven't heard anything at all about Pixelworks cards living past that iteration... Maybe the next gen of vid cards should take up Postscript acceleration, too?
Sig currently under construction. Mind the gap....
And since the coders then will write programs for the 2 generation slower hardware the consumers will scream "Where is feature X, bell Y, whistle Z??" and so on... ;p
Don't you mean the male human brain? :)
I'm guessing most intelligent sysadmins would rather spend their money to buy a better connection than a lawyer. Just a hunch.
Yes, because cutting and pasting works so well between different applications on the Linux desktop...
Dude.
What about when I want to change my music while concentrating on my web page/word processor.
And what about when I want to take a quick look at the message I recieved while maintaining in my current window
Translucent, if it wasnt so damned slow as it is, is SWEET.
[I can picture a world without war, without hate. I can picture us attacking that world, because they'd never expect it]
See translucent and transparent.
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
All programmers should be forced to write their programs on hardware that is at least 2 years old. Am I the only one who gets sick of having to upgrade my hardware because programmers can't be bothered to optimize their code a little. Some of the recommended requirements on games these days reads like a NASA shopping list. I'm as much of a hardware junkie as the next geek but developers need to recognize that not everyone has an unlimited upgrade budget.
Actually, a few things are worth having translucent. My Trillian window for instance on my Win2K work box. I have Trillian set up as always on top, and knock it down to pretty translucent. Allows me to keep an eye on who's online while not completely losing that screen real estate.
I agree. All QE does is speed up all the eye candy (drop shadows, semitransparent titlebars of inactive windows, etc.) that shouldn't have been there in the first place. Not saying it's evil or shouldn't exist, in fact, I'm *glad* Apple finally delivered something to make OS X responsive, assuming you've got a suitable video card.
Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
uhmm, yeah. I'm working on this fancy xserver that will make windows all blurry and move around at random. One of the features is DoubleVision(tm), which will be coming around real soon too.
Unfortunately for a lack of funding the project is running behind (hey! it's only lack of funding!)
So if you could please donate beer or hardware it could really boost the progress of blurryserv. Shots are also accepted.
I wonder how much performance would suffer running this. Looks like his CPU is getting hammered pretty good and he is not really doing much.
Got to admit is looks nice though.
Could somebody explain how this belongs in the science category?
Leave it to a true geek to underestimate the value of "looking cool." Take a look around, the world is FULL of eye candy.
Single? Maybe a Linux laptop configured to make everything look cool will change that.
People can be dumb like moths . . . to ignore this fact would be to ignore the BILLIONS spent every year of advertisement. Might as well use it to our advantage . . .
Sdelat' Ameriku velikoy Snova!
I've been puzzled by the lack of transparent/translucent windows.
Why not? All it does is chew up a few unused graphics card cycles.
If you have one window and a black background it would look super! Kinda just like what I want now. If you are trying to code in vi, and that window is over slashdot, and that window is over irc you see everything!
Please tell me why its missing.
You seem to only see one side of the picture. Try doing a tutorial on some webpage while using a terminal to follow the instructions. Its not just cool to look at, it is functional to see what you are doing below the terminal window. On a small monitor, you don't have to move the windows every time you want to read a line, while working.
... if you are going to be working on porting X to OpenGL (a really cool idea if you ask me) then why don't you also work on making windows "rotatable"?
I can see it now. I "minimize" an Xterm and instead of becoming an icon near the bottom of my screen it slides over to reside on the side wall of my desktop... which is, btw, cube shaped.
This one open ended cube would give me 5 surfaces to drop things onto and one open space in the middle to have things that I can work on. Or if you think the top surface would confuse you too much you configure yours so that it doesn't have a visible top surface and instead what you have is two side walls, a back wall, a desk surface, and the "working area" is what ever you are holding in your "hand" to read.
This kind of paradigm could be very easily implemented in OpenGL I imagine.
Transparency could then come into play when you needed to see "over" what you have in your hand to select something off of the walls/desk. You could do this by employing the middle mouse button (or some other configurable key/mouse combination)... while holding down the middle mouse you are scrolling in the wall/desk space, while not holding down the middle mouse you are scrolling in work space.
42 - So long and thanks for all the fish.
it is MOSTLY eyecandy. i can think of a few times where i needed translucent windows (monitoring multiple servers with a couple different applications). i didn't have it, i did without, it would have been much easier with it tho
:P (i'm not one of those that'll be installing this, my computer is slow enough as it is!)
granted, those cases are rare and far between, but eh...
geeks love eyecandy, leave it to them
Before DOOM3 comes out! Otherwise he wont be able to finish the project!
And to all those 'why dont you just copy and paste, sheesh' posts: you don't come here often, do you? Let the REAL multitaskers get their work done.
Because ALT-TABbing to the window underneath is a waste of time.
I am now working on some new Open Source project. Something like, to do with, you know...KgtkX-thingy. Give me money now.
Yay, a NeXTDimension board for PCs!
For those who don't remember, NeXT made a colour graphics card for the NeXTCube called the NeXTDimension, which consisted of an Intel i860 processor running at 33 MHz, up to 32 MB of RAM, and a bunch of video/audio I/O interfaces. The card was designed to offload all Display PostScript operations from the CPU (besides the added video editing capabilities). Since the NeXTStep GUI used Display PostScript for everything, the GUI got a hefty boost from the dedicated hardware.
I wish there was something similar for Display PDF.
In Soviet Russia, Jesus asks: "What Would You Do?"
If it works on a TNT2, so much the better.
This is true - trouble is, Enlightenment seems to have lost its steam (April fool's pranks aside). Pity, though - I thought it was really cool back in '97 or '98.
The Hurd will be released before E17.
I would gladly change my POV on this if the help was a bit more helpful. I think the author has done a fine job to provide translucency, however, I really do hope that he can provide adequate documentation, or perhaps make it modular so people can package binaries for it.
Agreed, this is eye candy.
However, the potential for creating useful 3D widgets is something that warrants investigation...
As a crappy example, take a widget that uses floor plans at design time, and presents 3D fire escape routes, or directions around a building, or whatever, at runtime.
If I had a better, more general example that would be better suited to being a widget, than I'd go make it. The point is, their is potential there beyond eye-candy, that *could* increase productivity.
I didn't know Windows2000 had it.
Can I user turn it on or does it have
to be added my an application programmer?
actually win98 is still the best OS to run games, all my friends still does it. I am running windows 2000 for my simcity stuff, but I am really thinking about moving back to win98, and I even have 1GB of RAM! winXP, forget it... since I tried it once it was formated again ... the menu structure is horrible and slow, and even with the graphics turned down on a 1.4GHz it is still slower than my KDE (which I think is too bloated, and therefore using fluxbox). And hey, PSP is still great, eventhough Gimp and Photoshop are my friends.
(yes this can be compared with sex)
this guy is from my university!
i think i'll really have to send him some pizzas...
Not at all. Without non-square and two-to-the-power support, it still can function. The only difference is speed, and by definition it can slow down only by a factor of 4 at worse case senario.
damn transparent windoz look swzeet!
I was thinking for regular linux distribution, if you make the panel (task bar, or whatever you call it) translucent (partly opaque, partly translucent) then it'll be nice.
Other functionality is the same. That is you have to move down the mouse to the bottom for it to show up again, and you can click through the translucent just like it's not there.
This features replace/compliment the autohide option. Users should be able to change the opaque level.
Why? Improve productivity. Users can see items they want to click on before they even need to move the mouse down. Also, improve usability: if users does not have to move the mose in 2 direction all the time (down, over), and only move in 1 direction (direct) because he/she knows exactly where the item is, then it'll be less hand movement.
Or you can just disable the autohide option, and loose some precious space of your work place.
As I spend more of my time with networking hardware, I don't have the energy/lack of sleep/time to focus of pc hardware programming.
/.)
As I chew through the day with 15+ terminal windows open on three 17in screens (Who needs a tanning booth?), all I can think of is how win95 is sooooo much faster than X in terms of graphics manipulation.
I don't really have the time whenever I get a new box to fiddle with special drivers, distributions, or compiling stuff to see if *nix is up to par yet on the graphics/gaming front. (I do have time to go
Linux needs X speed improvements. If it is a driver/hardware issue, then this seems like a pretty neato thing. Maybe this project can make gl drivers (nv-gl, s3-gl, etc...) and have them side by side of the standard X drivers.
Sorry, but you are so wrong. Yea, it is eye candy, but think about this... How many times have you needed to swap back and forth between two windows becuase you needed data from one. Sure, side-by-side is ok, and multiple desk tops are ok. What would be a killer is having the source data underneath what you are working ok. That way, you can see both frames at the same time.
Another feature might be the ability to have some backgroud tasks going on (compiler, web pages, what ever). Now, you can see when things change while you are working on something else.
Give this guy a GeForce 4 ti4x00 so we can get shaders! Think of all the cool window decorations you could have. Chrome Window borders could reflect other windows.
When a new window appears, it ripples the rest of the desktop.
Even better, double click an icon and the desktop ripples. That way you know you clicked on it.
Could, but doesn't.
get a job then you could get something better then a tnt2
Yet many people used Windows 3.1, because it was such an improvement over what had come before
Windows 3.1 was such an improvement over DOS for PCs and compatibles only. I had an Amiga: preemptive multitasking, scalable fonts, multiscreen gui (I could even drag a screen with different video mode), a nice Unix-like command line environment, up to 24 MBs of RAM (for 68000) and up to 4 GBs for later Motorola CPUs, 4-channel 44 KHz sound, blitter and a video chip that could do hardware scrolling, hardware sprites, a mouse, joystick ports...I could access my files directly from Workbench where as I needed to open File Manager under Windows 3.1. I had a flat 32-bit memory model whereas in PCs I was stuck with segments. When I got to Windows 3.1 due to college obligations, for me it was such a backstep!!! Windows 3.1 sucked!!! I imagine that this was the case for Mac owners, too.
By the way, I personally don't think transparent windows are a good idea. Especially when developing software, I don't want to look to source code windows other than that the one I am currently editing, since it is confusing.
sure! it's called "screen". ;-)
best used with SSH.
This effect has already been created years ago with DirectFB. Nothing new to see here....move along.
It's never too late for adoption of a new product or idea. . . if its better. People are born every day. They experience the world as it is presented to them. If a young person learns Linux/KDE at the same time as Windows they will probably form an independent decision.
.and RMS.
Anything can be changed with time. Anything. . . look at the stories surrounding Rome, Ghandi, Martin Luther King, Napolean, wind and water.. .
I happen to like Windows and happily run 98 24/7 at home.
Really? Um, dude, what's your IP address?
I think Linux is entering the desktop race at an unfortunate stage
But that's the clinch. We want our 'nix desktops to be close enough to the windoze ones that users can make the switchover fairly easily. On top of that, we want it improved so that the advanced users can get more productivity out of the 'nix desktop. Realistically, the windows desktop and/or GUI aren't the problem, it's the bugs and the licensing/restrictions etc.
What users want is basically a windows (does it run app X) without so many crashes/bugs. What corps want is the above, and an affordable licensing scheme.
What linux supporters want are both of the previous, and killer app to draw normal users over (we're already drawing corporations over because of the cost benefit, I know since I work at one of said corps)..
So basically, once we have:
a) Application support - at least the most popular apps, preferable most of the apps without crashing due to OS bugs
b) Good cost/licensing terms, fewer restrictions than windoze
c) A killer app, something to draw a crowd
If you had these three, you wouldn't even need a windows GUI. As long as the user could get into his her app, or her apps - most of the configuration stuff can be ignored. Where I work, nobody goes beyond their little sandbox anyways, and the "Control Panel" in windows can be almost as taboo as a commandline or 'nix menu.
The extra desktop sales alone would justify his salary.
Red Hat, are you listening? SuSE? IBM? Sun? Anyone, anyone, Beuller?
-- My choice of computing platform is a symbol of my individuality and belief in personal freedom.
Maybe I'll be able to run X in something other than 640x480 on my 3DLabs Wildcat Pro 4210. Great OpenGL card, sucky everything else (no drivers at all).
MORTAR COMBAT!
no, your admin has nothing to do with how fast windows runs on a PII 333 (!!!), try an upgrade, or install windows 95 (it'll scream on that hardware)
Or you could not be able to cut and paste, because somebody didn't design their application very well, or you're copying text from an image.
Sheesh, indeed. You really are the king of lizards.
Males are able to multi-task better whereas females tend to focus more on just one just and complete that before moving on.
Why don't you get a Matrox then?
Analogies don't equal equalities, they are merely somewhat analogous.
It's not the processor; it's the amount of RAM.
And yeah, when Win3.1 was current, PCs had approximately no RAM,
so current versions of KDE would have sucked in the uttermost.
Cut that out, or I will ship you to Norilsk in a box.
I know, doesn't it work great?
The real benefit is that (at least the way I use it), you start a somewhat long running job in a window in the background (file download, build on a remote system, etc). Bring something you want to work on to the foreground, and set about a 10% transparency to the window. Now, when you want to, you can quickly focus your attention to the background task, without switching windows, then return your attention to what you're working on.
If you have Win2K, or WinXP, vitrite for Windows is a great utility to provide this transparency. And you can select which window and how transparent each window is. Very cool.
Overrated / Underrated : Moderation
> I don't know about you but when I'm reading a webpage, I want to concentrate on the webpage, not everything below it. When I'm writing a report, I want to concentrate on my word processor, not all the windows below it.
Spoken like a man who doesn't use nude babes for his wallpaper.
Sheesh, evil *and* a jerk. -- Jade
Sure, being able to skimp on desktop real estate by being able to see through a window what's happening behind it, but I'd rather have virtual desktops of the kind X window managers have done for ages.
"He's on a TNT2 for heaven sake!"
So am I, you insensitive clod!
Its kind of funny, I'm reading a lot of comments like yours. Which is fine, of course. But there is a sort of big push right now for just this sort of thing on Linux desktops. Eye candy, it seems is underrated here?
As a user who has been using the Linux desktop for about 4 years now I'd have to say this is a very exciting project. You should take a look at kde-look to get an idea what types of eye candies are being kicked around. I've been using translucent aterms, Convectivea crystal icons and the Mosfet's KDE liquid module for quite a while now, I love it.
Btw, check out Karamba, its a new KDE extention that suports (fake) transparency, lots of fancy do-dads and themes. Beefs up the candy factor (and some functionality!). Might as well look good if your going to have to use it.
Last one! Check out Slicker. Its a collection of utilities which provide an alternative to KDE's kicker, and looks good. I don't know about you, but I got tired of looking at screen shots of OSX.
Quack, quack.
1) Be a nobody teen with old hardware but a jonsing for something better. /. and beg for money to work on really cool O.S. "thing".
2) Come to
3) Profit! (Later claim that X sucks and it was too hard, but thanks for upgrading my system anyway)
There, no longer is the "..." needed, it's all so clear now!
If the X server gets OpenGL intergrated, wouldn't that pave the way for the 3D desktops everyone's talking about? And if it has it intergrated, then you could open games like RTCW (Sometimes called a Q3 mod for those who don't know about it) right into the desktop and have all the windows just fade away when it loads, then you could temporarily go out of it, fading that out and the windows back in, do what you need, then go back? That'd certainly help me develop levels for the game.
"Translucent windows is eyecandy and good for demonstrations, but that's pretty much it. Other than that, they're usability nightmares and harm productivity."
Not for me. I have a desktop switching app (called Altdesk, it's for Windows though) that has this tiny bar with all my desktops and apps on it. It's an 'always on top' window that I have at the bottom right above my Start Menu.
Unfortunately, it blocks information occasionally because some apps throw stuff there. It blocks Opera's message about how fast stuff is coming down, for example. No problem, the bar's transparent. I can still read the stuff plus see what each button does.
You're right that it's limited, though. The bar is only icons, and the stuff below it is only text. I don't think it'd work if it were text on text. I'm just saying you can't apply an absolute rule like that here.
Well, there's traditionnaly been much support for "focus" in window managers, we could extend the notion of "focussed" window to that. :)
Semantics is the gravity of abstraction
If you have an ATI Radeon, ATI has a utility called "Hydravision". It was built to make using multi-head machines easier, but it includes a virtual desktop manager and transparent windows (as well as some useless effects).
You "develop Air Traffic Control software for the US", on X-windows???
God help us all.
Semantics is the gravity of abstraction
He's on a TNT2 for heaven sake!
So what? My TNT2 lets me play very competitive Q3, DK2, Dungeon Siege, WC3, etc.. If you're telling me that it can pump out 60 FPS in Q3 with a few minor tweaks, but can't handle this guy's GUI, then maybe there's something wrong with his code.
steve
Oh, you're not stuck, you're just unable to let go of the onion rings.
Windows XP loves RAM. 512 MB is probably the minimum for reasonable performance on daily stuff. So if these new machines only have 256 MB (or less), that's probably why they're dogs.
-ZA
Well, if you're worried about your productivity... reading & posting on Slashdot isn't going to help you much ;)
I have nothing against eyecandy. I do have something against eyecandy that harm productivity. In this case, translucency.
Translucent menus make the menu labels unreadable. Translucent terminals make the terminal text unreadable. That's what I call useless eyecandy.
A lot of people here are saying this would just be resource drain and basically just 'eyecandy' but: you don't know how much I've *wanted* this.
Being on a finite budget, I'm stuck with an 18" viewable monitor,
so there's not enough space for everything. Being able to have
my windows be (say) 80% opaque (20% transparent) so that I
can see if anything changes in the window behind (a log tail for
example) or if things _stop_ changing in the window behind (like
a make or wget) would save me from my current practice, which
is to have my windows shrunken enough that the bottom couple
of lines of the window behind show underneath, and the bottom
couple of lines of the one behind that underneath them, and so
on and so forth. Sometimes I stack them five deep that way, and
that can take away a fifth or more of the height of my screen.
With this enhancement I'll be able to tile those five background
windows and then run my main window (a browser say) fullscreen
in front of all of them and just slightly transparent.
I also want an always-on-top clock that's like 90% transparent.
So, thanks for doing this, and keep up the good work. I'm going
to download it and try it out next week, after I get my desktop
working again[1].
"I filter at +6, and have yet to miss out on an important comment." (#822545)
"The biggest problem with OpenGL isn't that it isn't suitable for 2D - it works very well for 2D - but that it isn't specified to a pixel level and that it doesn't have decent font rendering support."
But you see, it's not really a problem...
glOrtho2D mode means you're basically manipulating at the pixel level, so draw your layout verticies and render. If you want a pretty picture, there's always texture mapping.
Glut mouse events return pixels, so you're basically working pixels to pixels.
Considering that even the crummy integrated graphics on today's motherboards are twice as fast a TNT2s, I don't really think rendering speed will be a problem.
Man is the animal that laughs.
And occasionally whores for Karma.
Translucent means that the object behind the material is distorted in some way.. such as darked or discolored. Transparent means that the object in the foreground is invisible, causing no distortion.
Clear glass is transparent, colored glass is translucent.
Sure, and I'm not trying to argue with you. I just happen to disagree. :-)
Of course the cool thing about Linux based desktops is all the choice you've got! I'll install this and try it out myself. If I don't like it *then* I'll go back to my Blackbox/Kicker setup. Kudos to the developer though!
Quack, quack.
It also exists, and has from the start, for Windows 2000. Google for Vitrite for a neat utility to transparentize any window.
Any window can be made transparent. Google for Vitrite.
scripsit EnglishTim:
Yes, in fact it does.
In principio creauit Linus Linucem.
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
Translucent windows is eyecandy and good for demonstrations, but that's pretty much it
Actually, the real win in putting windows on GL textures isn't the transparency, it's the ability to offload window compositing to the GPU.
In Mac OS X, for example, the CPU impact of dragging a translucent window around on Quartz Extreme-capable machine is negligible.
-jcr
The only title of honor that a tyrant can grant is "Enemy of the State."
He's got a paypal account now... send money to his e-mail address if you're interested.
--Bennett Prescott
Former Lord Of Packets
The 2D primitives in those cards may not have support for the latest fads, however, translucency and anti-aliased renderers. Those have been understood for decades (no, Apple didn't invent them), but they used to be considered gimmicks. But, hey, whatever it takes to get people to upgrade. The next gimmick after that will probably translucency with blurring (blur window content that is behind other windows), which also looks really nifty and requires yet more compute power.
Now, having said that, an X server with an OpenGL backend would be useful. But that's not because it may give you translucency or high performance, but because it could be easy to port to different platforms (Windows, MacOS) in windowed mode. But starting with the XFree86 sources, as this guy did, is probably not the way to go: if you go with an OpenGL backend, most of XFree86 can be thrown away because it's only going to support TrueColor and it doesn't need a generic driver infrastructure.
However, an OpenGL backend for X11 is unlikely ever to be fully conformant with the specification. X11 specifies (quite wisely) where every pixel needs to end up when you draw a line. That's necessary so that things meed up properly when they are drawn, and software relies on that. OpenGL implementations are not guaranteed to conform to those specifications.
why not call it "TransluceX" - say it 5 times fast.
-- Dirty mind at work again!
a) i can't get linux to install, mostly because of b) my hardware is about 10 years behind the rest of you, so i shouldn't be seeing this for a little bite -prompt. it'd be great for people trying to Read digital books and do other stuff at the same time...unless i have it wrong somehow.
but i've been wishing for some transluceant windows - [add multiple mice&keyboards' it'd be perfect!]... something where i can use two different colour schemes[darklight darklightcolour2] and refocus my eyes quickly between them so there is no putting-down-the-book-and-taking notes or moving-my-head-to-look-from-the-book-to-the-googl
i hope they keep going with it.
GENERATION 26: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
XFree86 uses hardware acceleration already, and has done so since the first cards with hardware acceleration came out.
OK, having a window transparent so you can watch what's going on behind it is kind of cool. It's opengl people, we can move the windows sideways and view them edge on too. Have a stack of 30 or so windows edge on, with just enough angle so you can see if anything changes.
Secondly,
He's implementing the hardware driver as opengl. I think this statement is very important. Device drivers can be written to OpenGL. All of a sudden the hardware manufacture's have an easy route to support Linux. WOW!
The card was designed to offload all Display PostScript operations from the CPU (besides the added video editing capabilities).
Not exactly correct.
The ND card rand the "device" portion of the DPS interpreter. Most of the math (glyph generation, etc) was still done by the CPU.
-jcr
The only title of honor that a tyrant can grant is "Enemy of the State."
Windows 2000 and XP have already done this. And it works for nearly every video adapter on the market.
I love the way the desktop is using translucent windows, but the mail icon is still the same crappy monochrome (1 bit!) icon.
I would realize its a dream right there. It would not get any further.
What signature defines me as a person?
"Lucent" means literaly of, or pertaining to, "light". In English, this is derived from French, from the Latin "Lux."
"Parent" is again, no surprise, of Latin origin, via French. Latin "apparens" is related to everyday English words like "appear" and "apparent"
So, Translucency is a necessary condition for Transparency. In sufficient degree Translucency is Transparency.
"Flyin' in just a sweet place,
Never been known to fail..."
When you look at a road partially obscured by raindrops on your windshield, your "visual focus" is doing two things
1 - pointing your eyes to get the correct stereopsis for the object of attention (a.k.a. vergence or crossing your eyes)
2 - focusing (accomodating your lens) the optics to optimize the clarity of the image plane on the object of attention.
Chaning your "visual focus" to the windshield requires changing your vergence to maximize the correlation of the windshield images and changing your accomodation to get that visual plane focussed onto your retina. It's possible to mismatch vergence and accomodation: that is the effect used in the "magic eye" 3-d illusions. The mismatch is also why some people have a hard time appreciating the 3-d effect of "magic eye" pictures, and is also part of the reason for why pilots using HMDs (head mounted displays) get airsick. Part of their brain sees vergence cues telling them that the object they're looking at is 20 meters away, but the focus cues (and parallax cues and a few other things, include visual lag time) tell them that the focal plane is only a few centimeters away.
To get a 3-d effect of being able to change your "visual focus", you need to be able to track your eye position AND you need to be able to present a true 3-dimensional display or at least separate visual displays for each of the eyes which you can re-merge with your brain into your "3-d" image of the world.
These "3-d" cards simply hardware accelerate the rendering of the 2-d projection of 3-d data and textures. The effect you'd like would require the presence of multiple planes of imaging to focus on. There actually have been a couple of LCD dispays that use multiple display screens at different physical depths to give a partial 3-dimensional visual effect. These, however, differ so slightly in distance that the vergence/accomodation effects on the eye might not be very significant.
But current 2D primitives aren't very useful for a whole lot of things. They do lines, fills and blits. In today's interfaces, that's becoming very limiting. For example, who wants non-antialiased lines anymore? The minute you hit a gradient (and there's a *lot* of those) you're back in software. OpenGL can support most of the SVG imaging model, including filters and gradients, in hardware. The SVGL project has seen up to 100x performance improvements just in preliminary code. The whole point is moving beyond today's relatively poor interfaces to richer more detailed (and resolution independent!) ones. OpenGL is just the enabling mechanism for that.
A deep unwavering belief is a sure sign you're missing something...
IBM nixed translucent folders in one of the last Beta's of OS/2 WARP 4. Reason: They thought it would be too confusing. OS/2's object oriented Workplace Shell made the addition of this type of functionality a natural. The OS/2 community begged them to leave it in, but alas...
m l
... among others...
I still believe that IBM needs to port WPS to Linux and hand over the code to SOM and DSOM to the GNU people. Linux would be unstopable.
But that's my opinion - ymmv.
http://www.beta.it/beta/bs019598/0196/b196ops1.ht
http://www.os2forum.or.at/TeamOS2/Beta/2.html
http://www.man.lodz.pl/LISTY/PECET/dec95/0357.htm
http://wgc.chem.pu.ru/OS2/beta-faq/merlin.html
I agree.
People ARE switching to linux, because it fits them. As more and more people convert, more and better software will be written.
Currently Linux is a solution for some people. They in turn are providing the feedback for other things they would like. Some other person checks it those things out and finds it better than what they have, and switch too.
Some people are expecting something to just make everyone grab a distro and install... It's not going to happen. What is happening is PCs being sold with linux as a home solution, with word processing, email, internet... all those small things you do everyday are the killer application. If you can do them nicely and quickly, why not opt for the cheaper solution? Then people find out the other freedoms in Open Source...
So... make it work one piece at a time... it will come to the desktop.
tell the SOB to get a goddamn job.
I hope all you do with your computer is work. Productivity is a pretty shitty measure when you are talking about a hobby or a toy.
Relax man.
Framebuffer is fast and pretty.
DRI is now separate from XFree86, and is now used to interface to framebuffer. Currently, fbdri is only for Radeon chipsets, but other projects may follow the pace. To my understanding, the DRI project has not updated their status page on DRI's separation from XFree86. You claim framebuffer is slow, where are your numbers, screenshots, device settings, and task list? OpenGL in a framebuffer...it is leading to be able to run computers with one less security-breach possibility (X11), and a small improvment in performance (and latency) of openGL applications.
OpenGL in a framebuffer, it's how you're supposed to play Quake, RtCW, Doom3, et al, don't knock it with no supporting evidence. Please, show me system configuration and drivers setting: I can help you out, my brother Linux user.
If the current KDE desktop had gone up against Windows 3.1 the world would be running Linux right now.
except Linux+KDE would not run customers' current MS-DOS applications.. oops!
cpeterso
Enlightenment is still going strong...It's just that it's aiming to be a GNOME/KDE-level project now (in addition to all the OpenGL-accelleration work), which is a bit ambitious for a project with about 5 people working on it.
On the other hand, a lot of the libraries being developed for E17 are seeing use in other projects.
Mix all that with E17, have those laser thumb gloves as seen in Minority Report to move the windows around, who the hell needs a mouse then? Quickly move the windows around with your thumb and get back to hacking in supreme efficiency!
Seems like all it does is make the windowing system more complicated and potentially slower.
That's the commonly held misconception. With accelleration like this, it is actually a lot faster. To the point of being able to overlay 20-30 windows, or subwindow effects, menus or whatever, playing video even, with no slowdown at all. You'd probably run out of RAM first. Without accelleration, it'd get chunky after three or four, as the processor would be doing all the work.
Also, there's more to transluceny than overlaying two semi-transparent apps at once, which is, of course, stupid. Smaller details, like fading menus, smooth page transitions, submenus/dialogs that blend, Aqua-style inactive windows, sheets, and blended task-switching (Alt-Tab blends one app into the next)
Yes, yes, all eye candy, but there's always the command-line.
I wish people would spend more time producing features that are actually useful as opposed to things that just look good.
I wish people would stop complaining about how other people spend their own time. (Especially on Slashdot!)
The basic need is that, well, it needs trying out!
It's easy to say "oh, it will never work" but that's nto really true until someone can show you a well crafted OpenGL desktop and it doesn't work.
I can tell you with some certainty that it does indeed work.
WRONG WRONG WRONG
Windows 2000 does not use OpenGL for 2D compositing.
You sir, are WRONG.
WRONG WRONG WRONG
Windows does not use OpenGL for 2D compositing.
You sir, are WRONG.
XFree86 uses hardware acceleration already, and has done so since the first cards with hardware acceleration came out.
You are thinking of 2D acceleration. This article relates to using 3D acceleration hardware to accelerate 2D views.
XFree86 does not use OpenGL for 2D compositing.
You're wrong.
His complaint about the TNT2 is that the driver implementation of one of the functions is buggy, and the card doesn't support a certian featur. Thus, he can't do things with it that he'd like to, like accellerate most of the widgets.
He's not complaining that it's slow, but rather that it doesn't support the features he needs.
GPU can't access system memory at all - unless you use some kind of Unified Memory Architecture, thus creating yet another bottleneck.
Yeah, AGP is some kind of bottleneck.
Latest Paradox . My Z-Machine background vs Translusent viewing that other window . Role on those 28" plasma screen price reductions .
No. You can't look at my Sig; it's mine, and I'm not showing you.
There's an option in the nVidia drivers for windows transparancy while dragging as well.
"For every expert, there is an equal and opposite expert"
don't forget us Atari ST'ers...we laughed at the Macs back then...black-and-white you say??? ha ha ha!
"Right now, somewhere in this world, Scott Baio is plowing a woman he doesn't love," - Peter Griffin, *Family Guy*
"Take a look at this!"
So now instead of posting stories with links, the story starts by strongly encouraging to click right away on this link.
He doesn't just need pizza now, he needs a new web page too.
--- Hindsight is 20/20, but walking backwards is not the answer.
I haven't played Quake3 since the leaked alpha!
-- 'The' Lord and Master Bitman On High, Master Of All
The ND card rand the "device" portion of the DPS interpreter. Most of the math (glyph generation, etc) was still done by the CPU.
No it wasn't.
Likewise, translucent and transparent have specific English meanings. The former means that diffusion of the transmitted light prevents the formation of a clear image. A thing is not transparent merely because it is "translucent enough". It's not a matter of how much light is transmitted---as the latin translation would imply---but rather a matter of how much diffusion occurs.
Man, I really need to stop posting about this now. Take a look at a dictionary, and if you still disagree, then that's your prerogative.
Patrick Doyle
I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
Translucent windows is eyecandy and good for demonstrations, but that's pretty much it. Other than that, they're usability nightmares and harm productivity.
I couldn't agree more- I use OSX as my main desktop, and the translucent crap is not only slow, but for menu's just started driving me batty (contextual, menu bar, etc).
I installed a 3rd party theme awhile back, and the lack of transparency made things feel RIGHT again (ie, OS9 or Windows/Linux) and improved my ability to actually know what was going on with lots of windows open.
Getting rid of the pin-striping was a godsend for OSX too... try it, using theme changer (only one of them that really works) and OSX just gets alot more enjoyable. Text in menus and the menu bar and app windows is sooooo much easier to read.
Of course then the blinding aqua white kind of got to me, thought my eyes were going to burn in... happiest now with the cappucino theme. It has some rough spots, but it is a ton more usable than aqua.
He complains about a buggy drivers for his tnt2 which is why he wants a new card. He'll need lots of cards to get it working nicely on all the different opengl implementations. Working around bugs is the fun part of doing graphics on pcs.
Here are some technical challenges to getting fast, and stable 2d blitting done with opengl. It's a fairly understood thing now as a number of people have allready done using gl for 2d drawing(enlightenment, many games, glSDL, and myself).
- power of 2 sized textures.
- need to make sure all images are put into larger textures, and have their uv coords changed.
- This can waste a lot of space when having lots of images which aren't pow2. So you need to pack multiple images into single textures.
- texture size limits of 256x256/1024*1024/4096*4096 on different opengl cards. Meaning you have to split some larger images onto multiple textures.
- missing blend modes on some cards. There are some 256 common blending modes for alpha drawing.
- Needing to update the changed parts of the images on the texture, instead of updating all the time. This is quite easy really.
- limited texture memory. So you need a caching system. eg 100 xterms take up a lot of memory. Texture compression could be interesting to use to help this.
- when images are scaled, or rotated the whole image needs to be updated on the vid card. This would happen a lot with window resizes. Not totally sure about how X works. Maybe X gives you enough info to do this with eg glRotate/glScale.
- With lots of overlapping windows you may need to do z sorting in order to not draw so many windows at once. Alpha transparency makes z sorting harder of course. With 5-10 overlapping transparent windows even opengl can slow down with many graphics cards. So you may need to do some tricky optimizations by caching the blended images when none change. By rendering to a seperate texture instead of straight to the screen.
The good thing is it's worth doing. I've seen 2d games done with opengl running at 800fps with a gf4ti4200 compared to 200fps on a gf2mx, and at 30 fps using sdl 2d blitting.
But it's very hard to get a fast, and stable implementation that works on lots of different hardware, under different conditions.
Good luck!
Of course, I am. Is 2D acceleration not "acceleration"?
XFree86 does not use OpenGL for 2D compositing.
Of course, it doesn't, among other things, because OpenGL doesn't support X11 compositing operations.
You're wrong.
No, you simply have a problem with the English language.
You need more monitors. I have four. You're right though. The bottleneck is now on the human/computer bus.
Thanks for the laugh.
Cut and paste does not work consistently across applications on any Linux desktop. It's no use saying that it *could* if only application developers would implement it for their apps. They haven't, and the result is an abortion compared even to the indifferent support seen across Windows apps. Of course the complete consistency of cut, copy, paste, copy/paste style in Mac OS is in the realm of distant fantasy for x86 desktop users on both sides of the Linux/windows fence. Maybe if every Linux app were rewritten for a particular desktop (say KDE), but that aint gonna happen any time soon.
When you control-click or right-click on any running application's Dock icon, you get a pop-up list of all of that application's windows. The foreground window has a check mark next to it's name.
"do you think people new to computers have inertia?"
Individually? Of course not. But they will be surrounded by Windows users, and since computing is now a social activity the tendency will be to follow the herd.
"what is the best way to thwart the blind inertia that they may well pick up from those around them, from their predecessors, from so-called "insightful" slashdot posts?"
Education. Schools need to stop teaching off of one operating system. Make people learn everything there is out there. Force them to adapt to new interfaces. Make them learn how to learn a new interface. Then they can decide for themselves what they like using, and adapt more quickly as advancements come out. I have a huge issue with the way computers are taught in schools now.
"I object to doing things that computers can do." -- Olin Shivers, lispers.org
scripsit Raffaello:
I can only speak from my own experience, but I have used (at least) KDE, Gnome/Sawfish, XFCE, WindowMaker, Enlightenment, and IceWM recently, with KDE, GTK+, Mozilla, E, and Athena apps -- and a lot of good ol' fashioned xterms -- and I haven't had problems with X cut and paste on any of them. Highlight to select text and middle-click to paste it seems to work on damn near everything. I fairly regularly cut and paste UTF-8 text among xterms, Gvim, Galeon, and other apps -- mixing local and remote apps, often running on different commercial Unix flavours -- with no trouble at all, except for the occasional app lagging in its Unicode support. I honestly don't know what people are doing that causes so much trouble. I really don't.
In principio creauit Linus Linucem.
Ok you beat me: my version of quake 3 is the 'Demo Test' version!
"Credibility?" End your Photoshop snobbery! You must not have used Paint Shop Pro in a long time. JASC has put a ton of work into it and it's bordering on being as powerful as Photoshop. There's always been a lot that Photoshop could do that PSP couldn't, but that's down to "not much" these days. Nowadays there's a lot that PSP can do that Photoshop can't (like picture tubes, which are cool), and in many cases, PSP is EASIER to use. I use both and love both, and think that both complement each other. Plus Paint Shop Pro is about 10x cheaper than Photoshop, which is kinda nice too.
1. He was talking about Transclucence.. read the grandparent poster's SUBJECT. Windows has supported this since Windows2000.
2. While you are correct in saying that Windows does not use OpenGL in compositing windows, much of the theory is the same. Replace OpenGL with the GDI, and you have another interface to graphics-card enabled compositing, abiet a slightly less versatile one.
1. He was talking about window transparency.. read the post next time.
2. While you are correct in saying that Windows does not use OpenGL in compositing windows, much of the theory is the same. Replace OpenGL with the GDI, and you have another interface to graphics-card enabled compositing, abiet a slightly less versatile one.
Yes, in fact it does.
Well... no, it doesn't. The problem is that different programs use different systems. If you're trying to copy from a program that only supports middle mouse button pasting to one that only supports a copy/paste clipboard, you just can't copy between them. It's right annoying.
Sure, it works a lot of the time, but I do quite often find cases where it doesn't.
scripsit EnglishTim:
I guess I've never come across a program that doesn't understand X copy/paste (i.e., highlight and middle-click). Can you give non-trivial examples?
In principio creauit Linus Linucem.
Here: just today I tried to copy a section of text from an OpenOffice document and paste it into an email I was writing in the Mozilla mail client.
It can't be done. I think in this case it's not that mozilla won't accept a middle mouse click paste, but that OpenOffice doesn't provide the proper X highlight information, or something. I also get a similar problem when using jedit, except that it won't accept the middle mouse button to paste. To be fair, it's a Java application, but the cut and paste in jedit works just fine under Windows...
scripsit EnglishTim:
With OOo 1.0.2 and Mozilla 1.0.0 it works for me (Debian Sarge, XFree86 4.2.1, IceWM 1.2.7). Well, I don't use Mozilla mail (HTML mail == evil) but I can paste into a Mozilla browser text box just fine. If you're sure it's OOo that's the problem (e.g., because you can't copy from OOo to an xterm either), and you've got a reasonably recent OOo version, file a bug! What you're seeing is not normal behavior. You don't mention what distro you're using, but if you find these problems pervasive you might consider that the problem is with your distro and not Linux or X in general.
I can't say anything about that, except that I would expect no less from a Java application... <duck>
In principio creauit Linus Linucem.