Closed ghost closed 3 years ago
It works on Linux, it's just not supported by your card. I'll look into adding something to detect what's supported and hide the options that aren't.
def working under linux. I run 8XAA no prob - maybe you haven't installed the proprietary drivers to run it adequately @Symbian9 - what card are yo uusing and can you list the enabled gl extensions?
@leozide, Seems like LeoCAD on first launch (clean install) tries to use highest AA samples (e.g. AASamples=8
)
$ ./LeoCAD-Linux-9a681bf-x86_64.AppImage
Segmentation fault
Generated LeoCAD.conf
config file (just after segmentation fault) looks like:
[Settings]
PartsListIcons=64
I tried also start $ ./LeoCAD-Linux-9a681bf-x86_64.AppImage --aa-samples 4
, but it result was the same and it does not help (or --aa-samples 4
is only for batch render via CLI?).
In same time LeoCAD starts if replace generated config file with a backuped config file (used on previous install) where Anti-aliasing was set to 4
(e.g. AASamples=4
):
what card are yo uusing and can you list the enabled gl extensions?
@nathaneltitane, Here are details from LeoCAD "About" window:
Qt Version 5.10.1 (compiled with 5.10.1)
OpenGL Version 2.1 Mesa 20.1.8 (GLSL 1.20)
ATI RS600 - X.Org R300 Project
Color Buffer: 24 bits
Depth Buffer: 0 bits
Stencil Buffer: 0 bits
Buffers: Supported
Shaders: Supported
Framebuffers: Supported
BlendFuncSeparate: Supported
Anisotropic: Supported (max 16)
I don't get the crash and the default AA is off. Can you run from gdb and get me a callstack?
Can you run from gdb and get me a callstack?
@leozide, Here it is:
$ gdb ./LeoCAD-Linux-9a681bf-x86_64.AppImage
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./LeoCAD-Linux-9a681bf-x86_64.AppImage...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/user/AppImages/LeoCAD/LeoCAD-Linux-9a681bf-x86_64.AppImage
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 32547]
process 32543 is executing new program: /tmp/.mount_LeoCAD0GzLJg/usr/bin/leocad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeceda700 (LWP 32552)]
[Thread 0x7fffeceda700 (LWP 32552) exited]
[New Thread 0x7fffeceda700 (LWP 32553)]
[New Thread 0x7fffe1e62700 (LWP 32557)]
[New Thread 0x7fffe150b700 (LWP 32558)]
[New Thread 0x7fffe0d0a700 (LWP 32559)]
[New Thread 0x7fffdbfff700 (LWP 32560)]
[New Thread 0x7fffdb7fe700 (LWP 32561)]
[New Thread 0x7fffda995700 (LWP 32562)]
Thread 1 "AppRun" received signal SIGSEGV, Segmentation fault.
0x00007fffe6d6825e in ?? () from /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
(gdb)
That's not what I'm looking for, you need to extract the appimage files, run the extracted binary and when it crashes type "bt" in gdb.
you need to extract the appimage files, run the extracted binary and when it crashes type "bt" in gdb.
@leozide, Here it is:
This doesn't seem to be related to AA, it has something to do with drawing the view sphere but I have no idea what's going on, it's a crash deep in your video card driver.
in your video card driver
Any workarounds or ideas how to prevent such crash?
With a next config, where AASamples=4
, latest LeoCAD builds starts normally:
@leozide, In same time if set AASamples=8
then LeoCAD crashes on start.
I have no idea
Anti-aliasing setting work for "2x" and "4x", but not work for "8x".
Version: OBS build (built on 31 Jul 2017)
OS: xUbuntu 16.04 LTS, x86_64