Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
s3tc external lib gpu crash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Ormaaj
Guru
Guru


Joined: 28 Jan 2008
Posts: 319

PostPosted: Wed Aug 24, 2011 4:53 am    Post subject: s3tc external lib gpu crash Reply with quote

I'm wondering if anyone with similar hardware can reproduce this. So far crash occurs when running wine software which uses it. Radeon 4870 using r600g/KMS and obviously a 3.0.3 kernel with ck's patches. Wine, mesa, and xf86-video-ati all built from git, however this has been a somewhat long-standing problem.

This was generated immediately after launching Oblivion under wine and only occurs when libtxc_dxtn is present.
Code:
Aug 23 23:10:06 ormaaj kernel: [111877.390710] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec
Aug 23 23:10:06 ormaaj kernel: [111877.390712] ------------[ cut here ]------------
Aug 23 23:10:06 ormaaj kernel: [111877.390718] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x2f1/0x330()
Aug 23 23:10:06 ormaaj kernel: [111877.390720] Hardware name: System Product Name
Aug 23 23:10:06 ormaaj kernel: [111877.390721] GPU lockup (waiting for 0x007C1DB6 last fence id 0x007C1DB5)
Aug 23 23:10:06 ormaaj kernel: [111877.390723] Modules linked in: snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device snd_hda_codec_hdmi snd_hda_codec_analog psmouse snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore snd_page_alloc
Aug 23 23:10:06 ormaaj kernel: [111877.390736] Pid: 21413, comm: X Not tainted 3.0.2-pf+ #34
Aug 23 23:10:06 ormaaj kernel: [111877.390737] Call Trace:
Aug 23 23:10:06 ormaaj kernel: [111877.390740]  [<ffffffff8145a900>] ? radeon_fence_wait+0x2c0/0x330
Aug 23 23:10:06 ormaaj kernel: [111877.390744]  [<ffffffff810400cb>] ? warn_slowpath_common+0x7b/0xc0
Aug 23 23:10:06 ormaaj kernel: [111877.390746]  [<ffffffff810401c5>] ? warn_slowpath_fmt+0x45/0x50
Aug 23 23:10:06 ormaaj kernel: [111877.390749]  [<ffffffff8145a931>] ? radeon_fence_wait+0x2f1/0x330
Aug 23 23:10:06 ormaaj kernel: [111877.390753]  [<ffffffff8105bc70>] ? add_wait_queue+0x60/0x60
Aug 23 23:10:06 ormaaj kernel: [111877.390756]  [<ffffffff81474fba>] ? radeon_ib_get+0x12a/0x1b0
Aug 23 23:10:06 ormaaj kernel: [111877.390759]  [<ffffffff8147678d>] ? radeon_cs_ioctl+0x9d/0x210
Aug 23 23:10:06 ormaaj kernel: [111877.390763]  [<ffffffff8140e33c>] ? drm_ioctl+0x39c/0x460
Aug 23 23:10:06 ormaaj kernel: [111877.390765]  [<ffffffff814766f0>] ? radeon_cs_finish_pages+0xa0/0xa0
Aug 23 23:10:06 ormaaj kernel: [111877.390767]  [<ffffffff8105f68a>] ? __hrtimer_start_range_ns+0x16a/0x3e0
Aug 23 23:10:06 ormaaj kernel: [111877.390770]  [<ffffffff810ee26e>] ? do_vfs_ioctl+0x8e/0x4f0
Aug 23 23:10:06 ormaaj kernel: [111877.390772]  [<ffffffff810ee768>] ? sys_ioctl+0x98/0xa0
Aug 23 23:10:06 ormaaj kernel: [111877.390774]  [<ffffffff810dd4b7>] ? sys_read+0x47/0x90
Aug 23 23:10:06 ormaaj kernel: [111877.390777]  [<ffffffff817cd4bb>] ? system_call_fastpath+0x16/0x1b
Aug 23 23:10:06 ormaaj kernel: [111877.390778] ---[ end trace 4ae9a845ec54694c ]---
Aug 23 23:10:06 ormaaj kernel: [111877.406807] radeon 0000:02:00.0: GPU softreset
Aug 23 23:10:06 ormaaj kernel: [111877.406809] radeon 0000:02:00.0:   R_008010_GRBM_STATUS=0xF5724028
Aug 23 23:10:06 ormaaj kernel: [111877.406811] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2=0x3FFFFF02
Aug 23 23:10:06 ormaaj kernel: [111877.406812] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS=0x200000C0
Aug 23 23:10:06 ormaaj kernel: [111877.406819] radeon 0000:02:00.0:   R_008020_GRBM_SOFT_RESET=0x00007FEE
Aug 23 23:10:06 ormaaj kernel: [111877.421811] radeon 0000:02:00.0: R_008020_GRBM_SOFT_RESET=0x00000001
Aug 23 23:10:06 ormaaj kernel: [111877.437773] radeon 0000:02:00.0:   R_008010_GRBM_STATUS=0x00003028
Aug 23 23:10:06 ormaaj kernel: [111877.437775] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2=0x00000002
Aug 23 23:10:06 ormaaj kernel: [111877.437776] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS=0x200000C0
Aug 23 23:10:06 ormaaj kernel: [111877.438819] radeon 0000:02:00.0: GPU reset succeed
Aug 23 23:10:06 ormaaj kernel: [111877.505207] radeon 0000:02:00.0: WB enabled
Aug 23 23:10:06 ormaaj kernel: [111877.551556] [drm] ring test succeeded in 1 usecs
Aug 23 23:10:06 ormaaj kernel: [111877.551561] [drm] ib test succeeded in 1 usecs
Aug 23 23:10:18 ormaaj kernel: [111888.699287] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec
Aug 23 23:10:18 ormaaj kernel: [111888.699289] ------------[ cut here ]------------
Aug 23 23:10:18 ormaaj kernel: [111888.699294] WARNING: at drivers/gpu/drm/radeon/radeon_fence.c:267 radeon_fence_wait+0x2f1/0x330()
Aug 23 23:10:18 ormaaj kernel: [111888.699296] Hardware name: System Product Name
Aug 23 23:10:18 ormaaj kernel: [111888.699298] GPU lockup (waiting for 0x007C1E04 last fence id 0x007C1E03)
Aug 23 23:10:18 ormaaj kernel: [111888.699299] Modules linked in: snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device snd_hda_codec_hdmi snd_hda_codec_analog psmouse snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore snd_page_alloc
Aug 23 23:10:18 ormaaj kernel: [111888.699312] Pid: 21413, comm: X Tainted: G        W   3.0.2-pf+ #34
Aug 23 23:10:18 ormaaj kernel: [111888.699314] Call Trace:
Aug 23 23:10:18 ormaaj kernel: [111888.699317]  [<ffffffff8145a900>] ? radeon_fence_wait+0x2c0/0x330
Aug 23 23:10:18 ormaaj kernel: [111888.699321]  [<ffffffff810400cb>] ? warn_slowpath_common+0x7b/0xc0
Aug 23 23:10:18 ormaaj kernel: [111888.699323]  [<ffffffff810401c5>] ? warn_slowpath_fmt+0x45/0x50
Aug 23 23:10:18 ormaaj kernel: [111888.699326]  [<ffffffff8145a931>] ? radeon_fence_wait+0x2f1/0x330
Aug 23 23:10:18 ormaaj kernel: [111888.699329]  [<ffffffff8105bc70>] ? add_wait_queue+0x60/0x60
Aug 23 23:10:18 ormaaj kernel: [111888.699333]  [<ffffffff81474fba>] ? radeon_ib_get+0x12a/0x1b0
Aug 23 23:10:18 ormaaj kernel: [111888.699337]  [<ffffffff8147678d>] ? radeon_cs_ioctl+0x9d/0x210
Aug 23 23:10:18 ormaaj kernel: [111888.699339]  [<ffffffff8140e33c>] ? drm_ioctl+0x39c/0x460
Aug 23 23:10:18 ormaaj kernel: [111888.699340]  [<ffffffff814766f0>] ? radeon_cs_finish_pages+0xa0/0xa0
Aug 23 23:10:18 ormaaj kernel: [111888.699343]  [<ffffffff8105f68a>] ? __hrtimer_start_range_ns+0x16a/0x3e0
Aug 23 23:10:18 ormaaj kernel: [111888.699345]  [<ffffffff810ee26e>] ? do_vfs_ioctl+0x8e/0x4f0
Aug 23 23:10:18 ormaaj kernel: [111888.699347]  [<ffffffff810ee768>] ? sys_ioctl+0x98/0xa0
Aug 23 23:10:18 ormaaj kernel: [111888.699349]  [<ffffffff810dd4b7>] ? sys_read+0x47/0x90
Aug 23 23:10:18 ormaaj kernel: [111888.699352]  [<ffffffff817cd4bb>] ? system_call_fastpath+0x16/0x1b
Aug 23 23:10:18 ormaaj kernel: [111888.699353] ---[ end trace 4ae9a845ec54694d ]---
Aug 23 23:10:18 ormaaj kernel: [111888.715426] radeon 0000:02:00.0: GPU softreset
Aug 23 23:10:18 ormaaj kernel: [111888.715428] radeon 0000:02:00.0:   R_008010_GRBM_STATUS=0xF5705028
Aug 23 23:10:18 ormaaj kernel: [111888.715430] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2=0x00FF2102
Aug 23 23:10:18 ormaaj kernel: [111888.715432] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS=0x200000C0
Aug 23 23:10:18 ormaaj kernel: [111888.715438] radeon 0000:02:00.0:   R_008020_GRBM_SOFT_RESET=0x00007FEE
Aug 23 23:10:18 ormaaj kernel: [111888.730447] radeon 0000:02:00.0: R_008020_GRBM_SOFT_RESET=0x00000001
Aug 23 23:10:18 ormaaj kernel: [111888.746411] radeon 0000:02:00.0:   R_008010_GRBM_STATUS=0x00003028
Aug 23 23:10:18 ormaaj kernel: [111888.746413] radeon 0000:02:00.0:   R_008014_GRBM_STATUS2=0x00000002
Aug 23 23:10:18 ormaaj kernel: [111888.746415] radeon 0000:02:00.0:   R_000E50_SRBM_STATUS=0x200000C0
Aug 23 23:10:18 ormaaj kernel: [111888.747459] radeon 0000:02:00.0: GPU reset succeed
Aug 23 23:10:18 ormaaj kernel: [111888.813867] radeon 0000:02:00.0: WB enabled
Aug 23 23:10:18 ormaaj kernel: [111888.860217] [drm] ring test succeeded in 1 usecs
Aug 23 23:10:18 ormaaj kernel: [111888.860223] [drm] ib test succeeded in 1 usecs
Aug 23 23:10:29 ormaaj kernel: [111900.064706] radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

... etc. Repeated crash/reboot.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5881

PostPosted: Thu Aug 25, 2011 12:12 am    Post subject: Reply with quote

I don't think libtxc_dxtn has ever worked on r600.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5387

PostPosted: Thu Aug 25, 2011 5:40 am    Post subject: Reply with quote

no problems here afaik.

this seems more like driver issue than libtxc_dxtn issue.

try using with vanilla source.

this should go to desktop env sub forum as libtxc_dxtn is in the tree :)
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
pingufunkybeat
l33t
l33t


Joined: 01 Dec 2004
Posts: 610

PostPosted: Fri Aug 26, 2011 11:11 am    Post subject: Reply with quote

Ant P. wrote:
I don't think libtxc_dxtn has ever worked on r600.


It works fine, I finished Prey, Trine and some others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum