Re: where is vga_switcheroo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/28/2010 09:43 AM, Raghavendra D Prabhu wrote:
* On Tue, Jul 27, 2010 at 07:11:44AM -0400, Matthew Monaco
<dgbaley27@xxxxxxxxxxx> wrote:
matt@office ~$ zcat /proc/config.gz | grep -i switch
CONFIG_VGA_SWITCHEROO=y

matt@office ~$ uname -a
Linux office 2.6.34-ARCH #1 SMP PREEMPT Mon Jul 5 22:12:11 CEST 2010 x86_64
Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux

matt@office ~$ ls /sys/kernel/debug/
bdi dri hid mce tracing usb x86 gpio sched_features



I'm expecting there to be a vgaswitcheroo directory here so I can perform GPU
switching.

Can you mention the graphics card being used and the driver being used
along with versions of libdrm installed ? Switcheroo is certainly not
available with binary nvidia driver.


-------------------
Raghavendra D Prabhu


The card currently working is an Intel:

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 1436
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4050 [size=8]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915

The one I'd like to be able to switch to is an ATI:

01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5600 Series] (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device 1436
	Flags: fast devsel, IRQ 5
	Memory at a0000000 (64-bit, prefetchable) [disabled] [size=256M]
	Memory at c4400000 (64-bit, non-prefetchable) [disabled] [size=128K]
	I/O ports at 3000 [disabled] [size=256]
	Expansion ROM at c4440000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel modules: radeon



The libdrm installed is 2.4.21(-1) and most importantly kernel26=2.6.34.1(-1).

I thought it didn't matter what video card or driver was being used. If the kernel has vga_switcheroo compiled, shouldn't it show up in debugfs?




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux