PDA

View Full Version : [SOLVED] Making Hybrid ATI/Intel Graphics Work Nicely



pokepal101
November 8th, 2013, 09:05 AM
(Sorry if this is in the wrong section, it's not exactly DE related)

Alright, I have a HP Pavilion DV7-6108TX laptop running Ubuntu 12.04. It has a dual ATI/Intel graphics setup. lspci shows:
Intel card: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09), shows up as ‘Intel® Sandybridge Mobile’ under Settings.
ATI card: Advanced Micro Devices, Inc. [AMD/ATI] Whistler [Radeon HD 6730M/6770M/7690M XT] (rev ff)

Usually, I use the Intel card (to save battery and keep the temperature down), but sometimes I want to do something graphics-intensive, like play DotA 2 or something.
Currently, the only thing I can do is run aticonfig --px-dgpu, log out, log back in, play the game, run aticonfig --px-igpu, log out again and log back in again.
Obviously if I do this, I lose all the applications I had open before.

My question is, is there some nicer way of doing this, so that I could at least keep my existing running applications? (For example, making X switch graphics cards without restarting itself, or running two separate X sessions side-by-side, one for each graphics card).

EDIT: Forgot to mention, I have AMD Catalyst Control Center installed.

pokepal101
November 27th, 2013, 05:19 AM
I have discovered a ‘solution’!

If your X session is running on the integrated graphics card, and you run aticonfig --px-dgpu and then switch user to a different user account, the new user account will use the discrete graphics card! So, what I've done is create two user accounts, a standard and a gaming account. I run my regular apps on the standard account with the integrated graphics card, then when I want to play a game, I run aticonfig --px-dgpu, switch user and log into to my gaming account. And all my apps stay open! Yay!

This may not be a suitable solution for everyone, but it works for what I gotta do!