Page 1 of 1

ToME freeze xorg under Ubuntu 16.04 (radeon graphic card)

Posted: Mon Apr 24, 2017 12:47 pm
by psycojoker
Hello,

When I try to play to ToME under my Ubuntu 16.04 (was the same with 14.04), ToME randomly freeze Xorg (and it's nearly systematic when I try to play the addon Ashes of Urh'Rok Doombringer right in its starting zone). From the logs, it appears that this is a GPU crash.

It's the only game that I have that does that (and I have ... way too many games.)

I'm using the latest GoG versions (but it was already there in the previous ones since some months):

* Tales of Maj'Eyal 1.5.3
* Ashes of Urh'Rok 1.0.6 (gog-11)

Here is the dmesg log:
[70411.786437] radeon 0000:01:00.0: ring 0 stalled for more than 10028msec
[70411.786441] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000005f69da last fence id 0x00000000005f69e1 on ring 0)
[70412.004429] radeon 0000:01:00.0: Saved 242 dwords of commands on ring 0.
[70412.004447] radeon 0000:01:00.0: GPU softreset: 0x0000000D
[70412.004448] radeon 0000:01:00.0: GRBM_STATUS = 0xE5700828
[70412.004450] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0xFC000001
[70412.004452] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000007
[70412.004453] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
[70412.004454] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[70412.004456] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[70412.004458] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00010800
[70412.004459] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00028006
[70412.004461] radeon 0000:01:00.0: R_008680_CP_STAT = 0x80038647
[70412.004462] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44483106
[70412.027718] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B
[70412.027771] radeon 0000:01:00.0: SRBM_SOFT_RESET=0x00100100
[70412.028917] radeon 0000:01:00.0: GRBM_STATUS = 0x00003828
[70412.028918] radeon 0000:01:00.0: GRBM_STATUS_SE0 = 0x00000007
[70412.028920] radeon 0000:01:00.0: GRBM_STATUS_SE1 = 0x00000007
[70412.028921] radeon 0000:01:00.0: SRBM_STATUS = 0x200000C0
[70412.028923] radeon 0000:01:00.0: SRBM_STATUS2 = 0x00000000
[70412.028924] radeon 0000:01:00.0: R_008674_CP_STALLED_STAT1 = 0x00000000
[70412.028926] radeon 0000:01:00.0: R_008678_CP_STALLED_STAT2 = 0x00000000
[70412.028927] radeon 0000:01:00.0: R_00867C_CP_BUSY_STAT = 0x00000000
[70412.028929] radeon 0000:01:00.0: R_008680_CP_STAT = 0x00000000
[70412.028931] radeon 0000:01:00.0: R_00D034_DMA_STATUS_REG = 0x44C83D57
[70412.028947] radeon 0000:01:00.0: GPU reset succeeded, trying to resume
[70412.051243] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[70412.053781] [drm] PCIE GART of 1024M enabled (table at 0x0000000000274000).
[70412.053872] radeon 0000:01:00.0: WB enabled
[70412.053874] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff8804269e2c00
[70412.053875] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff8804269e2c0c
[70412.055357] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90002832118
[70412.071531] [drm] ring test on 0 succeeded in 3 usecs
[70412.071543] [drm] ring test on 3 succeeded in 6 usecs
[70412.247246] [drm] ring test on 5 succeeded in 2 usecs
[70412.247255] [drm] UVD initialized successfully.
[70422.286827] radeon 0000:01:00.0: ring 0 stalled for more than 10040msec
[70422.286832] radeon 0000:01:00.0: GPU lockup (current fence id 0x00000000005f69db last fence id 0x00000000005f69e2 on ring 0)
[70422.286901] [drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait failed (-35).
[70422.286921] [drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing IB on GFX ring (-35).
I have a Radeon HD 6400 Series GPU, here is my full hardware configuration:
H/W path Device Class Description
=============================================================
system MS-7728 (To be filled by O.E.M.)
/0 bus MS-7728
/0/0 memory 64KiB BIOS
/0/4 processor Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
/0/4/5 memory 32KiB L1 cache
/0/4/6 memory 256KiB L2 cache
/0/4/7 memory 8MiB L3 cache
/0/2a memory 16GiB System Memory
/0/2a/0 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
/0/2a/1 memory 8GiB DIMM DDR3 Synchronous 1333 MHz (0,8 ns)
/0/100 bridge 2nd Generation Core Processor Family DRAM Controller
/0/100/1 bridge Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port
/0/100/1/0 display Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
/0/100/1/0.1 multimedia Caicos HDMI Audio [Radeon HD 6400 Series]
/0/100/16 communication 6 Series/C200 Series Chipset Family MEI Controller #1
/0/100/1a bus 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
/0/100/1a/1 usb1 bus EHCI Host Controller
/0/100/1a/1/1 bus Integrated Rate Matching Hub
/0/100/1b multimedia 6 Series/C200 Series Chipset Family High Definition Audio Controller
/0/100/1c bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 1
/0/100/1c.4 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 5
/0/100/1c.4/0 bus ASM1042 SuperSpeed USB Host Controller
/0/100/1c.4/0/0 usb4 bus xHCI Host Controller
/0/100/1c.4/0/1 usb3 bus xHCI Host Controller
/0/100/1c.4/0/1/2 generic SAMSUNG_Android
/0/100/1c.5 bridge 6 Series/C200 Series Chipset Family PCI Express Root Port 6
/0/100/1c.5/0 eth0 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1d bus 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
/0/100/1d/1 usb2 bus EHCI Host Controller
/0/100/1d/1/1 bus Integrated Rate Matching Hub
/0/100/1d/1/1/2 input Chicony wired mouse
/0/100/1d/1/1/5 scsi6 storage Mass Storage Device
/0/100/1d/1/1/5/0.0.0 /dev/sdb disk SCSI Disk
/0/100/1f bridge H61 Express Chipset Family LPC Controller
/0/100/1f.2 storage 6 Series/C200 Series Chipset Family SATA AHCI Controller
/0/100/1f.3 bus 6 Series/C200 Series Chipset Family SMBus Controller
/0/1 scsi0 storage
/0/1/0.0.0 /dev/sda disk 2TB WDC WD20EZRX-22D
/0/1/0.0.0/1 /dev/sda1 volume 100MiB Windows NTFS volume
/0/1/0.0.0/2 /dev/sda2 volume 931GiB Windows NTFS volume
/0/1/0.0.0/3 /dev/sda3 volume 823GiB EXT4 volume
/0/1/0.0.0/4 /dev/sda4 volume 108GiB Extended partition
/0/1/0.0.0/4/5 /dev/sda5 volume 93GiB Linux filesystem partition
/0/1/0.0.0/4/6 /dev/sda6 volume 14GiB Linux swap / Solaris partition
/0/2 scsi1 storage
/0/2/0.0.0 /dev/cdrom disk CDDVDW SH-216AB
/1 power To Be Filled By O.E.M.
/2 power To Be Filled By O.E.M.
/3 virbr0-nic network Ethernet interface
Don't hesitate to ask if you need more information/logs/other/testing.

Thanks a lot for this game, I've lost way too much time on it :P