I have a Sony laptop (VPCSA) which can switch between the Intel
Sandybridge graphics and AMD Radeon 6600M graphics card. I have 13.101
Radeon drive installed from the AMD website which enables me to switch
between the Radeon and Intel Sandybridge graphics card. Generally I
prefer the Sandybridge as it's much better for the battery and doesn't
cook my lap, and only switch to the Radeon for games. Darktable works
fine when running with Radeon, though I don't have enough RAM on the
Radeon to use OpenCL (as reported by darktable-cltest).
However, when I start Darktable under the Sandybridge card, Darktable
does not start, and shows no error messages in the GUI. I have attached
a backtrace for this.
I noticed if you run it as root it appears to load the fglrx module and
runs fine, and then starts fine.
Is this a bug with the hydrid graphics environment / Darktable, or is
this to be expected? Happy to run any further tests if required.
Very many thanks,
Rich.
$ gdb darktable
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/darktable...Reading symbols from
/usr/lib/debug/usr/bin/darktable...done.
done.
(gdb) quit
rich@sangheili:~$ clear
rich@sangheili:~$ gdb darktable
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/darktable...Reading symbols from
/usr/lib/debug/usr/bin/darktable...done.
done.
(gdb) run
Starting program: /usr/bin/darktable
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe9f12700 (LWP 2822)]
[New Thread 0x7fffe9711700 (LWP 2823)]
[New Thread 0x7fffe8f10700 (LWP 2824)]
[New Thread 0x7fffe3fff700 (LWP 2825)]
[New Thread 0x7fffe37fe700 (LWP 2826)]
[New Thread 0x7fffe2ffd700 (LWP 2827)]
[New Thread 0x7fffe27fc700 (LWP 2828)]
[New Thread 0x7fffe1ffb700 (LWP 2829)]
[New Thread 0x7fffe17fa700 (LWP 2830)]
[New Thread 0x7fffe0ff9700 (LWP 2831)]
[New Thread 0x7fffc7fff700 (LWP 2832)]
Setting of real/effective user Id to 0/0 failed
ERROR: could not insert 'fglrx': Operation not permitted
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to
load kernel module directly
Setting of real/effective user Id to 0/0 failed
ERROR: could not insert 'fglrx': Operation not permitted
Error! Fail to load fglrx kernel module! Maybe you can switch to root user to
load kernel module directly
Program received signal SIGSEGV, Segmentation fault.
0x00007fffc55aa57b in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
(gdb) backtrace
#0 0x00007fffc55aa57b in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#1 0x00007fffc55d5a71 in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#2 0x00007fffc55780e3 in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#3 0x00007fffc557835e in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#4 0x00007fffc5578f8b in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#5 0x00007fffc553ce27 in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#6 0x00007fffc553f952 in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#7 0x00007fffc553fbc6 in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#8 0x00007fffc54f2324 in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#9 0x00007fffc550eaae in ?? () from /usr/lib/pxpress/lib/libamdocl64.so
#10 0x00007fffc54df693 in clIcdGetPlatformIDsKHR () from
/usr/lib/pxpress/lib/libamdocl64.so
#11 0x00007fffea4ff172 in ?? () from /usr/lib/pxpress/lib/libOpenCL.so
#12 0x00007fffea501106 in ?? () from /usr/lib/pxpress/lib/libOpenCL.so
#13 0x00007fffea5007e0 in clGetPlatformIDs () from
/usr/lib/pxpress/lib/libOpenCL.so
#14 0x00007ffff7a4f301 in dt_opencl_init (cl=0xed4c60, argc=argc@entry=1,
argv=argv@entry=0x7fffffffe0f8) at
/build/buildd/darktable-1.2.2/src/common/opencl.c:129
#15 0x00007ffff7a142f7 in dt_init (argc=1, argv=0x7fffffffe0f8,
init_gui=init_gui@entry=1) at
/build/buildd/darktable-1.2.2/src/common/darktable.c:632
#16 0x00000000004007de in main (argc=<optimised out>, argv=<optimised out>) at
/build/buildd/darktable-1.2.2/src/main.c:24
(gdb) quit
A debugging session is active.
Inferior 1 [process 2818] will be killed.
Quit anyway? (y or n) y
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel