Xorg and Desktop Eyecandy
BonoLeBonobo writes "Xorg is going to include a new acceleration architecture which will help desktops to have better eye-candy effects thanks to a better XRender, thus composite, acceleration. Developped by Zack Rusin, a KDE and Qt developper, this new feature should be present in Xorg in September. Porting the existing drivers to this new acceleration architecture should be easy."
Double dandy.
Even so,
No girls handy.
Fix your face,
Reveal you're randy.
Burma Shave.
Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
You will be accelerated. Resistance is futile.
This will mean more than simply being able to easily take out possibly unwanted cruft out of X packages (stuff like xcalc, xterm, etc). It will be pretty easy to put just the X server libraries and binaries on one computer and the X protocol libraries and applications that use them on another.
I'm sure you could do that now, but it would require a lot of work.
Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.
I've been looking to change the font on my command line.
Unfortunately, I am not Wil Wheaton
An article about Desktop Eye Candy which has no screen shots to show off said, "Eye Candy"....
Some one find some screen shots or we will have nothing to talk about.
I think its great that X is getting a universal architecture for this sort of stuff, but I'll be disapointed if Rastermann and others dont have some sort of input in this, mainly because DR17 is showing me how *fast* this sort of thing can be (faster than KDE in the case of DR17 and a 2 second boot-time on my AMD 2600+).
As for applications made using the Enlightenment Foundation Libraries.... wow...! Entice is absolutely amazing, totally dynamic and animated, as well as mainly transparent, perfect for an image viewer.
The point is that you don't realise how USEFUL these sort of features are. Why shouldn't menus in an image viewer fade in and out and be semi-transparent? When you use it, it makes perfect sense.
I know there will be people who consider this sort of tech a waste of resources, and it can certainly be abused. However, if it's done properly this type of environment can add a LOT to your user experience.
I suggest you try DR17 to see exactly how impressive this sort of tech can be!
Joseph Farthing
http://josephfarthing.com
... a firefox which would take less than 160 MB of RAM, an Openoffice.org which would take less than 150 MB, an X.org which would take less than 100 MB.
And so on.
.. with hardware acceleration, the NVidia drivers will probably be the first available with the support. Meanwhile the ATI and other FLOSS drivers will implement it about 8 months later.
There are some situations in which sponsored closed software wins every time, and one of those is hardware drivers. When a new API is released, a team of paid developers that know your hardware inside and out (because they work for the company that design it) will do a better job of porting their code quickly, and will be able t o do it much faster.
I don't really care how much slashdot fanboys rant about NVidia, the people who actually use high-end video cards in Linux know the truth - NVidia is and has always been oders of magnitude above the rest.
They can keep the drivers closed till hell freezes over for all I care - they work, they work great, they have more frequent stable updates with bugfixes and new features than any FLOSS drivers I know of.
guess people have weird priorities in the linux world. adding bloat and gimmicks isnt fixing the user friendliness problems.
To hell with the eye candy, why don't they worry about making dual monitor support as easy as it currently is in M$ OS's.
I would much perfer that over more "eyecandy"
Maybe because Xorg still implements the X specification/protocol, version 11, Release 6? Adding eyecandy does not add to or change this at all...
Your sig is mine
that, as X developers said, this is only a temporary solution, so that while Xgl matures we will have hardware alpha compositing in hardware. The final solution will be pushing the entire hardware abstaction layer (OpenGL) under the Xserver, in order to take advantage of the 3D hardware on the desktop too.
Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
Start an X12 already. Why add all this crap to this ancient X11R--what--6? I really don't understand.
I agree. I don't understand all those idiots who have stereos with volume controls that only go up to "10"
Mine goes up to "11", for when I need that extra umph.
On a serious note, X11 remains X11 because its core hasn't changed (or needed to change) in many years. R7 will add some nice features, features some of us have been waiting a long time for, but none of those features requires a redesign of X11 (which goes to show how flexible and well designed X11 is), so there is no need to increment X11 to X12 . . . unless you really are just looking to turn the volume up to "11", or in this case, "12".
The Future of Human Evolution: Autonomy
Actually X.org uses very little memory: it was designed to run in 16MB (or was it 8MB ?).
The memory you see being taken up by the X server can be attributed to several things: a mmaped framebuffer (if you have a 256MB videocard, the reported memory usage of X will include that), and server side shared pixmaps. It is really the applications' fault if this gets out of control.
--
The world is divided in two categories:
those with a loaded gun and those who dig. You dig.
if it's any consolation, the new render acceleration architecture will accelerate desktops with little to no eyecandy, too.
Inconceivable!
They'll only make it X12 if and when they break that compatibility, and they won't do that without a good reason.
There's no requirement that an X12 server be completely incompatible with an X11 server. i.e. The X12 could easily accept commands from an X11 stream. While the X11 server would not be able to understand X12, such issues would be slow in cropping up, and X12 should easily be able to replace X11 long before that happens.
The extension architecture works fine AFAICS, is there an actual problem you have with it?
I can't speak for the parent poster, but my primary issue with current X-Windows is not so much the protocol (which could use a good overhaul anyway), and more the current design of X-Servers. Instead of forcing the OS to do its job, current X-Server designs schlep up video card, mouse, joystick, and other hardware control. The reasons for this design aren't entirely clear, but it is obvious that this is a source of many X-Windows issues. Moving these drivers to the OS level would improve reliability and configurability all around.
Don't take my word for it, however. Mr. Packard has a very good writeup on the issue.
Javascript + Nintendo DSi = DSiCade
The X Consortium shut down in 1996, after declaring X11R6.3. At this point, it's not clear how an accepted X12 standard could be generated, even if people wanted to do so.
What I'm listening to now on Pandora...
This poster has a valid point.
Xorg crashes my machine on switching from X to a text VC.
This bug is well known and serious - all eye candy and other non-essentials should wait until this and other serious bugs are fixed.
Qaulity before features.
If I wanted it the other way around, I know where to buy Windows.
Just because it CAN be done, doesn't mean it should!
if you read the mailing list (I do) you would see that a one part of this is that it is architecture is s simpler. simpler drivers == more stable drivers
development is happening... I assure you
PHP is the solution of choice for relaying mysql errors to web users.
I'd much rather see fonts that don't suck on LCD monitors than eye candy. I can do without shadows and showy effects, but not without clean, clear fonts.
I'm writing this from a machine with a 1600x1200 Dell 2001FP monitor, and an ATI Radeon 9200SE, connected with DVI running X.Org version 6.8.2. I have never, ever been able to get decent fonts with XFree86 or X.org. The fonts are either too jagged without antialiasing, or too blurry with it.
I have wasted hour after hour following various FAQs, playing with antialiasing, autohinting, and subpixel rendering in my ~/.fonts.conf. I have installed the Bitstream Vera fonts. I have sacrificed a goat and done a rain dance. And still, all those fonts look so blurry that I feel like I'm going blind.
Thinking that it was something about the Radeon, I tried an NVidia 5200 with the commercial NVidia drivers. No joy. I've also tried the ATI fglrx drivers for the Radeon. No joy.
Yet when I plug in my Apple Powerbook, OSX makes the fonts clear and legible, so it must be possible to drive the LCD monitor correctly.
http://www.mozilla.org/support/firefox/tips#oth_me mcache
// Specify the amount of memory cache: // -1 = determine dynamically (default), 0 = none, n = memory capacity in kilobytest y", 4096);
// Disable memory cache:
This MAY help
Specify the memory cache usage
Normally, Firefox determines the memory cache usage dynamically based on the amount of available memory. To specify a specific amount of memory cache, add the following code to your user.js file:
user_pref("browser.cache.memory.capaci
To disable the memory cache completely, add the following code:
user_pref("browser.cache.memory.enable", false);
Tone down the frothing-at-the-mouth paranoia a bit, please. I doubt the GP poster was suggesting that the drivers run at ring 0 -- he certainly never suggested such.
/dev anyway.
/dev device hardly equates to proper support via a driver API. I'm beginning to get the impression that most Linux developers really don't see why this was a bad idea from day 1, and that's very unfortunate.
Instead he was just pointing out the pure stupidity of the fact that X Windows itself must handle drivers for video, sound, mouse, and so forth, rather than relying on services exposed by an underlying layer of the OS (which does not have to be running in ring 0). If the OS handled these devices, AS IT SHOULD, any program could make use of them without having to go through X.
Where do you get the notion that the X server takes care of all the input devices? The kernel already provides access to them through
Raw access to a
ZFS: because love is never having to say fsck
/Me offers CoolVibe a glass of ice water
/dev anyway.
:-)
Ok, slow down there buckaroo. Let's go through these points one at a time.
And lose that wonderful cross platform ability and userland protection?
X-Windows' cross platform abilities are inhibited by keeping driver code in the X-Server. Having OS specific code only leads to various build trees for each system, some incompatible. As for userland protection, no one is suggesting that X-Windows itself be moved into the kernel. Just the drivers which run in Ring 0 anyway.
Moving the drivers into the kernel is crazy. It might simplify the X server code, but it will be a bitch to maintain for several operating systems.
Nonsense. It's the Operating System's responsibilty to provide driver services. Shunning those services in favor of a hodgepodge of semi-userland drivers is silly. The X Server should float on top of the Operating System's graphical services, not cram a new driver model down its throat.
Not the whole world wants or does want to run Linux.
Preaching to the choir there. But that still doesn't mean that the X-Server shouldn't do its job correctly. It's not supposed to be a hardware manager, that's the OS's responsibility.
The kernel already provides access to them through
Not quite. Up until recently, the OS only provided raw access to the ports. X was responsible for managing these devices. As time went on (and BSD in particlar pushed back), X was modified to work with system mappings of devices. Unfortunately, X still demands direct control and can often screw up if it doesn't get it, or doesn't understand the device correctly.
Sure, the GFX side uses blitting directly to video ram, but that's what the others do as well. mmap(), memcpy and friends work fast enough from userland anyway.
The GFX side does not blit directly to RAM. X commands are queued up and shunted to the driver as appropriate. This may translate to blits, or it may translate to accelerated graphics commands. There's a major push at the moment to change all X operations over to OpenGL. If this were done, then the X-server would never need to see another blit again. It would simply pass a set of command primitives to the driver, and the video card would do all the work. Quite fast, quite easy, and quite correct.
And don't start about X using sockets to talk to clients, because they have nothing to do with networking
There is nothing wrong with X's networking. That's what it's designed to do. My point only addresses the matter of hardware control which X should not be in the business of. Look at a Sun machine, for example. The card is always in graphics mode, and those modes can be determined on the command line. All the X-Server does is take over the screen and begin drawing. It really doesn't care about the underlying hardware, as it should be.
I understand that you're upset about the old "X is slow" arguments and the like. Unfortunately, you're barking up the wrong tree here. My argument has nothing to do with performance and everything to do with architecture. Should the OS be given back control of the hardware, then it would again be possible to do things like run multiple X-Servers, run video games without X interfering, using graphics mode for the terminal, and other fun and interesting things. All because X would be a client of the OS, not a peer.
Javascript + Nintendo DSi = DSiCade
"porting", "drivers", "new architecture", "easy"...
[blows pitchpipe, clears throat]
One of these things is not like the others,
One of these things just doesn't belong...
Thank you, thank you - I love you all!
Chances are, the folks that are implementing this eye candy and not the ones that could / want to fix bugs - this stuff is pretty parallel, so I don't think these people working on acceleration will prevent others from fixing bugs. -Neil
No you didn't. You said that you tried a few things but completely left out how you tried to go about them. Maybe your attempts were misguided and you missed the obvious solution? If the grandparent used the same method to configure two different operating systems on two different pieces of hardware, maybe he's on to something that you're overlooking.
Just because you're less bad than 19/20 of entrants in a particular contest not related to the subject at hand doesn't mean that you're an expert on this topic.
Dewey, what part of this looks like authorities should be involved?
> Moving the drivers into the kernel is crazy.
It's a fact that graphics cards for many years have required interrupts and DMA to be programmed well, and that is just not something you can do from userspace. Several other things that X does today are at least dubious to do in userspace.
A good graphics driver these days need some sort of help from the kernel, but moving the *entire* driver into ring 0 is indeed a bad idea. The things that can safely and sanely be done from userspace should be.