pavben
July 13th, 2011, 01:34 AM
Hey guys,
I just got an HP dv7t laptop which has two graphics cards:
1. Intel integrated card for saving battery
2. AMD Radeon HD 6470M for performance video
I'm running Ubuntu 11.04 with standard open-source video drivers for both (no proprietary drivers).
I've been looking for a way to switch among the two graphics cards as is possible on Windows -- completely seamlessly (haven't tried, but so I hear).
I'm hearing that vga_switcheroo is what I should use, but it doesn't seem to work fully on this laptop -- perhaps I'm doing something wrong?
Here's what it looks like as soon as I boot up the laptop:
root@anivia:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
This tells me that both cards are powered on, and integrated graphics is currently outputting to the screen.
By echoing OFF into /sys/kernel/debug/vgaswitcheroo/switch, I was able to power off the Radeon card, changing the above from Pwr to Off.
I've also tried:
root@anivia:~# echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
which, in dmesg, produces:
[ 2023.661209] vga_switcheroo: client 0 refused switch
and I've tried echoing DDIS, which produces:
[ 2110.733505] vga_switcheroo: client 0 refused switch
[ 2110.733515] vga_switcheroo: setting delayed switch to client 1
Logging out and back in after this has no effect, although after a reboot, IGD and DIS switch places (DIS is first, IGD is second), although IGD is still selected as active (+)
The system is certainly usable like this, although I do have issues with hibernation and sleeping (freeze-ups), which went away when I somehow disabled the Radeon driver (temporarily).
What can you guys suggest?
Ideally, I want to have control over powering on/off the two cards and switching the active to whichever one.
If that is not possible, I'd like to make the Radeon card my primary (not settable in BIOS) and never use integrated.
If that is not possible, same as above but the other way around: use integrated and permanently disable the Radeon card.
Also, should I consider using proprietary drivers for the Radeon card?
Thanks in advance,
Pav
I just got an HP dv7t laptop which has two graphics cards:
1. Intel integrated card for saving battery
2. AMD Radeon HD 6470M for performance video
I'm running Ubuntu 11.04 with standard open-source video drivers for both (no proprietary drivers).
I've been looking for a way to switch among the two graphics cards as is possible on Windows -- completely seamlessly (haven't tried, but so I hear).
I'm hearing that vga_switcheroo is what I should use, but it doesn't seem to work fully on this laptop -- perhaps I'm doing something wrong?
Here's what it looks like as soon as I boot up the laptop:
root@anivia:~# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :Pwr:0000:01:00.0
This tells me that both cards are powered on, and integrated graphics is currently outputting to the screen.
By echoing OFF into /sys/kernel/debug/vgaswitcheroo/switch, I was able to power off the Radeon card, changing the above from Pwr to Off.
I've also tried:
root@anivia:~# echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
which, in dmesg, produces:
[ 2023.661209] vga_switcheroo: client 0 refused switch
and I've tried echoing DDIS, which produces:
[ 2110.733505] vga_switcheroo: client 0 refused switch
[ 2110.733515] vga_switcheroo: setting delayed switch to client 1
Logging out and back in after this has no effect, although after a reboot, IGD and DIS switch places (DIS is first, IGD is second), although IGD is still selected as active (+)
The system is certainly usable like this, although I do have issues with hibernation and sleeping (freeze-ups), which went away when I somehow disabled the Radeon driver (temporarily).
What can you guys suggest?
Ideally, I want to have control over powering on/off the two cards and switching the active to whichever one.
If that is not possible, I'd like to make the Radeon card my primary (not settable in BIOS) and never use integrated.
If that is not possible, same as above but the other way around: use integrated and permanently disable the Radeon card.
Also, should I consider using proprietary drivers for the Radeon card?
Thanks in advance,
Pav