Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: FreeCAD permission problems
Date: Sat, 06 May 2017 02:19:14
Message-Id: 20170506021857.huciot3piapwghnm@solfire
In Reply to: [gentoo-user] Re: FreeCAD permission problems by Kai Krakow
1 On 05/05 09:17, Kai Krakow wrote:
2 > Am Fri, 5 May 2017 21:12:53 +0200
3 > schrieb tuxic@××××××.de:
4 >
5 > > On 05/05 09:03, Kai Krakow wrote:
6 > > > Am Fri, 5 May 2017 20:40:50 +0200
7 > > > schrieb tuxic@××××××.de:
8 > > >
9 > > > > On 05/05 08:28, Kai Krakow wrote:
10 > > [...]
11 > > [...]
12 > > > > [...]
13 > > > > [...]
14 > > [...]
15 > > > > [...]
16 > > > > [...]
17 > > [...]
18 > > [...]
19 > > > >
20 > > > > Hi kai,
21 > > > >
22 > > > > THANKS FOR THAT COMMANDLINE!
23 > > >
24 > > > Which of those two?
25 > > >
26 > > > > Now FreeCAD is willing to cooperate...up to an certain level: It
27 > > > > starts....
28 > > > >
29 > > > > Loading an STEP-data file results in :
30 > > > > FreeCAD 0.16, Libs: 0.16RUnknown
31 > > > > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
32 > > > > ##### #### ### ####
33 > > > > # # # # # #
34 > > > > # ## #### #### # # # # #
35 > > > > #### # # # # # # # ##### # #
36 > > > > # # #### #### # # # # #
37 > > > > # # # # # # # # # ## ## ##
38 > > > > # # #### #### ### # # #### ## ## ##
39 > > > >
40 > > > > libGL error: No matching fbConfigs or visuals found
41 > > > > libGL error: failed to load driver: swrast
42 > > > > Unhandled std::exception caught in GUIApplication::notify.
43 > > > > The error message is: Permission denied
44 > > > > *** Abort *** an exception was raised, but no catch was found.
45 > > > > ... The exception is:SIGSEGV 'segmentation violation'
46 > > > > detected. Address 0
47 > > > >
48 > > > > Any ideas?
49 > > >
50 > > > I'd still try the preload stuff. I don't think QT_GRAPHICSSYSTEM can
51 > > > solve this.
52 > > >
53 > > > But I'm only guessing which command line you used.
54 > > >
55 > > >
56 > > > --
57 > > > Regards,
58 > > > Kai
59 > > >
60 > > > Replies to list-only preferred.
61 > > >
62 > > >
63 > > >
64 > >
65 > > Hi Kai,
66 > >
67 > > sorry for the confusion I initiated...
68 > >
69 > > This one I used
70 > >
71 > > QT_GRAPHICSSYSTEM=raster freecad
72 >
73 > Please also try my other suggestion:
74 >
75 > Find your GL drivers with "locate libGL.so" or "qfile -b libGL.so" and
76 > try those paths in the preloader:
77 >
78 > # LD_PRELOAD=/path/to/libGL.so freecad
79 >
80 > Try the libGL most specific to your graphics card first.
81 >
82 >
83 > --
84 > Regards,
85 > Kai
86 >
87 > Replies to list-only preferred.
88 >
89 >
90 >
91
92 Hi Kai,
93
94
95 here the results:
96 LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD
97 ERROR: ld.so: object '/usr/lib64/opengl/nvidia/lib/.' from LD_PRELOAD cannot be preloaded (cannot read file data): ignored.
98 FreeCAD 0.16, Libs: 0.16RUnknown
99 © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
100 ##### #### ### ####
101 # # # # # #
102 # ## #### #### # # # # #
103 #### # # # # # # # ##### # #
104 # # #### #### # # # # #
105 # # # # # # # # # ## ## ##
106 # # #### #### ### # # #### ## ## ##
107
108 libGL error: No matching fbConfigs or visuals found
109 libGL error: failed to load driver: swrast
110 using visual class 4, id 2b
111 [1] 17990 segmentation fault LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD
112
113
114
115
116 >LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
117 FreeCAD 0.16, Libs: 0.16RUnknown
118 © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
119 ##### #### ### ####
120 # # # # # #
121 # ## #### #### # # # # #
122 #### # # # # # # # ##### # #
123 # # #### #### # # # # #
124 # # # # # # # # # ## ## ##
125 # # #### #### ### # # #### ## ## ##
126
127 using visual class 4, id 2b
128 [1] 17552 segmentation fault LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
129
130
131 Cheers
132 Meino

Replies

Subject Author
[gentoo-user] Re: FreeCAD permission problems Kai Krakow <hurikhan77@×××××.com>