Gentoo Archives: gentoo-user

From: Kai Krakow <hurikhan77@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: FreeCAD permission problems
Date: Sat, 06 May 2017 10:28:53
Message-Id: 20170506122823.4c303df9@jupiter.sol.kaishome.de
In Reply to: Re: [gentoo-user] Re: FreeCAD permission problems by tuxic@posteo.de
1 Am Sat, 6 May 2017 04:18:57 +0200
2 schrieb tuxic@××××××.de:
3
4 > On 05/05 09:17, Kai Krakow wrote:
5 > > Am Fri, 5 May 2017 21:12:53 +0200
6 > > schrieb tuxic@××××××.de:
7 > >
8 > > > On 05/05 09:03, Kai Krakow wrote:
9 > [...]
10 > [...]
11 > > > [...]
12 > > > [...]
13 > [...]
14 > > > [...]
15 > [...]
16 > > > [...]
17 > > > [...]
18 > [...]
19 > [...]
20 > [...]
21 > [...]
22 > > >
23 > > > Hi Kai,
24 > > >
25 > > > sorry for the confusion I initiated...
26 > > >
27 > > > This one I used
28 > > >
29 > > > QT_GRAPHICSSYSTEM=raster freecad
30 > >
31 > > Please also try my other suggestion:
32 > >
33 > > Find your GL drivers with "locate libGL.so" or "qfile -b libGL.so"
34 > > and try those paths in the preloader:
35 > >
36 > > # LD_PRELOAD=/path/to/libGL.so freecad
37 > >
38 > > Try the libGL most specific to your graphics card first.
39 > >
40 > >
41 > > --
42 > > Regards,
43 > > Kai
44 > >
45 > > Replies to list-only preferred.
46 > >
47 > >
48 > >
49 >
50 > Hi Kai,
51 >
52 >
53 > here the results:
54 > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD
55 > ERROR: ld.so: object '/usr/lib64/opengl/nvidia/lib/.' from LD_PRELOAD
56 > cannot be preloaded (cannot read file data): ignored. FreeCAD 0.16,
57 > Libs: 0.16RUnknown © Juergen Riegel, Werner Mayer, Yorik van Havre
58 > 2001-2015 ##### #### ### ####
59 > # # # # # #
60 > # ## #### #### # # # # #
61 > #### # # # # # # # ##### # #
62 > # # #### #### # # # # #
63 > # # # # # # # # # ## ## ##
64 > # # #### #### ### # # #### ## ## ##
65 >
66 > libGL error: No matching fbConfigs or visuals found
67 > libGL error: failed to load driver: swrast
68 > using visual class 4, id 2b
69 > [1] 17990 segmentation fault
70 > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/. FreeCAD
71
72 This makes no sense... You have to give an .so file.
73
74 >LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
75 > FreeCAD 0.16, Libs: 0.16RUnknown
76 > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
77 > ##### #### ### ####
78 > # # # # # #
79 > # ## #### #### # # # # #
80 > #### # # # # # # # ##### # #
81 > # # #### #### # # # # #
82 > # # # # # # # # # ## ## ##
83 > # # #### #### ### # # #### ## ## ##
84 >
85 > using visual class 4, id 2b
86 > [1] 17552 segmentation fault
87 > LD_PRELOAD=/usr/lib64/opengl/nvidia/lib/libGL.so FreeCAD
88
89 Okay, so this fixes the problem with the visual as I expected. But now
90 it's segfaulting.
91
92 Are you using an NVIDIA card with proprietary driver?
93
94
95 --
96 Regards,
97 Kai
98
99 Replies to list-only preferred.

Replies

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