(For the beginning of the story, see my previous post).
So I continued hacking at the problem last night.
After some testing I discovered a few things:
1. K/Ubuntu Karmic operates without an xorg.conf file. You CAN create one and then it'll use it, but if one does not exist (as is the default) it doesn't load.
2. If I created an xorg.conf file with the automatic fglrx command: aticonfig --initial, X would hang after login - not even responding to ctrl-alt-del - forcing me to perform a physical shutdown.
So, to work we went!
I kind of want an xorg.conf file, because well... I have a graphics card and I want to use it. So I began tinkering with the file a little to see where the problem lied. I had an irritating feeling (discussed in the previous post) that the problem was indeed with the proprietary ATI fglrx driver. So I attempted to define my video device and screen section as the generic "vesa" driver.
No dice - X still hanged on login.
Just to make sure, I again deleted the xorg.conf file completely - and then I /could/ log in (crappy graphics and no sound, but I could).
So I decided to uninstall the fglrx driver and work with the open soruce Radeon driver (which doesn't fully support the Radeon card in my Studio XPS 1640, but it's still better than using the generic vesa X-windows driver).
I did an "apt-get --purge" to all the relevant packages (again, for obvious reasons I didn't copy the exact commands and outputs), installed the open source driver's relevant packages, did an X --configure and (for good measure) recreated the xorg.conf file to point to the proper driver.
X still hanged after login, with exactly the same behaviour.
Deleting the xorg.conf file here too allowed X to load.
Which got me thinking fglrx somehow stuck itself somewhere else (kernel module?) and kept overriding my configurations in xorg.conf. Some digging through the 'net found this page - which solved my problem (the more aggressive method mentioned there, purging both fglrx and the open source driver, and then reinstalling the open source driver).
During this process, seeing as I was messing the hell out of the system, I decided to give Xmonad (about which I've heard lots of good things) a shot. I did, and even though I had to configure and personalize quite the hell out of it to make it work properly - MAN it's a wonderful window manager! I would seriously recommend it to anyone not minding wading through very poorly documented Hasksell configuration files. Seriously, it's worth the effort (more on that perhaps in another post).
So, what did we learn from all of this?
1. The new version of ATI's proprietary graphics driver has SERIOUS issues with Kubuntu Karmic and Dell Studio XPS 1640 laptops. Maybe they'll issue a fix, for now I'm content working with the open source driver (especially since I'm using Xmonad and don't really need 3D window managing to improve my productivity).
2. ATI's proprietary graphics driver needs serious convincing to remove itself from your system.
3. Take more coffee breaks if you don't want to heavily damage your system because of lack of attention (I learned that quite a few times but somehow always repeat the practice).
And now - to do some fine tuning with Xmonad.
What's Hasksell even used for normally?
So I continued hacking at the problem last night.
After some testing I discovered a few things:
1. K/Ubuntu Karmic operates without an xorg.conf file. You CAN create one and then it'll use it, but if one does not exist (as is the default) it doesn't load.
2. If I created an xorg.conf file with the automatic fglrx command: aticonfig --initial, X would hang after login - not even responding to ctrl-alt-del - forcing me to perform a physical shutdown.
So, to work we went!
I kind of want an xorg.conf file, because well... I have a graphics card and I want to use it. So I began tinkering with the file a little to see where the problem lied. I had an irritating feeling (discussed in the previous post) that the problem was indeed with the proprietary ATI fglrx driver. So I attempted to define my video device and screen section as the generic "vesa" driver.
No dice - X still hanged on login.
Just to make sure, I again deleted the xorg.conf file completely - and then I /could/ log in (crappy graphics and no sound, but I could).
So I decided to uninstall the fglrx driver and work with the open soruce Radeon driver (which doesn't fully support the Radeon card in my Studio XPS 1640, but it's still better than using the generic vesa X-windows driver).
I did an "apt-get --purge" to all the relevant packages (again, for obvious reasons I didn't copy the exact commands and outputs), installed the open source driver's relevant packages, did an X --configure and (for good measure) recreated the xorg.conf file to point to the proper driver.
X still hanged after login, with exactly the same behaviour.
Deleting the xorg.conf file here too allowed X to load.
Which got me thinking fglrx somehow stuck itself somewhere else (kernel module?) and kept overriding my configurations in xorg.conf. Some digging through the 'net found this page - which solved my problem (the more aggressive method mentioned there, purging both fglrx and the open source driver, and then reinstalling the open source driver).
During this process, seeing as I was messing the hell out of the system, I decided to give Xmonad (about which I've heard lots of good things) a shot. I did, and even though I had to configure and personalize quite the hell out of it to make it work properly - MAN it's a wonderful window manager! I would seriously recommend it to anyone not minding wading through very poorly documented Hasksell configuration files. Seriously, it's worth the effort (more on that perhaps in another post).
So, what did we learn from all of this?
1. The new version of ATI's proprietary graphics driver has SERIOUS issues with Kubuntu Karmic and Dell Studio XPS 1640 laptops. Maybe they'll issue a fix, for now I'm content working with the open source driver (especially since I'm using Xmonad and don't really need 3D window managing to improve my productivity).
2. ATI's proprietary graphics driver needs serious convincing to remove itself from your system.
3. Take more coffee breaks if you don't want to heavily damage your system because of lack of attention (I learned that quite a few times but somehow always repeat the practice).
And now - to do some fine tuning with Xmonad.
What's Hasksell even used for normally?