Disabling Graphic Driver – Linux/Fedora

Hello all, I was facing a trouble with the graphic driver in Linux for the past few months. When I did the installation as per the previous post in my blog, there are some issues like missing library packages, unable to install the package etc,. After searching the net for a while, I found out the following solution for the graphic driver problems which will completely turn off the graphic card while we work in Linux based systems. This is the best way I found out by which I can work on Linux for hours together with out any battery drain  or over heating problems.

In the following steps we will be disabling the graphic card temporarily by making changes in the kernel files. For that just follow the instructions given here.

1) The changes which we will make to the kernel needs root access, so open a terminal as a root user.

2) Navigate to the vgaswitcheroo folder placed in the kernel.

cd /sys/kernel/debug/vgaswitcheroo

In the vgaswitcheroo folder you can see a file called switch which controls the GPU of your system. When you don’t change any thing of that file you will get some thing like this when you open the switch file:

1:DIS: :Pwr:0000:01:00.0

Here in this file, the first one corresponds to the Intel GPU and the second one is the external graphic card which is a problem if we don’t have the graphic driver installed in Linux/Fedora. If we turn off the power supply for the graphic card then it is not at all a problem when working in Linux/Fedora

3) For turning off the graphic card just change the value of the switch file by executing the following command in the terminal as a root.

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

After doing this you can see the change in the value of the switch file to:

1:DIS: :Off:0000:01:00.0

Now wait for a few minutes and see the battery status. You can see the change in the amount of backup time.

Permanent Solution using the above procedure

If you follow the above procedure, you need to do the above process every time. If you think that is an un-necessary task every time when you log in to the system, just follow the below procedure. 🙂

Open a terminal as a root and just paste the following commands in the terminal:

gedit .bashrc

Now .bashrc file will open and just copy the following to the .bashrc file.

echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

Now, just save the file and exit. The thing what you did just now is you have added the above line to the .bashrc file which will be loaded on the system boot-up. This will directly execute the above command when the system files get loaded.

That’s it, I think this will resolve the problem of the graphic card. 🙂

Just please give me the feedback regarding the post in the comments.

Hope this helps. 🙂


Trip to Diu and Daman

Now I am going to explain a part of it in which I went to Diu and Daman (Union Territory) with my cousins. It was an amazing place, but the time we went is not suitable for that spot. Actually it is a place which is to be visited during Rainy Season. It took around four hours to reach from Mumbai to Silvassa.

Silvassa is the capital of Diu and Daman. We reached Silvassa around 10:00 in the morning. First we thought of going to Lion Safari. I was so excited that we are going for a Lion Safari. But after going there only I came to know that it is not a lion safari. After going there I was surprised because it was only one lion in the park. I thought it would be boring even for the remaining part also. But my calculations went wrong.

After the lion safari we planned to visit the Damanganga dam . The way which led to the reservoir was amazing. It was a ghat road with lots of greenery. In the midway we stopped to have some pics with my cousins. One of my fav pics taken there was with my sister and brother (small kids). I got enough comments for that particular pic. 😛 After reaching there we thought of going for boating which was through the reservoir. We went all the way from one end of the reservoir to the other end of the reservoir. The place was truly amazing. It took around one hour to come back. In the mean while we had some snaps also. But one thing we missed is the Tarpa Festival.

After that we thought of going to the deer park. After a long waiting for around two hours we got our turn finally to go and visit some deer’s. The deer park was truly awesome. It was a safari of about 20 min. All the way through the way we travelled it was full of deer’s only. I was lucky enough to touch a deer which was passing by from our vehicle. But problem is the driver didn’t give enough time to take good pics of the deer’s.  But the time we spent in the deer park was like heaven for me because it was so pleasant and quite there.

That’s how it is done for that day. The next day we decided to spend the whole day in the beach. So we planned to go the Jampar Beach which is located in Daman. The thing is that whole of Silvassa is full of industries and Daman part is like Mumbai with full of tall buildings and apartments. By the time we reached the beach it was around 11:00 in the morning. When we went in the first thing which attracted my mind is paragliding. I’ve decided to do that since I was a person who is interested in adventures. 😀

It was an amazing experience when I was in air for the first time with a parachute on my back. It will be about 200 feet I was from the ground level in the air. I was shouting like hell coz I was so excited. One thing which I was surprised of the beach was the water went back around 500 ft during the morning time. Two more days we had fun covering the places there nearby including Surat. It was one of my best trips till now.

That’s it for my short trip to the Union Territory. 🙂