Всем доброго времени суток! Проблема в том, что я не могу никак включить дискретную видеокарту.
$ uname -a
Linux localhost.localdomain 4.1.2-200.fc22.x86_64 #1 SMP Wed Jul 15 20:12:12 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Chelsea LP [Radeon HD 7730M] (rev ff)
$ inxi -Gxx
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:0166
Card-2: Advanced Micro Devices [AMD/ATI] Chelsea LP [Radeon HD 7730M]
bus-ID: 01:00.0 chip-ID: 1002:682f
Display Server: Fedora X.org 117.2 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
Resolution: 1366x768@60.05hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile
GLX Version: 3.0 Mesa 10.6.1 (git-6ff3ae8) Direct Rendering: Yes
$ dmesg | grep vga [ 1.621068] vgaarb: setting as boot device: PCI:0000:00:02.0 [ 1.621070] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 1.621074] vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none [ 1.621075] vgaarb: loaded [ 1.621076] vgaarb: bridge control possible 0000:01:00.0 [ 1.621077] vgaarb: no bridge control possible 0000:00:02.0 [ 2.932071] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem [ 2.953001] vga_switcheroo: enabled
$ dmesg | grep radeon
[ 2.922433] [drm] radeon kernel modesetting enabled.
[ 2.931820] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[ 2.965102] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 2.965104] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[ 2.965186] [drm] radeon: 2048M of VRAM memory ready
[ 2.965186] [drm] radeon: 1024M of GTT memory ready.
[ 2.976238] [drm] radeon: dpm initialized
[ 2.976945] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
[ 4.247721] radeon 0000:01:00.0: WB enabled
[ 4.247724] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff88003610cc00
[ 4.247726] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff88003610cc04
[ 4.247727] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff88003610cc08
[ 4.247729] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff88003610cc0c
[ 4.247730] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff88003610cc10
[ 4.248534] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001c35a18
[ 4.248540] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 4.248576] radeon 0000:01:00.0: radeon: using MSI.
[ 4.248617] [drm] radeon: irq initialized.
[ 5.652260] radeon 0000:01:00.0: No connectors reported connected with modes
[ 5.653550] radeon 0000:01:00.0: fb1: radeondrmfb frame buffer device
[ 5.653655] [drm] Initialized radeon 2.42.0 20080528 for 0000:01:00.0 on minor 1
[ 42.748419] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
[ 43.754165] radeon 0000:01:00.0: WB enabled
[ 43.754172] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff88003610cc00
[ 43.754176] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff88003610cc04
[ 43.754183] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff88003610cc08
[ 43.754195] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff88003610cc0c
[ 43.754197] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff88003610cc10
[ 43.754972] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001c35a18
[ 63.865307] [drm] enabling PCIE gen 3 link speeds, disable with radeon.pcie_gen2=0
[ 64.870931] radeon 0000:01:00.0: WB enabled
[ 64.870937] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff88003610cc00
[ 64.870940] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff88003610cc04
[ 64.870944] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff88003610cc08
[ 64.870947] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff88003610cc0c
[ 64.870950] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff88003610cc10
[ 64.871762] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffc90001c35a18
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Chelsea LP [Radeon HD 7730M] (rev ff)
$ lsmod | grep radeon
radeon 1576960 1
i2c_algo_bit 16384 2 i915,radeon
drm_kms_helper 122880 2 i915,radeon
ttm 94208 1 radeon
drm 327680 8 ttm,i915,drm_kms_helper,radeon
Если нужен еще какой-то вывод, сделаю.
Комманда
echo "ON" > /sys/kernel/debug/vgaswitcheroo/switch
Сейчас, очевидно, Radeon не работает (даже если не брать во внимание DynOff, это видно при запуске CS Go).