Switchable Graphics (laptop) with ubuntu 10.10

Associate
Joined
11 Dec 2009
Posts
1,603
Hey everyone,

This is my first time using linux (dual boot with windows 7) and i am having issues with the graphics options.

In bios i have it set to switchable as it works fine with windows 7.

However in ubuntu switching doesnt work. I read into something called VGAswitcheroo, but i couldnt get it to work.

It seems the graphics is constantly in use so i will only get about 2 hours battery (5+ in windows), and the laptop is also getting very hot!

Can i make it so ubuntu only uses the bintegrated intel graphics?

Thanks for the help in advance.

Harry
 
What laptop do you have? Is it one of the Acer ones that has both an integrated Intel graphics card and also a separate ATI/nVidia card which can be enabled for better graphics performance at the expense of battery life
 
What laptop do you have? Is it one of the Acer ones that has both an integrated Intel graphics card and also a separate ATI/nVidia card which can be enabled for better graphics performance at the expense of battery life

Hello,

Yes you are correct. It is a Acer 8371g with intergrated Intel graphics and a radion mobility HD4300 discrete i believe!

Any ideas? Laptop gets SERIOUSLY hot running ubuntu just using chrome, way hotter then windows 7 even if i am using discrete plating Counter strike source.
 
Hello,

Yes you are correct. It is a Acer 8371g with intergrated Intel graphics and a radion mobility HD4300 discrete i believe!

Any ideas? Laptop gets SERIOUSLY hot running ubuntu just using chrome, way hotter then windows 7 even if i am using discrete plating Counter strike source.

Have you got one of the modded BIOS's installed? I think with those you can force it to a particular chip; see if you get any success there?

After that I'm not too sure :(
 
Have you got one of the modded BIOS's installed? I think with those you can force it to a particular chip; see if you get any success there?

After that I'm not too sure :(

Yeah i have, and can use this option. How ever i was hoping there would be a way i could keep it as switchable in bios and just sort in ubuntu as it seems hassle (although only a little) to have to change to discrete if i want to play a game on windows 7.

Thanks for your opinion though!

http://asusm51ta-with-linux.blogspot.com/ - if you get it working, let me know, as soon as you install the restricted drivers within Linux it goes away... So yeah, not sure about how to deal with it, or if the native Ubuntu ATI drivers can do 3D (as in wine etc)

Tried this to no avail :(
 
I think it works if you don't have the restricted drivers installed.

The restricted drivers are the ones made by the company, in this example ati?

If so i did install them, but then removed them before trying that. (assuming i uninstalled them properly, as now when i look in the additional driver option in the system menu, nothing is displayed :S when before it showed the GPU drive, even though it was installed!)
 
The restricted drivers are the ones made by the company, in this example ati?

Yes and no. Restricted driver in ubuntu just means non opensource drivers that will 'taint' the kernel.

If so i did install them, but then removed them before trying that. (assuming i uninstalled them properly, as now when i look in the additional driver option in the system menu, nothing is displayed :S when before it showed the GPU drive, even though it was installed!)

What are you trying to do in linux anyways? Do you ever need the 3D performance of the more powerfull card? Either way I would try the FOSS driver which is what ubuntu uses by default, in 10.10 it should be fairly decent, enough to enjoy simple openGL stuff.
 
Yes and no. Restricted driver in ubuntu just means non opensource drivers that will 'taint' the kernel.



What are you trying to do in linux anyways? Do you ever need the 3D performance of the more powerfull card? Either way I would try the FOSS driver which is what ubuntu uses by default, in 10.10 it should be fairly decent, enough to enjoy simple openGL stuff.

Ah i see.

I would like the to just use the integrated card all the time. I have no need to use the ATI card whilst in ubuntu.

I was hoping for a way to disable the ATI card whilst in ubuntu (rather than using bios.)

Ill have a look for this "FOSS" driver, thanks!
 
can you just blacklist the ati modules and let it load the drivers for the internal card?

Im not sure if im being honest.

I am very new to linux so not sure how i would do this? Would this stop power from going to the ATI card, or just stop it from being used?

Sorry for being such a linux noob!
 
Im not sure if im being honest.

I am very new to linux so not sure how i would do this? Would this stop power from going to the ATI card, or just stop it from being used?

Sorry for being such a linux noob!

I'm not sure if blacklisting the driver is going to be enough to stop CPU usage but you can try, usually it's something like /etc/modprobe.d/blacklist or similar.

Although in your case since you have two ATI cards i'm not sure how that's going to work out... I'd really have a good look at the vga_switcheroo module and switch to the onboard graphics on boot. Then just use the default driver that comes with ubuntu (ie don't install the ATI closed source "restricted" driver - the open source one works great even for basic 3D - ie usually enough to get compiz working nicely and 2D rendering is usually better!)
 
I'm not sure if blacklisting the driver is going to be enough to stop CPU usage but you can try, usually it's something like /etc/modprobe.d/blacklist or similar.

Although in your case since you have two ATI cards i'm not sure how that's going to work out... I'd really have a good look at the vga_switcheroo module and switch to the onboard graphics on boot. Then just use the default driver that comes with ubuntu (ie don't install the ATI closed source "restricted" driver - the open source one works great even for basic 3D - ie usually enough to get compiz working nicely and 2D rendering is usually better!)

Ill have a look more into switcheroo, although i couldnt get it to work before, said i didnt have the rights to use it or something :(
 
make sure you enable powersaving in the radeon driver as by default it's disabled on some cards. See this on the arch linux wiki for info.

Thanks fella, just had a quick look, looks complicated but there is no harm in trying!

How do i know if my install has "KMS", its ubuntu 10.10?
 
How do i know if my install has "KMS", its ubuntu 10.10?

Do :

Code:
sudo cat /sys/module/radeon/parameters/modeset

Another way to check it's working is to see how fast you can swtich from a tty to X and back (Ctrl+Alt+F1 and back to Ctrl+Alt+F7). It should be near instant. On my older radeon driver + kernel (2.6.32), i get huge tearing but it's pretty much instant.
 
Do :

Code:
sudo cat /sys/module/radeon/parameters/modeset

Another way to check it's working is to see how fast you can swtich from a tty to X and back (Ctrl+Alt+F1 and back to Ctrl+Alt+F7). It should be near instant. On my older radeon driver + kernel (2.6.32), i get huge tearing but it's pretty much instant.

Thanks,

"sudo cat /sys/module/radeon/parameters/modeset" returns "1", and the switch from tty to X and back is instant.

thanks :D
 
Back
Top Bottom