How to clean up mess after ATI Catalyst Control Center and Gnome Screen resolution tool?
NoOp
glgxg at sbcglobal.net
Tue Feb 17 22:35:38 UTC 2009
On 02/17/2009 10:40 AM, H.S. wrote:
> NoOp wrote:
>> On 02/17/2009 12:41 AM, Matthias Andersson wrote:
>>>
>>> I have the following problem. I wanted to try hooking up the tv and
>>> see if I could get it to work in linux as well as in windows but then
>>> I made a huge mistake, after setting up the resolution using ATI
>>> Catalyst Control Center I then out of old habit set the resolution
>>> using System-Preferences-Screen Resolution.
>>>
>>> This rendered the screen black and now the fglrx-driver refuses to
>>> work. I get the error on startup "Screens found but none have a usable
>>> configuration..."
>>>
>>> How do I clean up this mess and get fglrx working again? I've tried
>>> re-installing fglrx and related packages but to no avail. At startup
>>> I'm forced to choose "Run x in low-graphics mode"
>>
>> Boot using the recovery mode; select the xfix option, then continue to
>> normal boot.
>>
>>
>
> Would this work too?
> 1. Boot normally (but you will not get the login screen)
> 2. Pres CTRL+F1 to get the terminal.
CTRL-ALT-F1
> 3. Login using your admin account username and password.
> 4. Move xorg.conf out of the way using:
> $> sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_bakcup
Note: I think to 'move' xorg.conf out of the way, you'd need to use 'mv'
instead of 'cp':
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf_bakcup
> 5. Restart gdm using:
> $> sudo /etc/init.d/gdm restart
>
> One should then get the login screen back. Not sure if this method still
> works though, in case Ubuntu has done something new and doesn't deal
> with xorg.conf anymore.
>
> If thing do not work out, go back to the terminal (CTRL+F1) and move the
> xorg file back:
> $> sudo cp /etc/X11/xorg.conf_bakcup /etc/X11/xorg.conf
>
> and restart gdm as above.
>
>
That might be a way do do it. But there seems to be some 'magic' in the
new xserver/xorg that I don't fully understand (or ever will?), so I'd
just do xfix. It does create a backup of the previous xorg.conf and
renames it by date - example xorg.conf to xorg.conf.20090217142819. You
can however run it from a terminal:
sudo /usr/share/recovery-mode/options/xfix
it's a shell that basically runs 'dpkg-reconfigure -phigh xserver-xorg':
====
$ cat /usr/share/recovery-mode/options/xfix
#!/bin/sh
if [ "$1" = "test" ]; then
echo "Try to fix X server"
exit 0
fi
whiptail --infobox "The X server reconfiguration is now running. Your
screen may flicker during hardware autodetection." 8 60
sleep 3
dpkg-reconfigure -phigh xserver-xorg
sleep 3
exit 0
====
More information about the ubuntu-users
mailing list