Can't get radeon card to work on hybrid GPU (Intel / AMD) system.
Hi,
I have dug through many posts and so far have not been able to solve this problem.
I have a Latitude E6540 laptop that has intel and amd GPUs. This is running on Debian Stretch.
They both show up on the PCI-E bus:
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
....
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M]
dmesg shows the gpu getting initialized.
[ 8.256750] [drm] radeon kernel modesetting enabled.
[ 8.274741] radeon 0000:01:00.0: enabling device (0000 -> 0003)
[ 8.510127] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 8.510129] radeon 0000:01:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[ 8.510211] [drm] radeon: 2048M of VRAM memory ready
[ 8.510212] [drm] radeon: 2048M of GTT memory ready.
[ 8.511024] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/oland_pfp.bin
[ 8.511793] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/oland_me.bin
[ 8.512043] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/oland_ce.bin
[ 8.512258] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/oland_rlc.bin
[ 8.512576] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/oland_mc.bin
[ 8.513116] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/oland_smc.bin
[ 8.521202] [drm] radeon: dpm initialized
[ 8.522751] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/TAHITI_uvd.bin
[ 8.523369] radeon 0000:01:00.0: firmware: direct-loading firmware radeon/TAHITI_vce.bin
[ 8.536992] radeon 0000:01:00.0: WB enabled
[ 8.536995] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8c3e81ff0c00
[ 8.536998] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8c3e81ff0c04
[ 8.537000] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8c3e81ff0c08
[ 8.537002] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8c3e81ff0c0c
[ 8.537004] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8c3e81ff0c10
[ 8.537210] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffa34d81c35a18
[ 8.637763] radeon 0000:01:00.0: failed VCE resume (-110).
[ 8.637790] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
[ 8.637846] radeon 0000:01:00.0: radeon: using MSI.
[ 8.637873] [drm] radeon: irq initialized.
[ 9.671403] [drm] Radeon Display Connectors
[ 9.767450] radeon 0000:01:00.0: No connectors reported connected with modes
[ 9.771650] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
[ 9.795641] [drm] Initialized radeon 2.49.0 20080528 for 0000:01:00.0 on minor 1
[ 31.717973] radeon 0000:01:00.0: WB enabled
[ 31.717975] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff8c3e81ff0c00
[ 31.717976] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0xffff8c3e81ff0c04
[ 31.717977] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0xffff8c3e81ff0c08
[ 31.717979] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff8c3e81ff0c0c
[ 31.717980] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0xffff8c3e81ff0c10
[ 31.718191] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xffffa34d81c35a18
[ 31.818747] radeon 0000:01:00.0: failed VCE resume (-110).
------------------------------------------------------------------
BUT, when I do
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x4b cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 8 associated providers: 0 name:Intel
I only see one of them.
I had the AMDGPU driver also installed, but
lspci -v -s 01:00.0
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars XTX [Radeon HD 8790M] (prog-if 00 [VGA controller])
Subsystem: Dell Mars XTX [Radeon HD 8790M]
Flags: bus master, fast devsel, latency 0, IRQ 40
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f7c00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at f7c40000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
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 <?>
Capabilities: [150] Advanced Error Reporting
Capabilities: [270] #19
Kernel driver in use: radeon
Kernel modules: radeon
only shows the radeon drivers in use, so I figure that is what it is using.
So I purged the AMDGPU drivers.
Purging the radeon driver and then reinstalling it does not create any entries in /etc/X11/xorg.conf.d/
I don't know if it is supposed to, but there is a config file in that dir called
01-amdgpu-pro-px.conf
containing:
Section "ServerFlags"
Option "AutoAddGPU" "off"
EndSection
Section "Device"
Identifier "Intel"
Driver "intel"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection
which is not even the config for the AMD GPU, I don't know how this config got created.
Purging all the AMD drivers does not remove it.
I'm not sure how X11 works these days, so I don't know if it is necessary at all.
How can I get
xrandr --listproviders
to show both cards?
I want to be able to use the AMD card.
Last edited by browny_amiga; 03-06-2019 at 07:43 PM.
|