Blank screen when loading fglrx ATI drivers on Debian
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Purdue University - West Lafayette, Indiana
Posts: 5
Rep:
Blank screen when loading fglrx ATI drivers on Debian
Hello,
This is my first post, so I'll try to make it a good one.
I have been having many frustrations trying to get 3D hardware support working with Debian.
I have an ATI 9800 Pro video card that I'm running on my P4/1.8Ghz (Gateway) motherboard.
I am using a Gateway FPD1800 flat panel display as my primary, and I have a Compaq S710 as my secondary. So far I have been just trying to get my FPD working, so I'm haven't tried any of the dual monitor configurations quite yet.
I started out running Debian 3.1 with kernel 2.4... I tried to install the drivers that I found from the ATI website, but after some errors I realized that I needed to install the kernel headers for my version of Debian using apt-get or Synaptic. After doing that, I had no problem installing and configuring the drivers for my system. The problem came when I tried to reboot. This is what happened:
Everything seemed to be working fine, until gde started up. Then my monitor looked like it was changing video modes for a second. After that, it took me back to the boot screen, where it displayed a console prompting me to log in. After about 1.5 seconds, the screen then looked like it was changing video modes again, but this time it gave me a completely blank screen without a cursor or anything. It remained to hang there, unresponsive to the keyboard.
I began to investigate the problem. After becoming very familiar with my /etc/X11/XF86Config-4 file, I discovered that this behavior follows when I load the "fglrx" module, even with the default settings. I had read some forum posts where a person had problems with getting fglrx to work with kernel 2.4, but they said they were able to get it working with 2.6, so I downloaded the latest kernel from kernel.org and followed one of the many online tutorials to get it compiled. After some frustrations with that task, I also discovered that I could have just used the apt-get to update my kernel to 2.6 on Debian. Since I was having problems loading certain modules with the kernel I compiled, I just used apt-get and installed that version. After updating the kernel and booting up onto it, everything apeared to be working fine. I thought I would try running the installer I downloaded from the ATI site again. I, once again, followed all the steps, and configured everything to default settings. So I rebooted to see what would happen. Guess what.
After all that, there was absolutely no change. Same exact problem.
This makes me think it has something to do with the /etc/X11/XF86Config-4 file. But this is confusing because I have tried many variations and gotten this file pretty close to my exact hardware, but I only get problems when I load the "fglrx" module.
Any clues???
P.S.
Just to give you a recap of my system:
I have an ATI 9800 Pro video card that I'm running on my P4/1.8Ghz (Gateway) motherboard.
I am using a Gateway FPD1800 flat panel display as my primary, and I have a Compaq S710 as my secondary. So far I have been just trying to get my FPD working, so I'm haven't tried any of the dual monitor configurations quite yet.
I am running Debian 3.1 with kernel version 2.6...
my clue is that fglrx drivers from ATI suck..the "official" drivers are BAD, in my opinion, and generally ATI cards are a problem when used with Linux. nVidia works fine (though some newer cards tend to have problems, I've heard), but I haven't heard any single happy story about ATI and 3d. 2d drivers work of course, and I mean the ones that do not come from ATI but with a normal Linux installation.
if you really really want 3d, I suggest you go buy an nVidia card (and make sure before buying that it works, since some new cards might not, as I said). they don't cost _that_ much if you _really_ want 3d. and if you don't need it that much, I'd advice starting to study (driver) programming - ATI probably will not help you.
Location: Purdue University - West Lafayette, Indiana
Posts: 5
Original Poster
Rep:
Quite a few people have posted their problems with ATI video drivers, but a majority of the ones I read eventually resolved their problems. It's true that the drivers might not be good, but their all I've got.
Considering the amount of money I've invested in my nice video card, purchasing another one is not an option. Also, I might be able to program, but developing my own drivers for my own video card would take way too much time.
Especially if my problem has to do with some config file not having a flag set correctly...
Well, let me be the first one you have heard say positive things then. I know in the past the ATI drivers for linux weren't well documented and were massively picky. But when I did a fresh install over the weekend of SuSE 10, I was pleasently surprised to see a new file on ATI's website, new install instructions. And this time they lead your through checking to verify everything you need enabled first, is working before you install the drivers and have issues. And it worked perfectly. They tell you how to setup and then run,and then test for POSIX shared memory, that the Kernel Source you need itt you current Linux Kernel source, and where it checks for it, How to set and test for the proper AGPGART.
I won't lie and say it should be that way, al of it should be able to be done automatically, nvidia obviously does. But the fact is, if you follow their instructions, the new ones, and you do it all step by step, not saying, I have that and skipping anything. They will work.
Location: Purdue University - West Lafayette, Indiana
Posts: 5
Original Poster
Rep:
Well, I have meticulously followed the ATI instructions and arrived at the same point. Since a lot of people are having problems with the drivers, and I think no one wants to bother with my problem, I'll just use this thread to document my problem and my progress towards solving it.
I at first looked at the other posts on LinuxQuestions. http://www.linuxquestions.org/questi...k+screen+fglrx
In this thread, compiling a new kernel helped them out, but I did the same and it didn't seem to change anything or give me any different results...
...
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xe8d9d000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xe8000000 FBMappedSize: 0x00701000
(II)fglrx(0): FBMM initialized for area (0,0)-(1280,1434)
...
In fact, there appeared to be no problems at all in the log file with the exception of this line:
Code:
...
(II) Primary Device is: PCI 01:00:0
(II) ATI Proprietary Linux Driver Version Identifier:8.18.6
(II) ATI Proprietary Linux Driver Release Identifier: LGDr8.18g1
(II) ATI Proprietary Linux Driver Build Date: Oct 11 2005 11:02:10
(II) ATI Proprietary Linux Driver Build Information: autobuild-rel-r6-8.18.1-driver-lnx-218592
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset RADEON 9800 PRO (R350 4E48) found
(II) resource ranges after xf86ClaimFixedResources() call:
...
...but changing the "UseInternalAGPGART" value didn't change anything...
I tried using the default monitor layout and dual head configurations. I only have 640Megs of RAM, so that shouldn't be a problem.
I'm going to continue to look, but I'm starting to run out of ideas...any help/ideas/directions would be more than welcome...
Which XFree version are you running, from the debian site, it appears it may be XFree86 4.1?
Okay, then you have Kernel 2.6, is this 2.6.14?
And you know for sure you have the Linux Kernel Source installed(you kept it after upgrading the kernel, right?)
Posix shared memory is working, AGPGART is set to intel and should be working, you still have the source. Did you use the Xfree86 4.3 rpm as your download of choice(aka not 4.1 or 4.2 or XOrg 6.8)?
I'll assume you did as you said it seemed to be working at first. Okay, so then you did the ./run-yadayadayada, and ran the fglrx command in the terminal, did you choose all default options, or did you change some?
That glibc line has me a touch worried... can alien check for install rpms the same way as other package managers? Because that would mean typing "alien -q glibc" should be fine for checking for proper glibc versions(2.2 or 2.3 only). If it cannot, you will need to find out if you have glibc, and which version you might have another way.
I followed the instructions at the following website ( http://serios.net/content/debian/ati/ ) and got my 9600XT working with debian 3.1 with the 2.6.8 kernel in about 15 minutes. Hope this helps!!
Location: Purdue University - West Lafayette, Indiana
Posts: 5
Original Poster
Rep:
Success!!
I followed the link that Rollinco sent me to. There was one thing that they did that I hadn't.
They ran the ATI installation, then they ran this command as root:
This made a dialog box pop up, where I manually selected "fglrx" as my video driver. I had to select a few other options, and then I ran the "fglrxconfig" command as root. After following those instructions, I rebooted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.