Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: FreeCAD permission problems
Date: Fri, 05 May 2017 18:29:07
Message-Id: 20170505202835.378918bd@jupiter.sol.kaishome.de
In Reply to: Re: [gentoo-user] FreeCAD permission problems by tuxic@posteo.de
1 Am Fri, 5 May 2017 19:43:14 +0200
2 schrieb tuxic@××××××.de:
3
4 > On 05/05 10:31, Daniel Frey wrote:
5 > > On 05/05/2017 10:23 AM, tuxic@××××××.de wrote:
6 > > > On 05/05 10:17, Daniel Frey wrote:
7 > [...]
8 > [...]
9 > [...]
10 > > >
11 > > > Hi Dan,
12 > > >
13 > > > I am already in the video group...
14 > > >
15 > > > And: When run as user, is starts but loading
16 > > > an *.STP file crashes FreeCAD with:
17 > > >
18 > > > FreeCAD 0.16, Libs: 0.16RUnknown
19 > > > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
20 > > > ##### #### ### ####
21 > > > # # # # # #
22 > > > # ## #### #### # # # # #
23 > > > #### # # # # # # # ##### # #
24 > > > # # #### #### # # # # #
25 > > > # # # # # # # # # ## ## ##
26 > > > # # #### #### ### # # #### ## ## ##
27 > > >
28 > > > libGL error: No matching fbConfigs or visuals found
29 > > > libGL error: failed to load driver: swrast
30 > > > *** Abort *** an exception was raised, but no catch was found.
31 > > > ... The exception is:SIGSEGV 'segmentation violation'
32 > > > detected. Address 0 [1] 5658 exit 1 FreeCAD
33 > > >
34 > > >
35 > > > It ssems more odd than previously thought....
36 > > >
37 > > > What is that 'swrast' thingy?
38 > > >
39 > > >
40 > > > Cheers
41 > > > Meino
42 > > >
43 > > >
44 > > >
45 > >
46 > > From what I've just read, it's a software raster driver. I figured
47 > > it couldn't talk to the hardware, hence the adding to video group
48 > > suggestion.
49 > >
50 > > Found this though:
51 > >
52 > > http://forum.freecadweb.org/viewtopic.php?t=20187
53 > >
54 > > Dan
55 > >
56 >
57 > It says that passing
58 >
59 > --graphicssystem=raster
60 >
61 > as option to FreeCAD would fix that problem.
62 >
63 >
64 > When doing so, FreeCAD says it does not that
65 > option.
66 >
67 > Hrrrrmppppffff....
68
69 Then it's maybe
70
71 # QT_GRAPHICSSYSTEM=raster freecad
72
73 I had a similar problem with mixxx. I think I solved it with an LD
74 preloader:
75
76 $ cat bin/mixxx
77 #!/bin/sh
78 LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so exec /usr/bin/mixxx
79
80 You may want to try something similar with freecad. Be sure to adjust
81 that to your graphics card. It will obviously not work that way if you
82 don't use NVIDIA proprietary... ;-)
83
84 --
85 Regards,
86 Kai
87
88 Replies to list-only preferred.

Replies

Subject Author
Re: [gentoo-user] Re: FreeCAD permission problems tuxic@××××××.de