← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 312756] Re: MASTER: support graphics card hot switch

 

Helo all,

first of all my system:

sudo dmidecode -s system-product-name && sudo dmidecode -s system-version
HP Pavilion dv3 Notebook PC     
059E110000203210000020100

lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Manhattan [Mobility Radeon HD 5000 Series] [1002:68e0] (rev ff) (prog-if ff)


dmesg | grep switcheroo
[    8.770034] VGA switcheroo: detected switching method \_SB_.PCI0.GFX0.ATPX handle
[    8.878074] vga_switcheroo: enabled

Now let me try to explain my problem:
I can easily power on/off both graphic cards with switcheroo. 
After powering down integrated (intel) and restarting X I can see only discrete (radeon) is in use. 
The problem is that I haven't 3D acceleration in X, I got in the Xorg.0.log "RADEON direct rendering disabled"
AGP and DRM are loaded and working, but I think the issue is that i915 and intel_agp are loaded and interfering with the radeon.

I've tried to blacklist i915 and intel_agp at boot (adding them to
blacklist.conf and rebuilding the boot image) but they're always loaded
at boot (do you know why?) I didn't try to remove the modules just in
fear the system won't boot.

I've tried also to power off the integrated graphics card at boot time
(with switcheroo and some lines at rc.local) but seems I can only power
off the discrete graphics card.

My goal is to have a way to witch to fully 3D accelerated X system using
the discrete graphics, I don't care if I have to reboot the system to
accomplish it.

I would like also a way to restore the system to the current status,
using only integrated graphics with the discrete chip powered off.

As a side note, I have to power up BOTH cards before restarting or
shutting-down to avoid system freezes, probably due to the same issue
(both kernel modules, i915 and radeon are active).

Thank you very much in advance for your help!

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
https://bugs.launchpad.net/bugs/312756

Title:
  MASTER: support graphics card hot switch