Optix 2.6 / CUDA 5.0 on Ubuntu 12.10

I’m struggling with running the sample SDK executables after installing CUDA 5.0 and OptiX 3.0b [this originally said 2.6] on Ubuntu 12.10. I’m currently getting the error when running any of the examples:

OptiX Error: Launch failed (Details: Function “RTresult _rtContextCompile(RTcontext_api*)” caught exception: : error: Encountered a CUDA error: createFromMemoryPtx returned (209): No binary for GPU, [7340323]
ptxas application ptx input, line 1706; error : Function parameter ‘_Z5NoABIPi_param_0’ has illegal state space
ptxas application ptx input, line 1705; error : Parameter variables must be declared within .entry function
ptxas application ptx input, line 1713; error : Instruction ‘ld’ requires .target sm_20 or higher
ptxas application ptx input, line 1713; error : Feature ‘generic addressing’ requires PTX ISA .version 2.0 or later
ptxas application ptx input, line 1713; error : State space qualifier expected for instruction ‘ld’
ptxas application ptx input, line 1713; error : State space incorrect for instruction ‘ld’
ptxas fatal : Ptx assembly aborted due to errors [7340324])

I’ve tried a couple different driver configurations, but am stuck. Is there any guidance on how to solve this or generally the proper configuration for doing this on Ubuntu 12.10?

Thanks!

Self-built examples or pre-built examples?
The OptiX 2.6.0 Release Notes recommend to use the CUDA 4.2 Toolkit inside the Development Environment Requirements paragraph. Did you try with that?

Thanks for the response.

Unfortunately, I misspoke in the original. I switched my development from OptiX 2.6 to 3.0, so I mistyped my version. I’m using CUDA 5.0 and OptiX 3.0b

And both the precompiled and locally compiled versions provide this error.

Can you tell us what version of the NVIDIA driver you’re using?

Just got this error myself. Can’t run any of the prebuilt samples.

Installed the 3.0.0 b1 on Windows 8 64b; I have a GTS 250 running on driver 306.97 which reports CUDA 5 support. I haven’t specifically installed any CUDA SDK yet however (is that required to run prebuilt samples?)

Visual Studio 2012 is installed but no previous versions.

Here’s what I get running Ambocc:

OptiX Error: Launch failed (Details: Function “_rtContextCompile” caught excepti
on: : error: Encountered a CUDA error: createFromMemoryPtx returned (209): No bi
nary for GPU, [7340323]
ptxas application ptx input, line 3955; : error : Function parameter ‘_Z5NoABIPi
_param_0’ has illegal state space
ptxas application ptx input, line 3954; : error : Parameter variables must be de
clared within .entry function
ptxas application ptx input, line 3962; : error : Instruction ‘ld’ requires .tar
get sm_20 or higher
ptxas application ptx input, line 3962; : error : Feature ‘generic addressing’ r
equires PTX ISA .version 2.0 or later
ptxas application ptx input, line 3962; : error : State space qualifier expected
for instruction ‘ld’
ptxas application ptx input, line 3962; : error : State space incorrect for inst
ruction ‘ld’
ptxas : fatal error : Ptx assembly aborted due to errors [7340324])
(E:\A\3-w\b\p4sw-ro-4006\sw\wsapps\raytracing\rtsdk\rel3.0\samples\ambocc\ambocc
.c:91)

Thanks for reporting this problem.

This is a bug in OptiX 3.0 beta, it should only happen when using GT200 type devices. It will be fixed in the next release.