Kernel – Tech Stuff https://gofedora.com How Tos, Tutorials, Tips and Tricks Thu, 18 Jun 2015 14:17:41 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.4 Fedora 12 ATI Catalyst Drivers https://gofedora.com/fedora-12-ati-catalyst-drivers/ https://gofedora.com/fedora-12-ati-catalyst-drivers/#comments Wed, 02 Dec 2009 13:16:23 +0000 http://gofedora.com/?p=996 … ]]> I guess ATI graphics card owners are a bit unlucky! When Fedora 11 was released, we didn’t get the proprietary drivers from AMD for months and the older version didn’t work with default kernel at that time. When Fedora 12 was released, AMD released newer version of Drivers after a few hours. But this time, Xorg becomes a stumbling block and again the driver installation fails for a lot of people!

But Fedora 12 tries to make life a bit easier and may provide support for ATI cards. From Fedora 12 Announcement

Fedora 12 introduces experimental 3D support for AMD Radeon HD 2400 and later graphics cards. To try it out, install the mesa-dri-drivers-experimental package. On many cards, this support should allow desktop effects to be used.

What to do?

Step 1 : Try ATI Catalyst Drivers from AMD

Nobody, so far, has reported the successful installation of ATI Catalyst drivers on Fedora 12. But still if you want to give it a shot (because the uninstall is clean and doesn’t leave a trace of ATI drivers in your system), you can follow How To: Install ATI Catalyst (fglrx) Drivers. If it doesn’t work, just uninstall using the command given at the end of the post.

Step 2 : Try mesa-dri-drivers

Keep in mind that these are experimental drivers and may not work properly or may work partially.

Install the mesa-dri-drivers-experimental from Fedora repositories using Yum.

[root@fedora ~]# yum install mesa-dri-drivers-experimental

Reboot if the drivers are install successfully.

Let me know, if any of the above drivers work for you 🙂

]]>
https://gofedora.com/fedora-12-ati-catalyst-drivers/feed/ 137
News : ATI Catalyst Graphics Drivers 9.11 Released https://gofedora.com/news-ati-catalyst-graphics-drivers-9-11-released/ https://gofedora.com/news-ati-catalyst-graphics-drivers-9-11-released/#comments Wed, 18 Nov 2009 12:14:35 +0000 http://gofedora.com/?p=991 … ]]> Looks like AMD was waiting for Fedora 12 : Constantine release. AMD has released the next version 9.11 of ATI Catalyst Display Drivers. The drivers can be download from ATI Catalyst™ 9.9 Proprietary Linux x86 Display Driver Page. I have downloaded and tested them already on my machine with ATI Radeon HD 3200 (onboard) card with kernel 2.6.29.6-217.2.8.fc11.i586. This version is supposed to work with 2.6.30+ kernels as even 9.10 was working. So, if you have already installed Fedora 12, don’t waste time. Test the drivers and let us know 🙂

Note1 : Installation Process : How To: Install ATI Catalyst (fglrx) 9.8 Drivers on Fedora 11.
Note2 : Dual Display Configuration : How To: Configure Dual Display with ATI Radeon (fglrx).

]]>
https://gofedora.com/news-ati-catalyst-graphics-drivers-9-11-released/feed/ 32
News : ATI Drivers 9.10 Working with 2.6.30+ Kernels https://gofedora.com/news-ati-drivers-9-10-working-2-6-30-kernels/ https://gofedora.com/news-ati-drivers-9-10-working-2-6-30-kernels/#comments Thu, 05 Nov 2009 22:07:55 +0000 http://gofedora.com/?p=961 … ]]> AMD released the next version 9.10 of its ATI Catalyst display drivers for Linux nearly a fortnight ago. The drivers can be download from ATI Catalyst™ 9.9 Proprietary Linux x86 Display Driver Page. The good thing about this version is that a lot of people are reporting that they can get it working on 2.6.30+ kernels. These drivers are lifesaver for people want to keep everything upto date. The corruption around cursor is still present while watching videos or with compiz enabled.

Note1 : The installation process is same as version 9.8 and can be access at How To: Install ATI Catalyst (fglrx) 9.8 Drivers on Fedora 11.
Note2 : If you want to configure dual display follow How To: Configure Dual Display with ATI Radeon (fglrx).

]]>
https://gofedora.com/news-ati-drivers-9-10-working-2-6-30-kernels/feed/ 3
News: ATI Catalyst Display Drivers 9.9 Released https://gofedora.com/news-ati-catalyst-drivers-released/ https://gofedora.com/news-ati-catalyst-drivers-released/#comments Sat, 12 Sep 2009 06:27:30 +0000 http://gofedora.com/?p=873 … ]]> AMD has released the next version 9.9 of its ATI Catalyst display drivers for Linux. The drivers can be download from ATI Catalyst™ 9.9 Proprietary Linux x86 Display Driver Page. I have already tried them with kernel 2.6.29.6-217.2.8.fc11.i586 and they seem to work fine without SWCursor hack. But I still see corruptions around cursor while moving cursor in a playing video or in Compiz. BTW I got dual display working with Xinerama turned on with this version. I’ll post a HowTo about the same very soon. I think it’ll take some more time before the drivers are completely stable. AMD has been doing a really good job in rolling out drivers at regular intervals.

Note : The installation process is same as version 9.8 and can be access at How To: Install ATI Catalyst (fglrx) 9.8 Drivers on Fedora 11.

]]>
https://gofedora.com/news-ati-catalyst-drivers-released/feed/ 13
How To: Install ATI Catalyst (fglrx) Drivers https://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/ https://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/#comments Sat, 22 Aug 2009 16:01:37 +0000 http://gofedora.com/?p=676 … ]]> Note: This How To is valid up to Catalyst Driver version 10.1.
Note: With minor changes this How To may work for other Linux distributions like Mandriva, Suse, Ubuntu, Red Hat, Cent OS etc.

Following the suggestions in comments on my last post about ATI Catalyst (fglrx), I tried to reinstall ATI drivers version 9.8 and finally it worked. I thought of noting down the the process in few simple steps which anyone can follow and get the drivers working on Fedora 11 with latest kernel versions.

Step 1 : Update Kernel, Install kernel-devel

Huge thanks to Richard Lloyd and mxyzptlk2063 for pointing this out.
This step is not necessary. You may like to stick to the kernel version you already have. In case you want the latest kernel, just use yum to get the latest kernel.

Note: Do not forget to update the kernel-devel package as well as its needed to compile the fglrx kernel module.

DONT UPDATE THE KERNEL. Instead stick to whatever kernel version you have. If you have 2.6.30.*, you are unlucky 🙁 Get a kernel version 2.6.29.* and install the kernel-devel for the same.

With Catalyst Driver version 9.10 you can update kernel to latest version before installing the Drivers.

[root@fedora ~]$ yum update kernel
[root@fedora ~]$ yum install kernel-devel

Step 2 : Download Drivers

Download the ATI Catalyst™ 9.8 Proprietary Linux x86 Display Driver from ATI/AMD website.

Step 3 : Install Drivers

Install the drivers that you have downloaded using the following command.

[root@fedora ~]$ bash ./ati-driver-installer-9-8-x86.x86_64.run

Step 4 : Check Installation Result

Check the /usr/share/ati/fglrx-install.log file for result of installation. If there are no errors, proceed to the next step.

Note: You may see lines like this at the end of file

You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
– recreating module dependency list
– trying a sample load of the kernel modules
done.

You can ignore these lines happily if they don’t contain any error message. You don’t really need to execute the command mentioned in those lines.

Step 5 : Blacklist radeon and radeonhd kernel modules

Add these lines to /etc/modprobe.d/blacklist.conf.

blacklist radeon
blacklist radeonhd

Step 6 : Generate initial Xorg configuration file

Note: This step is optional with Catalyst Driver version 9.10, but it wont harm even if you execute this.

You have to generate the initial xorg.conf file which will use fglrx as display device.

[root@fedora ~]$ aticonfig --initial

Step 7 : Modify xorg.conf

Open your /etc/X11/xorg.conf file and add the following line to “Device” section (the one with fglrx as driver)

Option "SWCursor" "true"

Step 8 : Reboot

Reboot your machine. And you’ll have the latest ATI Catalyst drivers working on your Fedora 11 🙂

Step 9 : Testing

You can test your newly installed drivers and get the performance benchmarks for your graphics card using the commands below.

[saini@fedora ~]$ glxgears
[saini@fedora ~]$ fgl_glxgears

My graphics card is ATI Radeon HD 3200 (256MB, Onboard) and I get 1500FPS with glxgears and 300FPS with fgl_glxgears.

In case you messup things somewhere, you can uninstall the fglrx drivers using the following command

[root@fedora ~]$ /usr/share/ati/fglrx-uninstall.sh
]]>
https://gofedora.com/how-to-install-ati-catalyst-fglrx-98-drivers-fedora-11/feed/ 171
Info: ATI Drivers 9.8 Doesnt Work with Fedora 11 (2.6.29+) https://gofedora.com/info-ati-drivers-98-doesnt-work-fedora-11-2629/ https://gofedora.com/info-ati-drivers-98-doesnt-work-fedora-11-2629/#comments Tue, 18 Aug 2009 02:04:27 +0000 http://gofedora.com/?p=673 … ]]> After a night out I was about to go to bed when I saw the news that ATI has released a new version of ATI Catalyst™ 9.8 Proprietary Linux x86 Display Driver, its proprietary display drivers for Linux. I immediately downloaded the drivers to test with my Fedora 11 as I am getting more and more desperate to watch HD Movies 😐 Installed them on a manually compiled kernel 2.6.27 and the build failed 🙁 Installed the latest kernel version (for fedora 11) 2.6.29.6.xxx and build failed yet another time. Switched back to 2.6.27 and tried to build again. This time build was successful. Everything worked as expected. I was getting 1500FPS with glxgears and 300FPS with fgl_glxgears. But after sometime display hanged inturn freezing the system. Hard reboot was the only solution and then this happened for a few times in a row. Now, I am back to radeonhd, waiting for yet another release of ATI drivers so that I can try them yet another time to see yet another failure 🙁

Update : Drivers are working now. Move on to How To: Install ATI Catalyst (fglrx) 9.8 Drivers on Fedora 11.

]]>
https://gofedora.com/info-ati-drivers-98-doesnt-work-fedora-11-2629/feed/ 19
Info: ATI Drivers 9.7 does not work in Fedora 11 (2.6.29+) https://gofedora.com/info-ati-drivers-97-work-fedora-11-2629/ https://gofedora.com/info-ati-drivers-97-work-fedora-11-2629/#comments Fri, 24 Jul 2009 15:09:55 +0000 http://gofedora.com/?p=644 … ]]> Yesterday, AMD released ATI Catalyst™ 9.7 Proprietary Linux x86/x86_64 Display Drivers. I happened to checkout the website today. Initially I was very excited about it hoping that these drivers will work with 2.6.29+ and I’ll be able to use my ATI Radeon HD 3200 which is lying dead since a fortnight or so. I downloaded the drivers immediately and switched to Fedora 11 default kernel. Installed the drivers and checked the install log located at /usr/share/ati/fglrx-install.log. And I saw a failure. AMD disappointed me, yet another time 🙁

In case you happen to screw your graphics display while trying to install ATI drivers, use the following command to uninstall fglrx.

[root@fedora ~]$ /usr/share/ati/fglrx-uninstall.sh

Well, I am back to square one. Have to wait for another month and I hope next release will have support for kernel 2.6.29+.

Update : Drivers are working now. Move on to How To: Install ATI Catalyst (fglrx) 9.8 Drivers on Fedora 11.

]]>
https://gofedora.com/info-ati-drivers-97-work-fedora-11-2629/feed/ 4
How To: Install Fedora without CD or DVD https://gofedora.com/how-to-install-fedora-without-cd-dvd/ https://gofedora.com/how-to-install-fedora-without-cd-dvd/#comments Mon, 25 Aug 2008 19:49:24 +0000 http://172.17.8.64/gofedora/?p=385 … ]]> Note: If you are new to Fedora/Linux, I highly recommend the book “Fedora Linux Toolbox

[amazon-product alink=”0000FF” bordercolor=”000000″ height=”240″]0470082917[/amazon-product]

Use Case

  1. When you don’t have CD / DVD drive on your system.
  2. You have Fedora DVD but your system has only a CD Drive.
  3. You don’t want to waste time and resources in burning iso on optical media.

Pre-requisites

  1. You have a Fedora DVD iso or rescue cd iso.
  2. You have a Linux installation on your system.
  3. You have a partition (FAT32, ext2, ext3) which you will not format while installing the new OS.

How to proceed

Let us assume you want to install Fedora 9 on your system and you have a Linux distro already installed on your system. You have downloaded the Fedora DVD iso (Fedora-9-DVD-i686.iso). And you have a FAT32/ext2/ext3 partition /stuff/ which you will not format during installation.

Step 1 : Move the Fedora DVD iso to /stuff/ directory.

[root@saini saini]# mv Fedora-9-DVD-i686.iso /stuff/ [Enter]

Step 2 : Mount Fedora DVD iso on /mnt/

[root@saini saini]# mount /stuff/Fedora-9-DVD-i686.iso /mnt/ -ro loop [Enter] (do as root)

Step 3 : Copy the initrd.img and vmlinuz to /boot/ partition

[root@saini saini]# cd /mnt/isolinux/ [Enter]
[root@saini isolinux]# cp initrd.img vmlinuz /boot/ [Enter] (do as root)

Step 4 : Create grub entry for booting into Fedora 9

Add these lines at the end of your /boot/grub/grub.conf file.

title Fedora 9 (New installation)
    kernel /vmlinuz
    initrd /initrd.img

Step 5 : Note the device having Fedora DVD iso

[root@saini saini]# df -h [Enter]
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              15G  9.5G  4.1G  70% /
/dev/sda8             135G  116G   13G  91% /stuff
/dev/sda5             4.8G  1.2G  3.4G  26% /home
/dev/sda1              99M   12M   82M  13% /boot

In this case /dev/sda8 contains Fedora DVD iso. Note this down as you need it later.

Step 6 : Reboot

Reboot your system and boot into the Fedora 9 (New installation) grub entry.

Step 7 : Install from hard disk

While in installation wizard, select “Hard drive” as installation method and choose /dev/sda8 as it contains the Fedora DVD iso. And rest is damn easy.

]]>
https://gofedora.com/how-to-install-fedora-without-cd-dvd/feed/ 29
How To: Install and Configure NVIDIA Drivers and Beryl https://gofedora.com/how-to-install-configure-nvidia-drivers-beryl/ https://gofedora.com/how-to-install-configure-nvidia-drivers-beryl/#comments Thu, 26 Apr 2007 19:02:09 +0000 http://172.17.8.64/gofedora/?p=344 … ]]> Well, finally I realized the power of my onboard graphics card … too lazy to realize even this (it took me a year to realize this obvious fact). I downloaded the latest nVidia drivers from here and also upgrade to the kernel-2.6.20-1.2944.fc6. You can get it from any site which provides rpms or you can install is using yum. Not to forget I did it on Fedora Core 6 – Zod. So, here goes the exact procedure.

Warning: Take a backup of your /etc/X11/xorg.conf file before experimenting with 3D desktop. It help in case of X server crashes.

1. Download the latest nVidia drivers from here.

2. Upgrade to kernel-2.6.20-1.2944.fc6

(a)Download rpms kernel-2.6.20-1.2944.fc6.i686.rpm and kernel-devel-2.6.20-1.2944.fc6.i686.rpm and install using

[root@zod saini] rpm -ivh kernel* [Enter]

OR
(b)

[root@zod saini] yum install kernel-2.6.20-1.2944.fc6 [Enter]

3. Reboot and switch to the newly installed kernel.

4. Login as root and delete the temp file for xserver

[root@zod saini] rm -f /tmp/.X0.lock [Enter]

5. Install the nVidia drivers

[root@zod saini] bash NVIDIA-Linux-x86-1.0-9755-pkg1.run --kernel-source-path=/usr/src/kernels/2.6.20-1.2944.fc6-i686/ [Enter]

A user interface(I don’t know what to call it, graphical user interface on command line) will appear, answer the basic questions and you are done.

6. run this command

[root@zod saini] nvidia-xconfig [Enter]

7. Open your /etc/X11/xorg.conf file in you favourite(Vim) editor and edit it as follows …

Add these lines to the “screen” section

Option     "AddARGBGLXVisuals" "True"
Option     "DisableGLXRootClipping" "True"

and Add this line to the “Device Section”

Option         "TripleBuffer" "true"

or you can use my xorg.conf with appropriate modifications.

8. Now install Beryl + emerald or compiz

(a) Get rpms from any site which supplies rpms for packages in fedora and install

[root@zod saini] rpm -ivh beryl-* emerald-* [Enter]

OR

[root@zod saini]  rpm -ivh compiz-* [Enter]

(b) There is always a short cut

[root@zod saini]  yum install beryl* emerald* [Enter]

OR

[root@zod saini]  yum install compiz* [Enter]

9. Now logout and login again and run command beryl-manager or compiz and you are done with installing beryl/compiz with latest nVidia drivers. Enjoy the 3D desktop.

10. If in the above process your X-server crashes, press Ctrl-Alt-F1 and login as root, replace your existing /etc/X11/xorg.conf file with the backup you took in the beginning and do startx.

I installed the above packages on Fedora Core 6, the Hardware is Nvidia Ge Force 6100 onboard.

Here are some screenshot of my 3D Desktop ( They can also be seen here ).

]]>
https://gofedora.com/how-to-install-configure-nvidia-drivers-beryl/feed/ 8
How To: Configure Wireless with Ralink (rt2500) Level One WNC-0301 in Fedora Core 6 https://gofedora.com/how-to-wireless-ralink-rt2500-level-wnc0301-fedora-core-6/ https://gofedora.com/how-to-wireless-ralink-rt2500-level-wnc0301-fedora-core-6/#comments Tue, 26 Sep 2006 13:57:44 +0000 http://172.17.8.64/gofedora/?p=58 … ]]> Well … Yesterday I switched from Fedora Core 4 to Fedora Core 6. The main problem was the wireless lan. As I was using ndiswrapper for wlan in FC4, I tried compiling it for FC6. But FC6 doesn’t have build packages so it didn’t work out. Then I installed the kernel-devel packages from here. Now the build packages were not a problem. I installed ndiswrapper from here. Now while installing ndiswrapper it gave an error that your kernel is using 4k stack, while for windows driver you need to have a kernel with 16k stack. I googled and searched the 16k stack version for my kernel but didnt get one. I used to download 16k stack kernel from here. But 16k stack kernel is not yet out for FC6. So its almost impossible for me to get ndiswrapper to work if I dont want to mess up with the patched and all.

Then I thought of using the native drivers for rt2500 (Level One wnc-0301). I downloaded the drivers from here.
The step by step installation is here ….

Step 0

Install the kernel-devel package from the above specified site.

[root@localhost ~]# rpm -ivh kernel-devel-yourkernel.rpm

Step 1

Untar the drivers.

[root@localhost ~]# tar -xvzf rt2500-1.1.0-b4.tar.gz

Step 2

Change the directory to Module

[root@localhost ~]# cd rt2500-1.1.0-b4/Module/

Step 3

compile the modules

[root@localhost ~]# make

If this gives error like this

make[1]: Entering directory '/usr/src/kernels/2.6.18-1.2798.fc6-xen-i686'
CC [M]  /home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rtmp_main.o
In file included from /home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rtmp_main.c:50:
/home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rt_config.h:58:40: error: linux/config.h: No such file or directory
make[2]: *** [/home2/Softwares/Drivers/rt2500-1.1.0-b4/Module/rtmp_main.o] Error 1
make[1]: *** [_module_/home2/Softwares/Drivers/rt2500-1.1.0-b4/Module] Error 2
make[1]: Leaving directory '/usr/src/kernels/2.6.18-1.2798.fc6-xen-i686'
rt2500.ko failed to build!
make: *** [module] Error 1

Then open the file rt_config.h and comment the line #include<linux/config.h> and again compile by issuing make.
If you get a different error try to debug if you know c-programming a bit.
Step 4. [Do as root]
Install the module

[root@localhost ~]# make install-fedora

Step 5 [Do as root]

Configure the wlan card.

[root@localhost ~]# neat

Now select a new connection and wireless and the the Ralink driver. Thats it. Activate the wlan0.

Hope this help a bit.
More suggestions are welcome.

Edit : If you are looking for wireless configuration in Fedora 7, here is a reference.

]]>
https://gofedora.com/how-to-wireless-ralink-rt2500-level-wnc0301-fedora-core-6/feed/ 8