Little problem building kernel
I am running Slackware 13 and I want to downgrade the kernel. Downgrade why do that? because i want to be able to run the ATI drivers for my video card and they will not work on the 2.6.29 kernel. I decided to use the 2.6.27.43 kernel. I have built the kernel and set up lilo. At first I had a common and I needed to build an intrid.gz. I have done this now another problem surfaces.
This is the problem Code:
initrd.gz Loading kernel modules for initrd.gz: This is my lilo.conf Code:
# LILO configuration file Thank You, Shawn |
Catalyst 9.11 or 12 builds nicely on 2.6.29.6, so by your post we'll have to assume you have a graphics card that is no longer supported and you need to use catalyst 9.3?
Someone else tried this but I'm not sure if they reported any success. It might be such that you cannot go back that far, I don't know. One solution is to use slackware 12.2 and then increase kernel to one that works for catalyst 9.3 if the stock doesn't (I can't remember). But as you've already gone this far, give it a try. Compile the kernel with what you need built in for booting. This way you don't need initrd. If you boot slackware13 with the smp generic kernel that comes with slackware (assumes you have a functioning initrd otherwise try huge kernel), make note of ide or sata lines. Then when configuring kernel build (make menuconfig or make gconfig or make xconfig) choose corresponding entries in ide and sata part. If using sata, I think you still need to enable scsi-disk under scsi part. Also be sure to build in file operating systems for your hd (ext2, ext3, ext4, jfs, xfs...etc). That way you shouldn't get kernel panic. You might also consider the open source drivers which are supposed to be in good shape including with 3d acceleration for earlier gpus. Post your results to help others because for people with ATI gpus prior to HD series (r100-r500 probably) this will be a recurring problem. Slackware folks might want to offer an additional kernel in extra just for this problem if the open source drivers are not adequate. |
You are correct I need the 9.3 drivers since it is a radeon xpress card. The open drivers I have installed are not enough to do what I need them to do. They work ok but they seem to crash a lot. I used the kernel config file from the generic slackware kernel when I built the new one and I would have though they had those in since this kernel works. I will take a look and see exactly what they did though.
|
I should have pointed out one more thing. After booting with functioning setup, issue lspci as root. Then note relevant entries such as pci bridge. If this is ati sb700, you'll want the atiixp. In the kernel config that is:
Device Drivers -> ATA/ATAPI... -> ATI IXP chipset SCSI... scsi device support SCSI scsi disk support SCSI scsi generic support Serial ATA SATA ACPI Serial ATA SATA Port Multiplier Serial ATA AHCI SATA Serial ATA -> ATA SFF Support Serial ATA -> ATA SFF Support ->AMD/NVIDIA PATA Serial ATA -> ATA SFF Support ->ATI PATA Serial ATA -> ATA SFF Support ->Generic PATA Device Drivers -> Graphics support -> /dev/agpgart (M) (module) Device Drivers -> Graphics support -> Direct Rendering N (NO) Device Drivers -> Graphics support -> Support for frame buffers (Y) but make sure all FBs under it are unchecked or say N or NO. File Systems -> Second Extended File Systems -> EXT3 File Systems -> The Extended 4 (if you use this) File Systems -> others you use (xfs, jfs, reiserfs) This is obviously only partially useful for kernel config. The above worked for me, in those areas, but your hardware is likely different and you may need to adjust. This is also from my fairly recent config and 2.6.27.xx might not be exactly the same but this should give an idea. |
Xpress? Is this the express 1200 or 1250 or X1200 or X1250?
Slackware comes with fairly recent mesa, drm, radeon, and radeonhd drivers which might work OK for these. Backup your xorg.conf and try this Code:
Section "ServerLayout" |
AuroraZero, you will also have to downgrade all of Xorg if you really want to stick with the catalyst drivers, and doing that is just asking for problems. If you must stick with catalyst, use an older distribution. Honestly, though, I would spend more time trying to get the radeon drivers working properly than I would on getting fglrx running.
Adam |
Provide some more info.
fdisk -l cat /etc/fstab |
I think I may have to try to get the open drivers to work. I do not want to downgrade Xorg at all. I am sure someone will make either the catalyst drivers work or the open drivers will get better. It is a Xpress 200m. The laptop is a Hp ZV6000 and I love it except for this little problem.
|
Your 200m uses the r300_dri.so
The open source drivers are already pretty good. Try what comes standard with slackware and try the xorg.conf file I posted above but change radeonhd to radeon. Your chipset is not likely to be supported by radeonhd. If that doesn't work or you need better, look into compiling newer libdrm, mesa, xf86-video-ati. Maybe before doing that run through the logs (mesa and radeon) for r300 to see if improvements are likely. You could also try newer 2.6.33-rc3 kernel. |
There was a bug in Mesa this past summer, that I believe made it into the 7.5 release, regarding integrated ATI GPUs. A newer Mesa is much more likely to perform better.
Adam |
This configuration works okay
Code:
Section "ServerLayout" Code:
Section "ServerLayout" |
I believe you need to use the 'radeon' driver *not* 'radeonhd'. RadeonHD is for r500, r600, and r700 GPUs. The Xpress 200 does not fall into the category, as I understand it (though the Xpress 1200/1250/1270 do).
Adam |
As I suggested earlier, in the shorter xorg.conf I gave you, change radeonhd to radeon. I suggested radeonhd prior to knowing what your card was.
But when reviewing your xorg.conf, you are using the radeon driver. You could remove everything with # in front for clarity. Also you can probably safely get rid of everything with depth less than 16 and maybe only keep 16 and 24. I only have 24 in my xorg. Another thing you could try is renaming xorg.conf so you have a backup and starting X without any xorg. It's not supposed to be needed anymore. I still use it because I sometimes tell it to run radeonhd or fglrx. adamk75 suggested compiling newer mesa as 7.5 he thought had a bug. You could compile this yourself but you could also move to slackware-current which probably already is up to 7.7 along with newer libdrm and xf86-video-ati. You'll also have to tell us what problem your having with the open-source drivers. Look through dmesg, lspci (as root), lsmod. Also do glxinfo and glxgears from CLI in X and maybe some message will be given. Also look through /var/log/Xorg.0.log for errors and warnings. cat /var/log/Xorg.0.log | grep EE cat /var/log/Xorg.0.log | grep WW |
I am using the radeon driver not the radeonHD. I am thinking it is trying to find the best possible rendering engine though.
|
What do you mean by "the best possible rendering engine". Please explain exactly what problems you are having when you use the 'radeon' driver.
Adam |
Okay for instance when I play soltaire the cards tops will be cut off. Almost like the video card forgot to render it. Then when I slip a card over them they show up. I will try to get a screen shot and upload it for you. Also if I am playing for awhile the desktop effects engine will shut down causing my hard drive to spin and lock up.
|
I ran those two commands forum and here is the output.
Code:
zero@darkstar:~$ cat /var/log/Xorg.0.log | grep EE |
Did you get a chance to grab a screenshot?
Adam |
Everytime I try to it locks up. I guess the best to describe it is to say half of the deck you are drawing from is there ans the other half just is not. I also sometimes get black cloches instead of graphics.
|
Unfortunately there's not much I can really suggest, then, other than to open up a bug report at http://bugs.freedesktop.org/ if the problem persists with the latest drivers.
Adam |
Code:
(WW) The directory "/usr/share/fonts/local" does not exist. Code:
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. Code:
(WW) RADEON(0): LVDS Info: Code:
(WW) RADEON(0): DRI init changed memory map, adjusting ... |
2 Attachment(s)
It is possible the coding is older then what I need. I have made a screen shot and uploaded it. Look at the deck of cards you draw from half of the card is missing.
I am now wondering if I should not reinstall xorg. What would be the easiest way to do so from the slackware 13 disk? |
Another option is you can download and upgrade your packages for libdrm, mesa, and xf86-video-ati from slackware-current and see if that helps. These are a little more current than 13.0 but still quite a bit behind the gits
Download next three links (for 32bit). libdrm Mesa xf86-video-ati Then upgrade your packages (upgradepkg *txz). Try that without any xorg.conf. If that doesn't help you, you might need newer code. You can search here at linuxquestions for best solution of gaining slackbuild style script. One of the more recent is here. I'm not sure if kms is working for r300 but you can also follow the directions but maybe not compile newer kernel. If you do follow instructions and have kms also configured in kernel and it doesn't work you can try to start by adding in your lilo or grub file radeon.modeset=0 to stop kms in kernel. A few lines from my grub (menu.lst) file are: Code:
# Linux bootable partition config begins |
All times are GMT -5. The time now is 05:00 AM. |