solus-project / linux-driver-management

Linux Driver Management
https://solus-project.com/
159 stars 19 forks source link

Dedicated AMD GPU isn't showing up #1

Closed taaem closed 7 years ago

taaem commented 8 years ago

I have a Dell Laptop with an integrated Intel GPU, which I'm using as active GPU, the other GPU is an AMD Radeon HD 8500M/8700M. The second GPU isn't showing up in LDM:

➜  linux-driver-management git:(master) ./linux-driver-management
Have VGA device: 0x8086 0x166
 -> Intel device
 -> Is boot VGA: 0x30000
X.Org PCI ID: PCI:0:2:0
not yet implemented

The lspci putput is showing the Card:

➜  linux-driver-management git:(master) lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Device 6601 (rev ff)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
08:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)

And also this:

➜  linux-driver-management git:(master) cat /sys/bus/pci/devices/0000:01:00.0/vendor
0x1002
taaem commented 8 years ago

With only line 109 commented out:

➜  linux-driver-management git:(master) ✗ ./linux-driver-management                   
Have VGA device: 0x8086 0x154
 -> Intel device
X.Org PCI ID: PCI:0:0:0
Have VGA device: 0x8086 0x151
 -> Intel device
X.Org PCI ID: PCI:0:1:0
Have VGA device: 0x8086 0x166
 -> Intel device
 -> Is boot VGA: 0x30000
X.Org PCI ID: PCI:0:2:0
Have VGA device: 0x8086 0x1e31
 -> Intel device
X.Org PCI ID: PCI:0:20:0
Have VGA device: 0x8086 0x1e3a
 -> Intel device
X.Org PCI ID: PCI:0:22:0
Have VGA device: 0x8086 0x1e2d
 -> Intel device
X.Org PCI ID: PCI:0:26:0
Have VGA device: 0x8086 0x1e20
 -> Intel device
X.Org PCI ID: PCI:0:27:0
Have VGA device: 0x8086 0x1e10
 -> Intel device
X.Org PCI ID: PCI:0:28:0
Have VGA device: 0x8086 0x1e12
 -> Intel device
X.Org PCI ID: PCI:0:28:1
Have VGA device: 0x8086 0x1e26
 -> Intel device
X.Org PCI ID: PCI:0:29:0
Have VGA device: 0x8086 0x1e59
 -> Intel device
X.Org PCI ID: PCI:0:31:0
Have VGA device: 0x8086 0x1e03
 -> Intel device
X.Org PCI ID: PCI:0:31:2
Have VGA device: 0x8086 0x1e22
 -> Intel device
X.Org PCI ID: PCI:0:31:3
Have VGA device: 0xffff 0xffff
X.Org PCI ID: PCI:0:0:0
Have VGA device: 0x10ec 0x8136
X.Org PCI ID: PCI:0:0:0
Have VGA device: 0x8086 0x887
 -> Intel device
X.Org PCI ID: PCI:0:0:0
not yet implemented

With line 111 changed:

➜  linux-driver-management git:(master) ✗ ./linux-driver-management
Have VGA device: 0x8086 0x60000
 -> Intel device
X.Org PCI ID: PCI:0:0:0
Have VGA device: 0x8086 0x60400
 -> Intel device
X.Org PCI ID: PCI:0:1:0
Have VGA device: 0x8086 0x30000
 -> Intel device
 -> Is boot VGA: 0x30000
X.Org PCI ID: PCI:0:2:0
Have VGA device: 0x8086 0xc0330
 -> Intel device
X.Org PCI ID: PCI:0:20:0
Have VGA device: 0x8086 0x78000
 -> Intel device
X.Org PCI ID: PCI:0:22:0
Have VGA device: 0x8086 0xc0320
 -> Intel device
X.Org PCI ID: PCI:0:26:0
Have VGA device: 0x8086 0x40300
 -> Intel device
X.Org PCI ID: PCI:0:27:0
Have VGA device: 0x8086 0x60400
 -> Intel device
X.Org PCI ID: PCI:0:28:0
Have VGA device: 0x8086 0x60400
 -> Intel device
X.Org PCI ID: PCI:0:28:1
Have VGA device: 0x8086 0xc0320
 -> Intel device
X.Org PCI ID: PCI:0:29:0
Have VGA device: 0x8086 0x60100
 -> Intel device
X.Org PCI ID: PCI:0:31:0
Have VGA device: 0x8086 0x10601
 -> Intel device
X.Org PCI ID: PCI:0:31:2
Have VGA device: 0x8086 0xc0500
 -> Intel device
X.Org PCI ID: PCI:0:31:3
Have VGA device: 0xffff 0xffffff
X.Org PCI ID: PCI:0:0:0
Have VGA device: 0x10ec 0x20000
X.Org PCI ID: PCI:0:0:0
Have VGA device: 0x8086 0x28000
 -> Intel device
X.Org PCI ID: PCI:0:0:0
not yet implemented
ikeydoherty commented 8 years ago

^ Please re-test :)

ikeydoherty commented 8 years ago

Going to move to using libpci (pciutils-devel in Solus) because libpciaccess is very flaky.

ikeydoherty commented 7 years ago

Closing as @taaem said this was fixed on IRC