LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-09-2012, 09:45 AM   #1
pigsa
Member
 
Registered: Nov 2003
Location: Hong Kong
Posts: 31
Blog Entries: 1

Rep: Reputation: 15
Question Garbled Screen after Uninstalling fglrx Driver


I have an AMD HD3850 display and use Debian Sid. The recent version of fglrx does not support my card. So I uninstalled anything with fglrx in their name.

X.org could not start then. And after reboot, the display became garbled shortly in the boot sequence ! The booting continues. And the console actually starts. I can login and run reboot command.

I tried to change vga mode the kernel booting command (vga=ask), use the 'recovery mode' added by debian, use single user mode (init 1). The same issue occur.

Note that the screen became garbled before it attempts to run x server. So the issue is irrelevant to x setting. Seems to me either caused by fbdev or dri...

Any suggestion?

Youtube video:
http://youtu.be/zaA_TzMY0Sk

Sorry for the stupid music, I just can't silent it.

[SOLVED] See #5-#7

Last edited by pigsa; 07-10-2012 at 05:46 PM.
 
Old 07-09-2012, 08:25 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,863
Blog Entries: 15

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
You may need to use apt to redownload and install the packages for libmesa, xf86-video-ati, and any other packages that may have been damaged by the proprietary driver.

Is there any way you can use nano to edit /etc/X11/xorg.conf and switch to the vesa driver?

Last edited by ReaperX7; 07-09-2012 at 08:27 PM.
 
Old 07-09-2012, 10:48 PM   #3
pigsa
Member
 
Registered: Nov 2003
Location: Hong Kong
Posts: 31
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Damaged package is one direction of the investigation... But the issue occur not when running X, as I tried single user mode. Actually anyone know what happens after checking the SCO Timer or thermal sensor, as this is the last visible message?

Code:
[ok] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...udevd[348]: unknown key 'SYSFS{i
dVendor}' in /etc/udev/rules.d/51-android.rules:1

udevd[348]: invalid rule '/etc/udev/rules.d/51-android.rules:1'

udevd[348]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/51-android.rules:
2

udevd[348]: invalid rule '/etc/udev/rules.d/51-android.rules:2'

[    5.323157] SP5100 ICO timer: mmio address 0xfec000f8 already in use
[    5.493693] k10temp 0000:00:18.3: unreliable CPU thermal sensor; monitoring d
isabled

Last edited by pigsa; 07-09-2012 at 10:50 PM.
 
Old 07-10-2012, 02:03 AM   #4
pigsa
Member
 
Registered: Nov 2003
Location: Hong Kong
Posts: 31
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Just found this: http://askubuntu.com/q/38920, so it seems after the SP5100 thing, fglrx is loaded.

Any one know what file configure the loading of fglrx at this stage?
 
Old 07-10-2012, 07:31 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Distribution: OpenBSD, Slackware
Posts: 1,225

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Did you download and install fglrx from the .run installer from AMD? Even if you have done this in the past and then installed fglrx from the repos, it will still break the free radeon driver.

The uninstall script is usually in /usr/share/ati/

Try

Code:
# aptitude purge ~nfglrx
Code:
# sh /usr/share/ati/fglrx-uninstall.sh
Code:
# aptitude reinstall libgl1-mesa-dri libdrm-radeon1 libdrm2 xserver-xorg-core xserver-xorg-video-ati xserver-xorg-video-radeon
Get rid of xorg.conf (also check for fglrx related conf files in /usr/share/X11/xorg.conf.d/ and /etc/X11/xorg.conf.d/
Code:
# mv /etc/X11/xorg.conf /etc/X11/xorg.old
Then ensure that radeon is not blacklisted. Check for a blacklist file specific to radeon in /etc/modprobe.d/ and also open /etc/modprobe.d/blacklist.conf and ensure that radeon is not blacklist there.

Next ensure that KMS is enabled, either edit the file /etc/modprobe.d/radeon-kms.conf and ensure that is says "options radeon modeset=1"

Or you can just recreate it as follows
Code:
# echo options radeon modeset=1 > /etc/modprobe.d/radeon-kms.conf
Install the non-free firmware package (contains the radeon microcode)
Code:
# aptitude install firmware-linux-nonfree
Finally reboot.

Last edited by cynwulf; 07-11-2012 at 05:29 AM. Reason: @adamk75 - thanks for spotting that
 
1 members found this post helpful.
Old 07-10-2012, 11:39 AM   #6
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
Quote:
Originally Posted by caravel View Post
Next ensure that KMS is enabled, either edit the file /etc/modprobe.d/radeon-kms.conf and ensure that is says "options radeon modeset=0"

Or you can just recreate it as follows
Code:
# echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
modeset=0 will disable KMS, not enable it.

Adam
 
1 members found this post helpful.
Old 07-10-2012, 05:44 PM   #7
pigsa
Member
 
Registered: Nov 2003
Location: Hong Kong
Posts: 31
Blog Entries: 1

Original Poster
Rep: Reputation: 15
Seemed the key point was

Quote:
Originally Posted by caravel View Post
Then ensure that radeon is not blacklisted. Check for a blacklist file specific to radeon in /etc/modprobe.d/ and also open /etc/modprobe.d/blacklist.conf and ensure that radeon is not blacklist there.

Next ensure that KMS is enabled, either edit the file /etc/modprobe.d/radeon-kms.conf and ensure that is says "options radeon modeset=0"

Or you can just recreate it as follows
Code:
# echo options radeon modeset=0 > /etc/modprobe.d/radeon-kms.conf
After these change, I could pass the boot sequence. Too bad commenting out the line in radeon-kms.conf did not enable/disable the KMS thing.

BTW, I installed fglrx with dpkg and got no fglrx-uninstall.sh. Also, I didn't reinstalled any deb, or did that already.
 
  


Reply

Tags
fglrx, x.org


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] virtual terminal text garbled after startx with fglrx install doomey Slackware 4 09-14-2011 01:02 AM
ATI fglrx driver expands screen size Pakhomov Linux - Hardware 2 10-12-2009 09:01 AM
xorg-driver-fglrx causes garbled screen Wormboy Linux - Software 5 06-17-2009 06:53 AM
ati FGLRX driver white screen with 9700M on FC5 rajmund Linux - Laptop and Netbook 1 08-22-2006 05:36 AM
nvidia display driver on 2.6 mouse sluggish, screen paint garbled jankom Linux - Hardware 5 03-12-2005 12:39 PM


All times are GMT -5. The time now is 08:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration