[radeonsi, regression] All my Steam games fail to load into the 3D-engine-powered part (SIGPWR and SIGXCPU)

Kai Wasserbäch kai at dev.carbon-project.org
Sat Nov 15 13:22:47 PST 2014


Kai Wasserbäch wrote on 15.11.2014 16:33:
> Is there anything besides a bisect you would need to debug this?

Ok, I did a bisection, but that time was wasted for sure. My "first bad commit"
isn't bad at all. Is there any way to improve that experience? I'm really loathe
to go through the dozen boots again, just to get another broken bisection.

I noticed, however, that the following line is showing up with be762d181e in dmesg:
[drm:ci_dpm_init [radeon]] *ERROR* Invalid PCC GPIO!== power state 0 ==

And when I run any game and hit that SIGPWR, then the following shows up in dmesg:
[  154.120246] BUG: unable to handle kernel paging request at ffffeae38016fec8
[  154.120272] IP: [<ffffffff8111e6b1>] virt_to_head_page+0x33/0x4a
[  154.120293] PGD 0
[  154.120300] Oops: 0000 [#1] SMP
[  154.120312] Modules linked in: serpent_avx_x86_64 serpent_sse2_x86_64
serpent_generic blowfish_x86_64 blowfish_common ecb cmac sha512_ssse3
sha512_generic sha256_ssse3 sha256_generic nfsd auth_rpcgss oid_registry nfs_acl
nfs lockd grace fscache sunrpc nls_utf8 nls_cp437 vfat fat x86_pkg_temp_thermal
coretemp iTCO_wdt kvm_intel snd_hda_codec_realtek radeon snd_hda_codec_generic
snd_hda_codec_hdmi joydev snd_hda_intel iTCO_vendor_support drm_kms_helper ttm
snd_hda_controller kvm snd_hda_codec evdev snd_hwdep snd_pcm_oss snd_mixer_oss
snd_pcm snd_timer lpc_ich mfd_core mei_me mei snd i2c_i801 soundcore processor
efivars button video serio_raw pcspkr fuse parport_pc ppdev lp parport ext4
crc16 mbcache jbd2 btrfs xor raid6_pq twofish_generic twofish_avx_x86_64
twofish_x86_64_3way twofish_x86_64 twofish_common
[  154.120568]  xts af_alg hid_generic usbhid dm_crypt dm_mod microcode
hid_lg_g710_plus(O) hid sg sr_mod cdrom sd_mod crct10dif_pclmul crc32c_intel
ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper
cryptd ahci libahci libata atl1c thermal fan thermal_sys
[  154.120659] CPU: 0 PID: 2041 Comm: Dreamfall Chapt Tainted: G           O
3.18.0-rc4-citadel-3.18-rc1+agd5f-3.19-wip.0.git-be762d181e #1
[  154.120691] Hardware name: Gigabyte Technology Co., Ltd. To be filled by
O.E.M./Z77-DS3H, BIOS F11a 11/13/2013
[  154.120717] task: ffff8803dba9ca90 ti: ffff8803f5bdc000 task.ti: ffff8803f5bdc000
[  154.120737] RIP: 0010:[<ffffffff8111e6b1>]  [<ffffffff8111e6b1>]
virt_to_head_page+0x33/0x4a
[  154.120760] RSP: 0018:ffff8803f5bdfcf0  EFLAGS: 00010082
[  154.120774] RAX: ffffeae38016fec8 RBX: 0000000000000286 RCX: 000077ff80000000
[  154.120793] RDX: ffffea0000000000 RSI: ffff8803f5bdfd30 RDI: ffffc9000691f000
[  154.120812] RBP: ffffc9000691f000 R08: 0000000000000000 R09: ffff8800dedf5008
[  154.120830] R10: ffff8800dedf4fe0 R11: 000000000007ffff R12: ffffffffa049adde
[  154.120849] R13: ffff8803f5bdfd30 R14: ffff88038f465ec0 R15: ffff88038f1166c0
[  154.120867] FS:  00007f6efa8ed780(0000) GS:ffff88041ec00000(0000)
knlGS:0000000000000000
[  154.120888] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  154.120903] CR2: ffffeae38016fec8 CR3: 00000003f69e6000 CR4: 00000000001407f0
[  154.120922] Stack:
[  154.120928]  ffffffff8111eda1 ffff8803f5bdfde0 0000000000000000 ffff8800dedf4000
[  154.120950]  ffffffffa049adde ffffc9000691f000 00000000a049a458 0000000000000000
[  154.120973]  ffffc900069200f0 ffff8803f5bdfd58 ffff8803dba9ca90 00000000000021af
[  154.120995] Call Trace:
[  154.121004]  [<ffffffff8111eda1>] ? kfree+0x2e/0x6d
[  154.121028]  [<ffffffffa049adde>] ? radeon_gem_va_ioctl+0x284/0x2dc [radeon]
[  154.121055]  [<ffffffffa049a601>] ? radeon_gem_create_ioctl+0xa6/0xc3 [radeon]
[  154.121076]  [<ffffffff812be431>] ? drm_ioctl+0x35b/0x3e1
[  154.121097]  [<ffffffffa049ab5a>] ? radeon_gem_get_tiling_ioctl+0x8e/0x8e
[radeon]
[  154.121118]  [<ffffffff81440d8c>] ? _raw_spin_unlock_irqrestore+0xc/0xd
[  154.121137]  [<ffffffff8106fcf1>] ? set_next_entity+0x37/0x89
[  154.121157]  [<ffffffffa047604b>] ? radeon_drm_ioctl+0x4b/0x7a [radeon]
[  154.121176]  [<ffffffff8113e795>] ? do_vfs_ioctl+0x34e/0x404
[  154.121192]  [<ffffffff8106849d>] ? finish_task_switch+0x85/0xe0
[  154.121209]  [<ffffffff8143e85e>] ? __schedule+0x376/0x524
[  154.121225]  [<ffffffff8113e89c>] ? SyS_ioctl+0x51/0x77
[  154.121239]  [<ffffffff81441329>] ? system_call_fastpath+0x12/0x17
[  154.121256] Code: 00 00 80 ff 77 00 00 48 01 fa 48 0f 42 0d 78 99 6f 00 48 8d
04 11 48 ba 00 00 00 00 00 ea ff ff 48 c1 e8 0c 48 6b c0 38 48 01 d0 <48> 8b 10
80 e6 80 74 0e 48 8b 50 30 48 8b 08 80 e5 80 48 0f 45
[  154.121371] RIP  [<ffffffff8111e6b1>] virt_to_head_page+0x33/0x4a
[  154.121389]  RSP <ffff8803f5bdfcf0>
[  154.121398] CR2: ffffeae38016fec8
[  154.133289] ---[ end trace f4a1176ae520c6e2 ]---

gdb itself shows (taken from the first time I hit this bug) with Dreamfall
Chapters (but as I've written before, other games like Borderlands 2/The
Pre-Sequel using Steam fail as well):
0x00007fabd96db18d in poll () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) c
Continuing.

Program received signal SIGPWR, Power fail/restart.
[Switching to Thread 0x7fabd4f37700 (LWP 1959)]
sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
85      ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: No such file or
directory.
(gdb) bt full
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
No locals.
#1  0x00007fabd58984f3 in mono_sem_wait () from
/home/kai/.local/share/Steam/SteamApps/common/Dreamfall Chapters/Dreamfall
Chapters_Data/Mono/x86_64/libmono.so
No symbol table info available.
#2  0x00007fabd57fea3b in ?? () from
/home/kai/.local/share/Steam/SteamApps/common/Dreamfall Chapters/Dreamfall
Chapters_Data/Mono/x86_64/libmono.so
No symbol table info available.
#3  0x00007fabd5869085 in ?? () from
/home/kai/.local/share/Steam/SteamApps/common/Dreamfall Chapters/Dreamfall
Chapters_Data/Mono/x86_64/libmono.so
No symbol table info available.
#4  0x00007fabd5890118 in ?? () from
/home/kai/.local/share/Steam/SteamApps/common/Dreamfall Chapters/Dreamfall
Chapters_Data/Mono/x86_64/libmono.so
No symbol table info available.
#5  0x00007fabd58b1389 in ?? () from
/home/kai/.local/share/Steam/SteamApps/common/Dreamfall Chapters/Dreamfall
Chapters_Data/Mono/x86_64/libmono.so
No symbol table info available.
#6  0x00007fabdaf2e0a4 in start_thread (arg=0x7fabd4f37700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7fabd4f37700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140375988860672,
-6352670935743070686, 0, 140376098332768, 140375998660696, 140375988860672,
6377500145404476962, 6377504531018677794}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0,
              canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007fabd96e3ccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb) info registers all
