|
|
|
![]() |
AMD Developer Forums | ![]() |


|
Topic Title: all demo giving segmentation voilation in Fedora 11 karmic is slow Topic Summary: Created On: 10/16/2009 06:32 PM Status: Post and Reply |
Linear : Threading : Single : Branch |
Search Topic |
Topic Tools
|
|
|
|
|
I have tested opencl with Fedora 11, and Kamic beta (ubuntu). After install the video driver ( I just bought a 4870 card), I got 10K frame/sec with Fedora 11, and 2K frames/sec with ubuntu. When trying to run the demos all failed with segmentation voliation under Fedora, and work under Karmic. Any idea about fedora 11? |
|
|
|
|
|
|
|
|
Which application are you running? The drivers which came with OpenCL are test drivers for OpenCL and not meant for Graphics applications. Are the drivers getting installed properly? Could you try running the CAL samples, say FindNumDevices and post the result? ------------------------- The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied. |
|
|
|
|
|
|
|
|
Here it also segfaults constantly on Arch Linux 64 bit How would I know if the drivers are installed properly? |
|
|
|
|
|
|
|
|
Try running any of the cal samples, for example FindNumDevices should be able to return the number of devices present. ------------------------- The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied. |
|
|
|
|
|
|
|
|
Running the samples without graphic-drivers loaded results naturally in a device count of 0, with loaded fglrx it crashes before there is output on the number. gdb reports Program received signal SIGSEGV, Segmentation fault. l shows me the main-function. |
|
|
|
|
|
|
|
|
Same problem here on Fedora 11 |
|
|
|
|
|
|
|
|
Can confirm this. Ubuntu 9.10 - Karmic Koala ati-stream-sdk-v2.0-beta4-lnx64.tgz Creating a context For test only: Expires on Sun Feb 28 00:00:00 2010 Program received signal SIGSEGV, Segmentation fault. 0x00007ffff48ef84a in ?? () from /usr/lib/libaticaldd.so (gdb) bt #0 0x00007ffff48ef84a in ?? () from /usr/lib/libaticaldd.so #1 0x00007ffff48ef6c5 in ?? () from /usr/lib/libaticaldd.so #2 0x00007ffff48ec197 in ?? () from /usr/lib/libaticaldd.so #3 0x00007ffff48e3b35 in ?? () from /usr/lib/libaticaldd.so #4 0x00007ffff4818183 in ?? () from /usr/lib/libaticaldd.so #5 0x00007ffff492c2ea in ?? () from /usr/lib/libaticaldd.so #6 0x00007ffff4925e9f in ?? () from /usr/lib/libaticaldd.so #7 0x00007ffff4935115 in ?? () from /usr/lib/libaticaldd.so #8 0x00007ffff6e45b78 in gpu: #9 0x00007ffff6e2b4bd in amd: #10 0x00007ffff6e52083 in amd::Runtime::init(amd::Thread*) () from /.../ati-stream-sdk-v2.0-beta4-lnx64//lib/x86_64/libOpenCL.so #11 0x00007ffff6e14158 in amd::HostThread::HostThread() () from /.../ati-stream-sdk-v2.0-beta4-lnx64//lib/x86_64/libOpenCL.so #12 0x00007ffff6e139b5 in clCreateContextFromType () from /.../ati-stream-sdk-v2.0-beta4-lnx64//lib/x86_64/libOpenCL.so #13 0x0000000000402813 in Context (this=0x7fffffffe130, type=2, properties=0x0, notifyFptr=0, data=0x0, err=0x7fffffffe138) at ../../../../../include/CL/cl.hpp:1552 #14 0x000000000040202b in main () at HelloCL.cpp:110
|
|
|
|
|
|
|
|
|
Tasp,
There is a known issue with Ubuntu 9.10 with the ATI drivers. Try this, http://ubuntuforums.org/showthread.php?t=1311739, to get a working driver if needed, but i'm not sure that Stream will work with 9.10 because of changes in X. ------------------------- Micah Villmow Advanced Micro Devices Inc. -------------------------------- The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied. |
|
|
|
|
|
|
|
|
The driver works fine. I never had a problem with it. But the seg fault still persists. Where can I find a list of version numbers for X and other packages with which it will work? |
|
|
|
|
|
|
|
|
Did you find a solution to this problem? I also got this problem. Every single demo app with cal og opencl segfaults. Using Ubuntu Karmic 9.10. I got no graphic problems besides the opencl/cal ones.
$gdb ./FindNumDevices
EDIT: With the driver from ati stream sdk, when I run aticonfig --initial -f I get the following: aticonfig: No supported adapters detected With the normal 9.11 driver i don't get that kind of messages. Does that mean my card isn't supported for opencl yet? I got this card: 01:00.0 VGA compatible controller: ATI Technologies Inc M96 [Mobility Radeon HD 4650] Edited: 11/14/2009 at 06:55 AM by tball |
|
|
|
|
|
|
|
|
Hi, Any update? All samples (opencl and cal) segfault. This is on debian testing (2.6.30-2-amd64 kernel), opencl-beta-4 drivers, ATI Radeon 4350. For example, hellocal segfaults inside call to calInit(). -Greg
|
|
|
|
|
FuseTalk Hosting Executive Plan v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.
| Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information |