amdgpu: tonga DVI-I display issue
Hi With code being queued for 4.2, I figured I would try again to see if this issue had resolved itself. Unfortunately it has not with code running from: git://people.freedesktop.org/~agd5f/linux drm-next-4.2-amdgpu 6d8db6ce239587c3d300d79fce3f5bb376232475 The problem occurs when operating dual screens. In this case, there will be no output on the screen connected to DVI-I. When I disconnect one output and use either individually, each screen displays normally. However when using both DVI-D and DVI-I, the screen connected to DVI-I will not display. On boot, it will display messages until the drm frame buffer takes over. At this point both screens blank, and I'm able to see DVI-D afterwords, but the output connected to DVI-I will go into 'limbo-mode' (somewhere in between standby and acquiring signal). If I startx, no change is visible and the monitor remains in limbo. However, I can say that the monitor's state is detected by xrandr. xrandr even lists the current mode as the preferred mode, but for some reason, there is still no display on DVI-I. If I turn the monitor --off, it will go into full standby mode, but if I turn it on again (--auto), it go back to 'limbo' state. Hopefully I'm not the only one seeing this issue? I do not believe this is necessarily a regression though, since I've been seeing it since the initial release of the amdgpu code. Attached should be a dmesg/Xorg.log in case they may be helpful -- next part -- [0.814200] pci :00:05.0: bridge window [mem 0xfe80-0xfe8f] [0.814238] pci :00:09.0: PCI bridge to [bus 04] [0.814273] pci :00:09.0: bridge window [mem 0xfe70-0xfe7f] [0.814310] pci :00:0a.0: PCI bridge to [bus 05] [0.814346] pci :00:0a.0: bridge window [mem 0xfdc0-0xfe3f] [0.814383] pci :00:0b.0: PCI bridge to [bus 06] [0.814418] pci :00:0b.0: bridge window [io 0xb000-0xbfff] [0.814454] pci :00:0b.0: bridge window [mem 0xfe60-0xfe6f] [0.814490] pci :00:0b.0: bridge window [mem 0xa000-0xb01f 64bit pref] [0.814530] pci :00:0d.0: PCI bridge to [bus 07] [0.814568] pci :00:14.4: PCI bridge to [bus 08] [0.814610] pci :00:15.0: PCI bridge to [bus 09] [0.814650] pci :00:15.1: PCI bridge to [bus 0a] [0.814685] pci :00:15.1: bridge window [io 0xa000-0xafff] [0.814723] pci :00:15.1: bridge window [mem 0xd030-0xd03f 64bit pref] [0.814765] pci :00:15.2: PCI bridge to [bus 0b] [0.814801] pci :00:15.2: bridge window [mem 0xfe50-0xfe5f] [0.814840] pci :00:15.3: PCI bridge to [bus 0c] [0.814877] pci :00:15.3: bridge window [mem 0xfe40-0xfe4f] [0.814916] pci_bus :00: resource 4 [io 0x-0x03af window] [0.814918] pci_bus :00: resource 5 [io 0x03e0-0x0cf7 window] [0.814919] pci_bus :00: resource 6 [io 0x03b0-0x03df window] [0.814921] pci_bus :00: resource 7 [io 0x0d00-0x window] [0.814922] pci_bus :00: resource 8 [mem 0x000a-0x000b window] [0.814924] pci_bus :00: resource 9 [mem 0x000c-0x000d window] [0.814925] pci_bus :00: resource 10 [mem 0xa000-0x window] [0.814926] pci_bus :01: resource 0 [io 0xe000-0xefff] [0.814928] pci_bus :01: resource 1 [mem 0xfea0-0xfeaf] [0.814929] pci_bus :01: resource 2 [mem 0xc000-0xd01f 64bit pref] [0.814930] pci_bus :02: resource 0 [io 0xd000-0xdfff] [0.814932] pci_bus :02: resource 1 [mem 0xfe90-0xfe9f] [0.814933] pci_bus :03: resource 0 [io 0xc000-0xcfff] [0.814935] pci_bus :03: resource 1 [mem 0xfe80-0xfe8f] [0.814936] pci_bus :04: resource 1 [mem 0xfe70-0xfe7f] [0.814937] pci_bus :05: resource 1 [mem 0xfdc0-0xfe3f] [0.814939] pci_bus :06: resource 0 [io 0xb000-0xbfff] [0.814940] pci_bus :06: resource 1 [mem 0xfe60-0xfe6f] [0.814941] pci_bus :06: resource 2 [mem 0xa000-0xb01f 64bit pref] [0.814943] pci_bus :08: resource 4 [io 0x-0x03af window] [0.814944] pci_bus :08: resource 5 [io 0x03e0-0x0cf7 window] [0.814946] pci_bus :08: resource 6 [io 0x03b0-0x03df window] [0.814947] pci_bus :08: resource 7 [io 0x0d00-0x window] [0.814948] pci_bus :08: resource 8 [mem 0x000a-0x000b window] [0.814950] pci_bus :08: resource 9 [mem 0x000c-0x000d window] [0.814951] pci_bus :08: resource 10 [mem 0xa000-0x window] [0.814952] pci_bus :0a: resource 0 [io 0xa000-0xafff] [0.814954] pci_bus :0a: resource 2 [mem 0xd030-0xd03f 64bit pref] [0.814955] pci_bus :0b: resource 1 [mem 0xfe50-0xfe5f] [0.814957] pci_bus :0c: resource 1 [mem 0xfe40-0xfe4f] [0.815045] NET: Registered protocol family 2 [0.815293] TCP
Some issues with the new amdgpu driver
On 05/09/2015 07:11 PM, Brian Paterni wrote: > *) System lockup on xen boot (even magic sysrq is not recognized) It's probably not much to go on, but I was able to capture a kernel/xen boot log over serial. Unfortunately it doesn't look like a backtrace (or any indication of a problem) was able to be captured. AFAICT all logging just stops after line 388. Regardless, the captured bootlog should be attached with hopes that it may be helpful -- next part -- __ ___ ___ __ _ \ \/ /___ _ __ | || | / /_ _ _ _ __ ___| |_ __ _| |__ | | ___ \ // _ \ '_ \ | || |_| '_ \ __| | | | '_ \/ __| __/ _` | '_ \| |/ _ \ / \ __/ | | | |__ _| (_) |__| |_| | | | \__ \ || (_| | |_) | | __/ /_/\_\___|_| |_||_|(_)___/\__,_|_| |_|___/\__\__,_|_.__/|_|\___| (XEN) Xen version 4.6-unstable (root@) (gcc (Debian 4.9.2-10) 4.9.2) debug=y Wed Mar 11 19:20:10 CDT 2015 (XEN) Latest ChangeSet: Tue Mar 3 17:02:22 2015 + git:f919dbc (XEN) Bootloader: GRUB 2.02~beta2-22 (XEN) Command line: placeholder loglvl=all guest_loglvl=all com1=115200 console=com1,vga loglvl=all guest_loglvl=all vga=gfx-1920x1080x32 (XEN) Video information: (XEN) VGA is graphics mode 1920x1080, 32 bpp (XEN) VBE/DDC methods: V2; EDID transfer time: 1 seconds (XEN) Disc information: (XEN) Found 5 MBR signatures (XEN) Found 5 EDD information structures (XEN) Xen-e820 RAM map: (XEN) - 0009e800 (usable) (XEN) 0009e800 - 000a (reserved) (XEN) 000e - 0010 (reserved) (XEN) 0010 - 9a763000 (usable) (XEN) 9a763000 - 9ab97000 (reserved) (XEN) 9ab97000 - 9aba7000 (ACPI data) (XEN) 9aba7000 - 9b9af000 (ACPI NVS) (XEN) 9b9af000 - 9ca34000 (reserved) (XEN) 9ca34000 - 9ca35000 (usable) (XEN) 9ca35000 - 9cc3b000 (ACPI NVS) (XEN) 9cc3b000 - 9d083000 (usable) (XEN) 9d083000 - 9d7f4000 (reserved) (XEN) 9d7f4000 - 9d80 (usable) (XEN) f800 - fc00 (reserved) (XEN) fec0 - fec01000 (reserved) (XEN) fec1 - fec11000 (reserved) (XEN) fec2 - fec21000 (reserved) (XEN) fed0 - fed01000 (reserved) (XEN) fed61000 - fed71000 (reserved) (XEN) fed8 - fed9 (reserved) (XEN) fef0 - 0001 (reserved) (XEN) 00011000 - 00045f00 (usable) (XEN) ACPI: RSDP 000F0490, 0024 (r2 ALASKA) (XEN) ACPI: XSDT 9AB9E070, 005C (r1 ALASKAA M I 1072009 AMI 10013) (XEN) ACPI: FACP 9ABA5110, 010C (r5 ALASKAA M I 1072009 AMI 10013) (XEN) ACPI Warning (tbfadt-0464): Optional field "Pm2ControlBlock" has zero address or length: /1 [20070126] (XEN) ACPI: DSDT 9AB9E168, 6FA8 (r2 ALASKAA M I0 INTL 20051117) (XEN) ACPI: FACS 9B9A9F80, 0040 (XEN) ACPI: APIC 9ABA5220, 009E (r3 ALASKAA M I 1072009 AMI 10013) (XEN) ACPI: FPDT 9ABA52C0, 0044 (r1 ALASKAA M I 1072009 AMI 10013) (XEN) ACPI: MCFG 9ABA5308, 003C (r1 ALASKAA M I 1072009 MSFT10013) (XEN) ACPI: HPET 9ABA5348, 0038 (r1 ALASKAA M I 1072009 AMI 5) (XEN) ACPI: IVRS 9ABA6AF0, 0100 (r1 AMD RD890S 202031 AMD 0) (XEN) ACPI: SSDT 9ABA53D8, 1714 (r1 AMDPOWERNOW1 AMD 1) (XEN) System RAM: 16283MB (16674132kB) (XEN) No NUMA configuration found (XEN) Faking a node at -00045f00 (XEN) Domain heap initialised (XEN) vesafb: framebuffer at 0xc000, mapped to 0x82c000201000, using 8192k, total 16384k (XEN) vesafb: mode is 1920x1080x32, linelength=7680, font 8x16 (XEN) vesafb: Truecolor: size=0:8:8:8, shift=0:16:8:0 (XEN) Couldn't initialize a 1920x1080 framebuffer early. (XEN) DMI 2.7 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0x808 (XEN) ACPI: v5 SLEEP INFO: control[0:0], status[0:0] (XEN) ACPI: SLEEP INFO: pm1x_cnt[1:804,1:0], pm1x_evt[1:800,1:0] (XEN) ACPI: 32/64X FACS address mismatch in FADT - 9b9a9f80/, using 32 (XEN) ACPI: wakeup_vec[9b9a9f8c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee0 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x10] enabled) (XEN) Processor #16 5:2 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x11] enabled) (XEN) Processor #17 5:2 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x12] enabled) (XEN) Processor #18 5:2 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x13] enabled) (XEN) Processor #19 5:2 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x05] lapic_id[0x14] enabled) (XEN) Processor #20 5:2 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x06] lapic_id[0x15] enabled) (XEN) Processor #21 5:2 APIC version 16 (XEN) ACPI: L
Some issues with the new amdgpu driver
On 05/09/2015 03:34 AM, Michel Dänzer wrote: > On 09.05.2015 11:44, Brian Paterni wrote: >> On 05/07/2015 04:07 AM, Michel Dänzer wrote: >>> On 06.05.2015 12:12, Brian Paterni wrote: >>>> >>>> I was on irc a few days ago trying to get the new amdgpu driver up and >>>> running on my system. I am able to get the kernel booted successfully, >>>> however X via amdgpu is turning out to be a real roadblock. It is the >>>> problem with amdgpu_drv.so seeing gbm_create_device as an undefined >>>> symbol. From what little I understand, I may be needing a more recent >>>> xserver to resolve this... >>> >>> I don't think that would help. >>> >>> Does the attached xf86-video-amdgpu patch fix the problem? >>> >>> If not, you can manually load the glamoregl module in /etc/X11/xorg.conf >>> to pull in libgbm: >>> >>> Section "Module" >>> Load"glamoregl" >>> EndSection >>> >>> >> >> Hi Michel, thanks for the reply. I got around to recompiling the stack >> from the latest trees as noted by Alex earlier. However, I'm afraid >> something may have changed recently and I may be needing a newer xserver >> after all. Loading amdgpu_drv.so now results in: >> >> [ 1122.347] (EE) module ABI major version (19) doesn't match the >> server's version (18) > > That just means the driver it's trying to load wasn't built against the > same version of xserver. Make sure the xf86-video-amdgpu build is > picking up the xorg-server.pc and header files of the same version of > xserver you're trying to run. > > Oops! Looks like I forgot to cc the mailing list. I think my version mismatch issues above may have been resolved by a recent upload of xserver-xorg-core 2:1.17.1-2 to debian unstable(?)... As a result, I could finally test Michel's patch, and I am happy to say that X via amdgpu is now working for me! Thanks to Michel! :) However, the two additional issues mentioned in my initial post are still present: *) Non-working DVI-I-0 -- even if I use xrandr to turn it off and on again, a signal is never acquired. *) System lockup on xen boot (even magic sysrq is not recognized)
Some issues with the new amdgpu driver
Hi I was on irc a few days ago trying to get the new amdgpu driver up and running on my system. I am able to get the kernel booted successfully, however X via amdgpu is turning out to be a real roadblock. It is the problem with amdgpu_drv.so seeing gbm_create_device as an undefined symbol. From what little I understand, I may be needing a more recent xserver to resolve this... But even with a non-working X for amdgpu, I'm still seeing some issues with the amdgpu kernel driver: - booting with dual displays is a problem for me. On boot, the display connected to the DVI-I port seems to get stuck in a loop of attempting to acquire a signal. (The 'DVI No Signal' overlay message flashes and screen blanks repeatedly with no actual output ever displayed) So far I've only connected displays to the two DVI ports (DVI-D and DVI-I) - xen boot hard locks the system with no ssh access Understandably, AMDGPU has only recently been released, and hopefully you folks are already aware of these problems. But if not, I thought I would chime in with some user feedback. Attached should be my dmesg if needed Many thanks to the people working on this! :) -- next part -- [0.776808] pci :00:0a.0: bridge window [mem 0xfdc0-0xfe3f] [0.776813] pci :00:0b.0: PCI bridge to [bus 06] [0.776817] pci :00:0b.0: bridge window [io 0xb000-0xbfff] [0.776821] pci :00:0b.0: bridge window [mem 0xfe60-0xfe6f] [0.776825] pci :00:0b.0: bridge window [mem 0xa000-0xb01f 64bit pref] [0.776831] pci :00:0d.0: PCI bridge to [bus 07] [0.776838] pci :00:14.4: PCI bridge to [bus 08] [0.776848] pci :00:15.0: PCI bridge to [bus 09] [0.776857] pci :00:15.1: PCI bridge to [bus 0a] [0.776861] pci :00:15.1: bridge window [io 0xa000-0xafff] [0.776868] pci :00:15.1: bridge window [mem 0xd030-0xd03f 64bit pref] [0.776875] pci :00:15.2: PCI bridge to [bus 0b] [0.776880] pci :00:15.2: bridge window [mem 0xfe50-0xfe5f] [0.776887] pci :00:15.3: PCI bridge to [bus 0c] [0.776892] pci :00:15.3: bridge window [mem 0xfe40-0xfe4f] [0.776900] pci_bus :00: resource 4 [io 0x-0x03af window] [0.776902] pci_bus :00: resource 5 [io 0x03e0-0x0cf7 window] [0.776903] pci_bus :00: resource 6 [io 0x03b0-0x03df window] [0.776904] pci_bus :00: resource 7 [io 0x0d00-0x window] [0.776906] pci_bus :00: resource 8 [mem 0x000a-0x000b window] [0.776907] pci_bus :00: resource 9 [mem 0x000c-0x000d window] [0.776909] pci_bus :00: resource 10 [mem 0xa000-0x window] [0.776910] pci_bus :01: resource 0 [io 0xe000-0xefff] [0.776912] pci_bus :01: resource 1 [mem 0xfea0-0xfeaf] [0.776913] pci_bus :01: resource 2 [mem 0xc000-0xd01f 64bit pref] [0.776914] pci_bus :02: resource 0 [io 0xd000-0xdfff] [0.776916] pci_bus :02: resource 1 [mem 0xfe90-0xfe9f] [0.776917] pci_bus :03: resource 0 [io 0xc000-0xcfff] [0.776918] pci_bus :03: resource 1 [mem 0xfe80-0xfe8f] [0.776920] pci_bus :04: resource 1 [mem 0xfe70-0xfe7f] [0.776921] pci_bus :05: resource 1 [mem 0xfdc0-0xfe3f] [0.776922] pci_bus :06: resource 0 [io 0xb000-0xbfff] [0.776923] pci_bus :06: resource 1 [mem 0xfe60-0xfe6f] [0.776925] pci_bus :06: resource 2 [mem 0xa000-0xb01f 64bit pref] [0.776927] pci_bus :08: resource 4 [io 0x-0x03af window] [0.776928] pci_bus :08: resource 5 [io 0x03e0-0x0cf7 window] [0.776929] pci_bus :08: resource 6 [io 0x03b0-0x03df window] [0.776930] pci_bus :08: resource 7 [io 0x0d00-0x window] [0.776932] pci_bus :08: resource 8 [mem 0x000a-0x000b window] [0.776933] pci_bus :08: resource 9 [mem 0x000c-0x000d window] [0.776934] pci_bus :08: resource 10 [mem 0xa000-0x window] [0.776936] pci_bus :0a: resource 0 [io 0xa000-0xafff] [0.776937] pci_bus :0a: resource 2 [mem 0xd030-0xd03f 64bit pref] [0.776939] pci_bus :0b: resource 1 [mem 0xfe50-0xfe5f] [0.776940] pci_bus :0c: resource 1 [mem 0xfe40-0xfe4f] [0.777018] NET: Registered protocol family 2 [0.777232] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [0.777501] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [0.777692] TCP: Hash tables configured (established 131072 bind 65536) [0.21] TCP: reno registered [0.41] UDP hash table entries: 8192 (order: 6, 262144 bytes) [0.777809] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes) [0.777938] NET: Registered protocol family 1 [1.071099] pci :01:00.0: Video device with shadowed ROM [1.071457] PCI: CLS 64 bytes, default 64 [