rax            0xfffffffffffffe00       -512
rbx            0x7fabd5bbbfd0   140376001986512
rcx            0xffffffffffffffff       -1
rdx            0x0      0
rsi            0x80     128
rdi            0x7fabd5bbbfd0   140376001986512
rbp            0x0      0x0
rsp            0x7fabd4f36d70   0x7fabd4f36d70
r8             0x0      0
r9             0x0      0
r10            0x0      0
r11            0x246    582
r12            0x7fabd57fe9e5   140375998065125
r13            0x0      0
r14            0x0      0
r15            0x7fabd4f36dd8   140375988858328
rip            0x7fabdaf34050   0x7fabdaf34050 <sem_wait+48>
eflags         0x246    [ PF ZF IF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x27f    639
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
mxcsr          0x1fa0   [ PE IM DM ZM OM UM PM ]
ymm0           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0x0 <repeats 24 times>}, v16_int16 = {0xffff, 0xffff, 0xffff,
0xffff, 0x0 <repeats 12 times>},
  v8_int32 = {0xffffffff, 0xffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0xffffffffffffffff, 0x0, 0x0, 0x0}, v2_int128 =
{0x0000000000000000ffffffffffffffff, 0x00000000000000000000000000000000}}
ymm1           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm2           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm3           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm4           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x20, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74,
0x20, 0x0 <repeats 24 times>}, v16_int16 = {0x6f20, 0x6a62, 0x6365, 0x2074, 0x0
<repeats 12 times>}, v8_int32 = {
    0x6a626f20, 0x20746365, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x207463656a626f20, 0x0, 0x0, 0x0}, v2_int128 =
{0x0000000000000000207463656a626f20, 0x00000000000000000000000000000000}}
ymm5           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0x68, 0x65, 0x63, 0x6b, 0x70,
0x6f, 0x69, 0x6e, 0x0 <repeats 24 times>}, v16_int16 = {0x6568, 0x6b63, 0x6f70,
0x6e69, 0x0 <repeats 12 times>},
  v8_int32 = {0x6b636568, 0x6e696f70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x6e696f706b636568, 0x0, 0x0, 0x0}, v2_int128 =
{0x00000000000000006e696f706b636568, 0x00000000000000000000000000000000}}
ymm6           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0x65, 0x5f, 0x69, 0x6e, 0x74,
0x65, 0x72, 0x72, 0x0 <repeats 24 times>}, v16_int16 = {0x5f65, 0x6e69, 0x6574,
0x7272, 0x0 <repeats 12 times>},
  v8_int32 = {0x6e695f65, 0x72726574, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 =
{0x727265746e695f65, 0x0, 0x0, 0x0}, v2_int128 =
{0x0000000000000000727265746e695f65, 0x00000000000000000000000000000000}}
ymm7           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm8           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm9           {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xff, 0x0 <repeats 21 times>}, v16_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0xff,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0}, v8_int32 = {0x0, 0x0, 0xff0000, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0xff0000, 0x0, 0x0}, v2_int128 =
{0x0000000000ff00000000000000000000, 0x00000000000000000000000000000000}}
ymm10          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm11          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x8000000000000000, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0xff, 0x0 <repeats 24 times>}, v16_int16 = {0x0, 0x0, 0x0, 0xff00, 0x0
<repeats 12 times>}, v8_int32 = {0x0,
    0xff000000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xff00000000000000,
0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000ff00000000000000,
0x00000000000000000000000000000000}}
ymm12          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm13          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm14          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}
ymm15          {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double =
{0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0
<repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0},
v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = {
    0x00000000000000000000000000000000, 0x00000000000000000000000000000000}}

Stuff like KDE's desktop effects (renderer settings: OpenGL 3.1, native) or
glxgears don't trigger this bug.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 648 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141115/361f4ce4/attachment.sig>


More information about the dri-devel mailing list