Debian Sid Moves to X.Org
debiansid writes "Yes, Debian sid finally has X.Org. The Changelogs suggest that some work has been taken from the Ubuntu packages of X.Org. Here is an
article that gives details on how to migrate to X.Org on sid. This article, by the way, has been posted from an X.Org based X-Window System, and it really IS much faster than XFree86."
This article, by the way, has been posted from an X.Org based X-Window System, and it really IS much faster than XFree86."
Last I checked, the only difference between the two was the license and a couple of new drivers. Certainly nothing to explain a "much faster" performance. Perhaps you could explain to us in a little more detail, how your's is "much faster"? Does it have anything to do with the fact that you are using it on a newer and more powerful machine?
Ubuntu changelogs suggest some work was taken from Debian as well.
I hope to die peacefully in my sleep like grandpa, not screaming like his passengers.
They're using "fglrx" drivers from ATI instead of the default 2d "ati" drivers :)
But what do I know, it only quadrupled my framerate in OpenGL apps. So all it comes down to, is probably much newer or more complete video drivers.
" What luck for rulers that men do not think" - Adolf Hitler
One complication to the upgrade not really covered here (I wrote that article) is the simultaneous C++ ABI transition Debian Unstable is going through.
This means that upgrading might cause you to loose a lot of packages like gdm, etc.
So if you try the upgrade and apt-get, or aptitude demand you remove lots of packages then the reason is the C++ ABI change - and if you simply wait a few days/weeks it should resolve itself.
At the time the article was posted things were less bad.
party like its 1999
Yesterday I upgraded, answered two questions or so.
;)
And today I boot my system, and all of the sudden I see Xorg in the process list, I completely forgot I switched!
Even tough the packages have common roots, I still think it's impressive, the way it should be.
Go Debian
It's about time Sid gave me something interesting. So whats unstable now?
Why UNIX?
Yesterday, I was having headaches updating something because Debian was again in motion and not all libjack packages had been recompiled to 0.100 yet. Among other things, libsdl1.2-dev was somehow suffering from this. I wanted to upgrade that package, but it depended on something called libglu1-xorg-dev. At which point I got worried...
apt-get search shows "xserver-xorg".
My first reaction was along the lines of "Well, as they might say, the End is Nigh" and the second thought was "wonder if anyone has a migration guide?"
Thanks for answering the second bit, I was already wondering why Slashdot hasn't noted this. I mean, I'm guessing I'm getting old if I find out the cool stuff before it gets posted =)
I am running Debian (PPC) on my Mac Mini which has a 32 MB ATI Radeon video (with DVI output.) If I switch to X.org (which I am using with Slackware on my laptops,) is the support of my radeon going to be enhanced, or is this just about the license?
Powered by caffeine and sugar; BSD
Woody: Reach for the X.org!
Sid Phillips: Huh?
Woody: This system ain't big enough for the two of us!
Sid Phillips: What?
Woody: Somebody's poisoned the XFree86!
Sid Phillips: It's busted.
Woody: Who are you calling busted, Buster?
Sid Phillips: Huh?
(Toy story)
Guy asked me for a quarter for a cup of coffee. So I bit him.
I realize I'm about to open a potential can of worms, but I really must know. I'm not that experienced with X, other than using GNOME or KDE. What are the pros and cons between XFree86 and X.Org? I think most of the boxen I've used were XFree86 based, and I am uncertain whether I have ever used one based on X.Org.
#define CLUE 0
cool news, but it doesn't seem to be in Etch just yet.
....and on the same day I finally switched to Ubuntu. First time I read /. after installing Ubuntu, I see this! Typical. :-)
Six sick
What? Why do I have to log out? Because it takes far too much of the CPU power I have.
Waits 30 more seconds for Debian to start...
THERE! LOOK! IT'S REAL TIME TRANSPARENCY! WOW! ISN'T IT AWESOME?!?!
Me: No. No, it isn't. In fact, I can't see a difference between KDE 3.4.1 with X.Org and KDE 3.1 with XFree86. ^^^ That was an exaggerated dialogue between my friend and I when he was showing me some useless visual effects on Gentoo with X.Org.
Note to author: the usage of "moves" is ambiguous in title. It is unclear, from context alone, if it is being used as a transitive or intransitive verb.
USE KOMPRESSOR GRAMMATIK!
They want their petrol based internal combustion engine back...
Douglas P. Price
X.Org supports accellerated dualhead with driver radeon(4) with pseudo-xinerama (mergedfb). XFree86, forget about it. And with just single head, using same driver.. Enemy Territory is now playable, was not in XFree86 and forced r200 ATi users to ATi propietary Closed Source. I'd say this is a major improvement. Forget about Composite extension, it's still EXPERIMENTAL in 6.8.2.
So... anyone yet tried how well this works with the NVIDIA drivers (specifically, using Debian's own nvidia packages - nvidia-glx and nvidia-kernel-source through make-kpkg)?
Anyone tried yet? How's things?
Applications can be broken for all I care, but I need my OpenGL =)
I have been using X.org for almost a year, and it works rock solid. It is MUCH faster than Xfree, and Debian still starts fairly quickly (X.org didn't lengthen the startup time at all).
As for the special effects: wrong, wrong, wrong. OSX shows how these effects can be useful. Also, the transition to a GL desktop will most likely be implemented in a new version of X.org which merges with Packard's work. A GL desktop actually helps the CPU by taking away the task of drawing stuff from it and having the GPU do it, which is the logical thing to do.
But I know, anything else than crude blitting is l4m3, hard core spartan X11 is l33t. Yeah....
This sig does not contain any SCO code.
with all the good work on tranparancy, and nice effects, i'm still missing one big under-the-hood change: use something like DRM/DRI for all 2d graphics too! (similar to directfb, windows, maxosX, etc)
Currently there are hundreds of context-switches between the x-server and your applications just to draw things. Windows doens't have that (since w2k anyways) and it increased windows' graphics performance quite some bit. MacOS has quartz extreme 2d now, and it increased their performance. This really slows things down. :-(
I think before more fancy effects are added that only make the whole thing slower are added, these under-the-hood optimizations should be done!
Sure Gentoo switched a while ago, but everyone is still compiling it so no one is actually using it yet.
I run debian _unstable_ (because IDGAF) and have had that xorg stuff running for quite some time now. I wouldn't say It's faster but it didn't bitch more then XFree86 during/after installation. As a matter of fact /etc/X11/xorg.conf and /etc/X11/XF86config-4 look exactly the same.
Linus, RMS, ESR, Icaza ...
Sure Gentoo switched a while ago, but everyone is still compiling it so no one is actually using it yet.
Very funny. Actually, X.Org recompiles aren't too bad (and yes, Gentoo does use it by default, as does Mandrake Linux or whatever it's called these days). The real killer is stuff like KDE - multi-day compile times, anyone?
server seems to be slashdotted and this doesn't get it yet (for me)... anyone got a mirror?
SURELY NOT!!!!!
I am using a notebook, so, anyone have experience using X.org with synaptics (i.e. the driver for touchpad in notebook)?
My XFree86 works very well with synaptics indeed.
http://www.ieaa.org/~adrian/
It seems like you have cracked your deadlock which was more or less Sarge release (of coarse lot of Debianists will claim that it was just how it was to be - and I partly agree with them). There are lot of things will change in Debian soon - as Mandrake and co are planning to weight in with creation of enteprise level distro based on it and lot of development which was held back after Sarge release is really happening now - and I excited to see my second favorite distro to move forward faster and faster.
user@ubuntubox:~$ stfu This server is going down for shutdown NOW!
And x.org CVS under Gentoo has VIA Unichrome support, so my Mini-ITX box is happy. I guess Debian stable will get it in 2009, or so ...
I did the upgrade last week, and it's been no problem at all. I've had to hold back xbase-clients and xutils because they want to pull in libgluc2 (with the new C++ ABI), and I have software that uses the old stuff, but the vast majority of it is running X.org.
Runs real sweet, too.
No problems on a laptop or 4 desktops. Just use aptitude and hold back anything that causes conflicts.
Oh, and I didn't make any safety backups at all. Crazy me.
Take a look at the jump in the number of release-critical bugs! Is this all related to X.org or is there some other major change in the works?
This is the Mirror.dot version
only one thing needs to be said: finally!
Posted by Steve in the Debian section on Wed 13 Jul 2005 at 17:10
Debian has now made the transition to the X.org installation of the X11 Window system. If you're running sid/etch you should be able to upgrade now.
The transition had previously been on hold until Sarge was released - as it was judged too major a change to add to the release at the last minute.
Now Sarge is out Debian development continues and one of the most anticipated changes is upon us. (Other changes are also occurring such as the C++ ABI upgrade).
Before starting the upgrade to X.org it's important to do two things:
The backup can be something as simple as running:
cp -R /etc/X11 /etc/X11-old
The upgrade will attempt to automatically migrate your XFree86 configuration file to /etc/X11/xorg.conf, and in my case worked perfectly. Still better safe than sorry!
Once you've done those two things you should be ready to proceed. As always the first thing to do is update your list of available packages:
apt-get update
If you wish you can use aptitude instead, I know that I should promote that more.
With that out of the way the installation is started by running:
apt-get install xserver-xorg
This gave me the following output:
The following extra packages will be installed: libxau6 libxdmcp6 lsb-base x11-common xfree86-common xserver-common Suggested packages: configlet-frontends libglide2 Recommended packages: mdetect xresprobe The following packages will be REMOVED: xserver-xfree86 The following NEW packages will be installed: libxau6 libxdmcp6 lsb-base x11-common xserver-xorg The following packages will be upgraded: xfree86-common xserver-common 2 upgraded, 5 newly installed, 1 to remove and 14 not upgraded. Need to get 7437kB of archives.
As you can see the xserver-xfree86 package is scheduled for removal, as the two conflict.
After downloading the packages from the network you'll be asked which server you wish to run by default by debconf. Choose the xserver-org - as the other server will be removed.
That was literally all I had to do. There were several messages displayed about migrating the server's configuration which appeared to be completely successful:
xserver-xorg config warning: migrating xserver-xfree86 templates to xserver-xorg.
Other diagnostic messages also seemed to indicate the upgrade was occuring without any problems:
Adding system startup for /etc/init.d/x11-common ... /etc/rcS.d/S70x11-common -> ../init.d/x11-common
update-rc.d: /etc/init.d/xfree86-common exists during rc.d purge (continuing)
Removing any system startup links for /etc/init.d/xfree86-common ... /etc/rcS.d/S70xfree86-common
At this point the upgrade was complete, and the only thing left to do was to stop the currently running old installation of xserver-xfree86. The quick way to do this would be to simply reboot, although I wanted to do it manually to make sure it worked as expected.
I use the IceWM window manager with the gnome display manager handling the logins - so to stop X I ran:
This step will differ if you're using KDE, in which case you'll need to use "/etc/init.d/kdm stop". If you're using another login manager such as wdm,
The real killer is stuff like KDE - multi-day compile times, anyone?
Same here under FreeBSD. Qt/KDE recompiles are a huge time sink of a regular portupgrade -a run; esp. on mini-ITX. Same for firefox/mozilla/thunderbird updates! Worse is only a complete GNOME upgrade (yikes!).
But seriously, gcc sucks big time (speedwise) when compiling C++ code like Qt or KDE or Mozilla. Absolutely rock bottom performance. One ought to force GCC developers to use only slower (.le. 500 Mhz) CPUs for a while, so that they'll learn to value fast compile times for a change. :-(
cpghost at Cordula's Web.
The changes has broken the experimental packages of KDE 3.4.1 on Alioth because of unfulfilled dependencies.
If you use those packages you should hold off with this upgrade for a while as it will cause many of the core KDE packages to uninstall breaking KDE completely.
but none will do this now, as the whole desktop is moving towards something completely D3/OpenGL based, like Xgl, so the problem does not exist anymore.
Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
This is going OT, but multi day compiles of KDE are actually a thing of the past.
Nowadays Gentoo encourages the use of split ebuilds that make for a much more efficient and less bloated desktop, not to mention faster compile times, since only explicitly requested stuff gets compiled and installed.
Gentoo KDE Split EBuilds HOWTO
Hack your mind out of its sandbox.
What do you mean sid only now runs X.org?
:)
My sid has been running x.org for a good 6 months
Roses are red
Violets are blue
In Soviet Russia
Poems write you!
This means I can stop using Debuntu! (debian with some ubuntu thrown in) Thanks Debian X strike force!
CowboyHat linux (the distro named after Cowboy Neal and his wife Red Hat) and Fedora have had this for ages. What's the big deal?
I have debian sid installed with Xfree still without issue. I've always just installed the nvidia binaries from their site with no problems. I also wanted to check out ubuntu and installed it and still have no issues with nvidia binaries, not a single crash/lockup.
/. Maybe one of you have dealt with the problem and actually solved it.
However, a lot of people seem to have this dreaded X lockup with nvidia binaries, and just about all of them were using Xorg. This can either be a complete freeze, or the pointer still moving but nothing is responsive. Usually you can still kill X but not always. This has also happened to my brother who was frustrated with mandrake and packages, so I recommended ubuntu to him. I went over to his house installed it and everything seemed fine. Then he had a lock up an hour in. Then another. The weird thing is, it doesn't usually happen during playing say an opengl game, but usually on the desktop by just moving the pointer quickly.
He never had these issues with mandrake 10. I installed various versions of the nvidia binary including the one he used to use with mandrake but all the same. I looked at the specs of mdk 10 (2.6.3 Xfree86). I'm not sure if it's a kernel issue, Xfree, or some other thing like (apci or apm?)
The logs give an error (i believe nvrm xid error) but nothing that would lead one to a solution.
Please don't reply to this saying this isn't a tech support forum. I've searched many forums trying to help my brother. At nvnews.net there are a couple of threads that go on for about 20 pages with many users having this problem with no solution in sight. I just thought I'd take a stab at the
It turns out the x11-xorg glu library is not really affected by the C++ ABI transition (glu has a C-only API but uses C++ internally). My advice : wait until updated packages are there.
Well if your really intrested. I compiled KDE 3.3 in 4 days with make -j 3 . (of course that's only the base system and not all the packages and of course all the optimization flags for my CPU cranked)
That's of course on a Dual Pentium Pro. I compiled it and ran it for 3 days then got over it and went to windowmaker. I only compiled it for fun.
Now that machine sits headless in the corner folding protiens and hosting my crummy website
Solosoft.org - Your Online Resource to Nothing
It appears to me that your experience iwth Debian has ended 3 years ago. Programs get updated and made better. Even so, some prejudices persist, and people choose not to use the system. That's OK. But there are those that choose to stay and make the system better for everyone. It is on this principle that all of GNU/Linux is based. And if you choose to discourage people from upholding this principle, then no matter what distribution you use, and even no matter what operating system you use, you are not understanding the significance of freedom.
Yes, I too upgraded to X.org, specifically to get the DynamicCLocks feature working on my Thinkpad T42p to increase battery life and reduce heat on the GPU.
Unfortunately, installing X.org, and JUST X.org, required the removal of 526 packages from my system (yes, exactly 547 packages, which you can see here, sorted alphabetically).
This included all of GNOME, themes, widgets, applets, all of KDE and related packages, pose (the Palm OS Emulator) and its foundation lib FLTK, abiword, OpenOffice.org, and hundreds of other packages.
After installing X.org back on, I was able to install about 100 of those packages back onboard, but now there's a nice diversion between the two xlib versions. I can't install Abiword for example, without pulling out gaim, gedit, gnome-core, and a few other libraries. Its like this with about 300 of the packages I had onboard before. pose won't install because it requires libfltk, and libfltk requires htmldoc. Installing htmldoc requires libfltk (another circular dependency).
This reminds me of the pain we went through with the libc5 => libc6 migration, except now we have the gcc4 ABI change and X.org breaking everything that uses a colored pixel.
Nice... it'll be a few months before its all sorted out, no-doubt.
The new hand-written recursive descent parser added in 3.4 improved performance a fair bit (making 3.4 the fastest g++ version ever as of the release they claim). The performance for compiling without optimization was improved even more in 4.0. For Gentoo users and other OCD-level recompilers it might not matter, but it does help developers everywhere. This is what I would personally call the place where it matters, end users that obsess over recompiling stuff themselves for no reason can wait.
It is overall a general consensus among gcc developers that performance should be improved. Don't expect C-level compilation speeds from C++ though, it is a heavy language to compile by nature. This keeps getting worse with the increasing prevalence of extreme template metaprogramming libraries like Boost, to a great part in meaningless areas in a quest for performance that will never matter or materialize (I don't claim that Boost or template metaprogramming is a bad thing, just that people obsessivly use it in places where normal coding practices would do just as well except for imagined performance/purity issues).
I switched distro's every two years on average until I found Debian. Nearly 4 years later, I'm still impressed by it's package management.
"It's too bad that stupidity isn't painful." - Anton LaVey
Why the hell do you compile code on a 'mini-ITX'. Learn something about embedded hardware. You get it compiled OFF the box by yourself or by someone else. When necessary, you crosscompile. Or did you think NetBSD is compiled on the hardware it runs on? Ofcourse not, is all done via crosscompiles on fast machines -- for a reason.
If you want faster C++ code, try diff compiler (version), use prelinking (faster C++ code _execution_), or just compile on a faster box.
I ran into this when migrating from the xfree86 to the xorg server in sid:
2 8708
http://www.nvnews.net/vbulletin/showthread.php?t=
I know I shouldn't use /. as a technical forum but I'm going to anyhow. A few days ago I upgraded to x.org in debian and it discovered my on board video card as a trident compatible just fine. But when x.org started all I got was a white screen and my virtual terminals went hay wire. So I rolled back to xfree86 which continued to work. Has asyone else had this problem. Has it been corrected?
Thanks
Unfortunately there are lots of reasons why it could be going wrong.
Honestly the best thing you can do is to post to the nv forum and then send a message to NVidia themselves (see the "CONTACTING US" part of the README that came with the drivers). You may well have hit a genuine problem (Which only NVidia will be able to confirm) but you don't provide enough information - (which card? What were you doing at the time? Were there any Xids? The list goes on and on). *Don't post the reply to those questions here* though - go to NVidia. That way you can skip the speculation. Good luck.
So debian folk is moving to X.Org? Yawn... I had it on my machine for a year already. Glad you crawled from under that rock of yours.
"Long run is a misleading guide to current affairs. In the long run we are all dead." (John Maynard Keynes)
I did the X.org upgrade in Debian today and everything went smooth, except xinput, which is no longer working for me, Gimp doesn't show the devices (graphic tablet) at all and xinput shows them, but fails to read from them:
$ xinput test gstylus
X Error of failed request: BadDevice, invalid or uninitialized input device
Major opcode of failed request: 150 (XInputExtension)
Minor opcode of failed request: 3 (X_OpenDevice)
Serial number of failed request: 11
Current serial number in output stream: 11
Does anybody know what is wrong?
Slackware has had X.org since 10.0 came out over a year ago.
I've tested w/ a GeForce FX 5200 and an ATI Radeon 9200SE, and both worked fine (@ 1920x1440@75hz on 21" Sony E540), although I had to install nvidia drivers for the GeForce (but not for the radeon), all went with minimal hassle.
the only permanence in existence, is the impermanence of existence.
I built a Sid partition on this laptop to try out Xorg. Quite well done! Easiest X install this side of KNOPPIX. Also the Sarge installer was top notch as well. The only problem I've seen is that the kde package depends on an older library provided by MESA and that conflicts with a newer one installed with xorg.
So, to install kde I must uninstall xorg, or thereabouts. At least that's the impression I'm getting from Aptitude. Ah well, I'll give it some time to sort out.
"Insanity is doing the same thing over again expecting a different result."
I switched from Debian to Gentoo over a year ago and I am currently running Gentoo.
My advice: DO NOT use Gentoo. I thought Debian unstable updates were a pain (things breaking, packages not ready yet, etc.), but I tried upgrading a pretty average Gentoo installation and nearly half of the programs I used everyday stopped working.
I plan on switching back to Debian ASAP, but I really need x.org, so I've been putting it off until this (great) news comes along.
True story.
In reverse order, 2 of those people are idiots, 1 of them a bearded whacko but still cool, and the other... Well, I got nothing against Linus.
But Debian is still the best Linux IMHO.
I still can't get my ATI x700 to come up on Gnome/Xorg in Ubuntu. But Mandiva and XFree86 comes up no problem. bleh. -Rick
"Most people in the U.S. wouldn't know they live in a tyrannical state if it walked up and grabbed their junk." - MyFirs
With x.org running and the savage DRI drivers from dri.freedesktop.org, I can finally get opengl acceleration on my laptop (a 3 year-old Toshiba with Savage 16 MB graphics chip). I'm not really into games, so that was never a big deal for me. But it is nice for messing around with here and there. Also, I have noticed that firefox scrolling performance is better with x.org, there is no tearing when scrolling slashdot. And that's what it's all about! :)
For those trying to get opengl running, glxinfo
is your friend. If it says "direct rendering: Yes" then you have hardware accelerated opengl.
If it says "no", you don't.
You can also run glxgears and look at the fps
counts. Mine jumped from 100-160 fps to
around 300 fps with hardware acceleration.
-Rob
and will be in the stable distribution ... well.. in about 50 years.. no? :-)
If you aren't using Translate, your pixel/poly ops will not align correctly with point and line ops (see appendix H of your red book) - this can be seen in certain Accolate products :P
Aah, so the GPU is now responsible for system heap allocation. Glad to know a non-local processor is handling memory allocation. This still involves considerable CPU intervention, especially with the allocation and management of these 1.5-only objects. When you're updating verticies, what do you think is happening? Some magical GPU prediction of your next update? This all still has to be processed by the OpenGL pipeline, which is deep and complex and interlaced with both CPU and GPU interactions (Read the Apple Developer Guide).
Also, consider this: While your OS is bloating up the video memory, what's happening to your 3D applications? They don't mind that suddenly you have half the texture memory, or that something is consuming GPU time?
To quote Dave Haynie, even crappy architecture is fast when run at 200mhz. I haven't seen anything that ISN'T fast-looking lately. Especially since Dave's 200mhz is now more like 2000mhz. However, the magic is in not using up all the resources _before_ the application starts. My old Amiga 1200 could boot up in seven seconds (including POST) off of a generous 12-meg partition, and surf the web while running multiscreen IRC sessions and a few FTP clients, with 2 megs of video ram and 4 megs of fast ram. I'm just waiting for the next version of Windows/MacOSX/Redhat to announce memory requirements that cannot be handled by a 32-bit addressing range.
2D blit setup is less than trivial unless there's overlapping regions, and then it's just _trivial_. Integer conversions are also less than trivial, bit ops are sub-cycle for a processor, and sub-sub-cycle for a proper blitter. Floating-to-integer conversions are much less trivial, as floats are more complex and totally incompatible with integers, and require serialized operations (you cannot shift the mantissa until you've extracted and subtracted the exponent down to it's real level, whereas you can extract all four color components and recombine them in an orderless manner (r|g|b is equal to b|g|r which is equal to r|b|g which is..) ) which will not take advantage of modern pipelined _anything_.
Quoting from Apple, "In OpenGL, there are several obvious and other not-so-obvious ways to cause either the CPU or GPU to stall on the other." ... I'm complicating it because it is complicated, and complicated = evil in computing. See above regarding "Fast".
This ATI Charger 512 does not support ANY of that (nor blitting for that matter), and this Rage II here only has the basic rasterization. I don't really know the specs for this S3 Trio64, but I doubt it's more than basic rasterization too, and rather slow rasterization at that. Also see the