cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

MageSlayer
Journeyman III

X crashes when OpenCL+OpenGL used

Hi

I experience crashes when trying to use clCreateFromGLBuffer function. To reproduce it is sufficient to run BoxFilterGL sample fromATI stream sdk 2.3 samples. Error from syslog is in attachment.

Exactly the same crash log was emitted when starting X Window with following options left from 10.12 Catalyst version.

Option "OpenGLOverlay" "on" 
Option "Capabilities" "0x00000800"

Hope that'll help.

P.S. Tested under 5850 chipset, 2.6.37 Linux kernel, Xorg 1.8.2, Catalyst 11.2, ATI stream sdk 2.3.

 

Mar 1 22:41:41 den-desktop BUG: scheduling while atomic: BoxFilterGL/12166/0x00000002 Mar 1 22:41:41 den-desktop Modules linked in: bnep rfcomm l2cap snd_seq_midi snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq fglrx(P) snd_emu10k1 snd_rawmidi snd_ac97_codec ac97_bus snd_pcm snd_seq_device snd_timer snd_page_alloc snd_util_mem snd_hwdep snd e1000e e1000 scsi_wait_scan Mar 1 22:41:41 den-desktop Pid: 12166, comm: BoxFilterGL Tainted: P 2.6.37-pf4 #3 Mar 1 22:41:41 den-desktop Call Trace: Mar 1 22:41:41 den-desktop [<c14e465a>] ? schedule+0x86a/0xb00 Mar 1 22:41:41 den-desktop [<c1049abb>] ? autoremove_wake_function+0x1b/0x40 Mar 1 22:41:41 den-desktop [<f8a97048>] ? firegl_trace+0x28/0x190 [fglrx] Mar 1 22:41:41 den-desktop [<f8a64b20>] ? KAS_Event_Set+0x90/0xa0 [fglrx] Mar 1 22:41:41 den-desktop [<f8a97048>] ? firegl_trace+0x28/0x190 [fglrx] Mar 1 22:41:41 den-desktop [<c1049ced>] ? prepare_to_wait+0x1d/0x70 Mar 1 22:41:41 den-desktop [<f8a64bcf>] ? KAS_Thread_WaitForFinish+0x8f/0xc0 [fglrx] Mar 1 22:41:41 den-desktop [<c1049aa0>] ? autoremove_wake_function+0x0/0x40 Mar 1 22:41:41 den-desktop [<f8a8039a>] ? MCIL_WorkerThread+0x1da/0x2c0 [fglrx] Mar 1 22:41:41 den-desktop [<f8b3dbdd>] ? PassiveRing_Cleanup+0x6d/0xd0 [fglrx] Mar 1 22:41:41 den-desktop [<f8b4de9a>] ? DispatchRing_Cleanup+0x4a/0x60 [fglrx] Mar 1 22:41:41 den-desktop [<c107b065>] ? synchronize_irq+0x35/0xb0 Mar 1 22:41:41 den-desktop [<c107b1c0>] ? __free_irq+0xe0/0x1c0 Mar 1 22:41:41 den-desktop [<f8b3d0e1>] ? IRQMGR_FreeResources+0x21/0x60 [fglrx] Mar 1 22:41:41 den-desktop [<f8a8311e>] ? irqmgr_wrap_shutdown+0x17e/0x1d0 [fglrx] Mar 1 22:41:41 den-desktop [<f8a72cc9>] ? firegl_takedown+0x989/0xa60 [fglrx] Mar 1 22:41:41 den-desktop [<f8b53c9d>] ? amdPcsClose+0x3d/0x40 [fglrx] Mar 1 22:41:41 den-desktop [<f8a71b5f>] ? firegl_release+0x14f/0x220 [fglrx] Mar 1 22:41:41 den-desktop [<f8a6727b>] ? ip_firegl_release+0xb/0x10 [fglrx] Mar 1 22:41:41 den-desktop [<c10bee1e>] ? fput+0xae/0x1f0 Mar 1 22:41:41 den-desktop [<c10bbba7>] ? filp_close+0x47/0x80 Mar 1 22:41:41 den-desktop [<c1033a8a>] ? put_files_struct+0x7a/0xd0 Mar 1 22:41:41 den-desktop [<c10354be>] ? do_exit+0x63e/0x6a0 Mar 1 22:41:41 den-desktop [<c1058345>] ? futex_wait_queue_me+0xb5/0xf0 Mar 1 22:41:41 den-desktop [<c103e962>] ? __dequeue_signal+0x12/0x150 Mar 1 22:41:41 den-desktop [<c10584b6>] ? futex_wait+0x136/0x280 Mar 1 22:41:41 den-desktop [<c103555c>] ? do_group_exit+0x3c/0xa0 Mar 1 22:41:41 den-desktop [<c1040080>] ? get_signal_to_deliver+0x230/0x410 Mar 1 22:41:41 den-desktop [<c10023c3>] ? do_signal+0x93/0x860 Mar 1 22:41:41 den-desktop [<c105a015>] ? do_futex+0x115/0x960 Mar 1 22:41:41 den-desktop [<c10232e0>] ? do_page_fault+0x0/0x410 Mar 1 22:41:41 den-desktop [<c1023475>] ? do_page_fault+0x195/0x410 Mar 1 22:41:41 den-desktop [<c104d87b>] ? hrtimer_interrupt+0x1ab/0x2c0 Mar 1 22:41:41 den-desktop [<c105a8d6>] ? sys_futex+0x76/0x140 Mar 1 22:41:41 den-desktop [<c1002bdd>] ? do_notify_resume+0x4d/0x70 Mar 1 22:41:41 den-desktop [<c14e6962>] ? work_notifysig+0x13/0x19 Mar 1 22:41:41 den-desktop fglrx_pci 0000:01:00.0: irq 41 for MSI/MSI-X Mar 1 22:41:41 den-desktop [fglrx] Firegl kernel thread PID: 12185 Mar 1 22:41:41 den-desktop [fglrx] Firegl kernel thread PID: 12186 Mar 1 22:41:41 den-desktop [fglrx] Firegl kernel thread PID: 12187 Mar 1 22:41:41 den-desktop [fglrx] IRQ 41 Enabled Mar 1 22:41:42 den-desktop [fglrx] Gart USWC size:1248 M. Mar 1 22:41:42 den-desktop [fglrx] Gart cacheable size:494 M. Mar 1 22:41:42 den-desktop [fglrx] Reserved FB block: Shared offset:0, size:1000000 Mar 1 22:41:42 den-desktop [fglrx] Reserved FB block: Unshared offset:f917000, size:3e9000 Mar 1 22:41:42 den-desktop [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000

0 Likes
4 Replies
doodle
Journeyman III

Hello, 

I was having issue with the SDK on Ubuntu/64 also. I couldnt even compile though! I am still trying to figure out why but try replacing the SDK GL headers inside include/GL with your systems GL headers from /usr/include/GL

0 Likes

Originally posted by: doodle Hello,

 

I was having issue with the SDK on Ubuntu/64 also. I couldnt even compile though! I am still trying to figure out why but try replacing the SDK GL headers inside include/GL with your systems GL headers from /usr/include/GL



It's neither Ubuntu nor 64bit OS. It's Gentoo x86.

Frankly speaking I haven't got the idea. It's driver crashing. Not just application.

And application is built and linked without any problems.

0 Likes

Originally posted by: himanshu.gautam See the list of supported OSes

 

http://developer.amd.com/gpu/AMDAPPSDK/pages/DriverCompatibility.aspx



Ok. I got your idea.

0 Likes