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

Re: [Xen-users] GPU passthrough into linux guest / Unable to locate a BIOS ROM



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello Diederik,

On 29 janv. 2017, at 18:58, Diederik de Haas wrote:

> On zondag 29 januari 2017 18:19:05 CET Patrick Proniewski wrote:
>> official ATI drivers (fglrx) are no longer supported. The card is here,
>> detected, but the OS fails to initialize it and of course to use it.
> 
> That's because the drivers are now part of mainline linux.
> You do likely need to install a firmware package though to make it work and 
> on 
> debian that package is named 'firmware-amd-graphics'.
> 
> With that I got vga passthrough working in Xen.


Thanks for the tip. I've searched and found out that on Ubuntu, 
firmware-amd-graphics is supposed to be in linux-firmware package, but looking 
at both package files list, I can say they are not the same. 
I've installed linux-firmware, but it didn't go any better:

# dmesg | egrep -i 'pitcairn|radeon|0b'
[    0.694278] pci 0000:0b:00.0: [1002:6810] type 00 class 0x030000
[    0.694438] pci 0000:0b:00.0: reg 0x10: [mem 0xd0000000-0xdfffffff 64bit 
pref]
[    0.694489] pci 0000:0b:00.0: reg 0x18: [mem 0xfd380000-0xfd3bffff 64bit]
[    0.694518] pci 0000:0b:00.0: reg 0x20: [io  0x5400-0x54ff]
[    0.694900] pci 0000:0b:00.0: supports D1 D2
[    0.694902] pci 0000:0b:00.0: PME# supported from D1 D2 D3hot
[    0.695133] pci 0000:0b:00.0: System wakeup disabled by ACPI
[    0.695218] pci 0000:0b:00.1: [1002:aab0] type 00 class 0x040300
[    0.728969] pci 0000:0b:00.1: reg 0x10: [mem 0xfd3fc000-0xfd3fffff 64bit]
[    0.730397] pci 0000:0b:00.1: supports D1 D2
[    0.730686] pci 0000:00:16.0: PCI bridge to [bus 0b]
[    0.784353] vgaarb: device added: 
PCI:0000:0b:00.0,decodes=io+mem,owns=none,locks=none
[    0.784355] vgaarb: bridge control possible 0000:0b:00.0
[    0.840534] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.886042] pci 0000:00:10.0: BAR 6: assigned [mem 0x4b008000-0x4b00bfff 
pref]
[    0.886786] pci 0000:00:16.0: PCI bridge to [bus 0b]
[    0.888208] pci_bus 0000:00: resource 4 [mem 0x000a0000-0x000bffff window]
[    0.888223] pci_bus 0000:02: resource 4 [mem 0x000a0000-0x000bffff window]
[    0.888258] pci_bus 0000:0b: resource 0 [io  0x5000-0x5fff]
[    0.888259] pci_bus 0000:0b: resource 1 [mem 0xfd300000-0xfd3fffff]
[    0.888260] pci_bus 0000:0b: resource 2 [mem 0xd0000000-0xeb9fffff 64bit 
pref]
[    2.082421] pci 0000:0b:00.0: Signaling PME through PCIe PME interrupt
[    2.082422] pci 0000:0b:00.1: Signaling PME through PCIe PME interrupt
[    2.232234] agpgart-intel 0000:00:00.0: Intel 440BX Chipset
[    2.583700] Freeing unused kernel memory: 1476K (ffffffff81f41000 - 
ffffffff820b2000)
[    2.835243] [drm] radeon kernel modesetting enabled.
[    2.838785] radeon 0000:0b:00.0: enabling device (0000 -> 0003)
[    2.839355] [drm] initializing kernel modesetting (PITCAIRN 0x1002:0x6810 
0x1462:0x3030).
[    2.839391] radeon 0000:0b:00.0: BAR 6: can't assign [??? 0x00000000 flags 
0x20000000] (bogus alignment)
[    2.839402] radeon 0000:0b:00.0: BAR 6: can't assign [??? 0x00000000 flags 
0x20000000] (bogus alignment)
[    2.839421] [drm:radeon_get_bios [radeon]] *ERROR* Unable to locate a BIOS 
ROM
[    2.839470] radeon 0000:0b:00.0: Fatal error during GPU init
[    2.839505] [drm] radeon: finishing device.
[    2.878885] radeon: probe of 0000:0b:00.0 failed with error -22
[   24.787234] snd_hda_intel 0000:0b:00.1: Handle vga_switcheroo audio client
[   24.787237] snd_hda_intel 0000:0b:00.1: Force to non-snoop mode
[   24.984596] input: HDA ATI HDMI HDMI/DP,pcm=3 as 
/devices/pci0000:00/0000:00:16.0/0000:0b:00.1/sound/card0/input7
[   24.984639] input: HDA ATI HDMI HDMI/DP,pcm=7 as 
/devices/pci0000:00/0000:00:16.0/0000:0b:00.1/sound/card0/input8
[   24.984675] input: HDA ATI HDMI HDMI/DP,pcm=8 as 
/devices/pci0000:00/0000:00:16.0/0000:0b:00.1/sound/card0/input9
[   24.984708] input: HDA ATI HDMI HDMI/DP,pcm=9 as 
/devices/pci0000:00/0000:00:16.0/0000:0b:00.1/sound/card0/input10
[   24.984738] input: HDA ATI HDMI HDMI/DP,pcm=10 as 
/devices/pci0000:00/0000:00:16.0/0000:0b:00.1/sound/card0/input11
[   24.984787] input: HDA ATI HDMI HDMI/DP,pcm=11 as 
/devices/pci0000:00/0000:00:16.0/0000:0b:00.1/sound/card0/input12
[   41.325643] snd_hda_intel 0000:0b:00.1: IRQ timing workaround is activated 
for card #0. Suggest a bigger bdl_pos_adj.


lspci -v output:

0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Curacao XT [Radeon R7 370 / R9 270X/370 OEM] (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. [MSI] Curacao XT [Radeon 
R7 370 / R9 270X/370 OEM]
        Physical Slot: 192
        Flags: fast devsel
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at fd380000 (64-bit, non-prefetchable) [size=256K]
        I/O ports at 5400 [size=256]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express 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: [200] #15
        Capabilities: [270] #19
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] #13
        Capabilities: [2d0] #1b
        Kernel modules: radeon

- --> no driver associated


I'll try to play around with firmware-amd-graphics content on Ubuntu, but I'll 
probably end-up testing Debian directly.

thanks,
patpro

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQEcBAEBCgAGBQJYj5MOAAoJEPBkI+aa/fRY+YQH+gKkiRF4aA1hGbsXQ/Inw0B8
qH4960Kja9be1nMIvBxlmzTNW+0jzcNa6scXjbkD6Kcr3xNsEs54mUN8F2JuO8VY
21tr3Mpwv2C1sbr5fGOHhYQhxIVRGfny2pjH3Di17p4PLl/i7I8MG1OlfWXhO/gG
7FdT53UV2dyTFbEc3/jzuxwSL/N7pl1XWilLqEZLNtLFra1/lEgmrk3VmEH0hRPr
KscjGNVOocHG0Pp824+VVpap9mB8+xjYgbzEpn/7DXdwgUNs+HTNjV85dsUhgqkh
WAo2KB9Zx3Cno53ROopv7XWg0p9feB0SI8JkehwsG2lqZ/BTfbJ2vBtkzVFJExg=
=/SD0
-----END PGP SIGNATURE-----

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.