Re: [gentoo-user] FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 10:31, Daniel Frey wrote:
> On 05/05/2017 10:23 AM, tu...@posteo.de wrote:
> > On 05/05 10:17, Daniel Frey wrote:
> >> On 05/05/2017 10:08 AM, tu...@posteo.de wrote:
> >>> Hi 
> >>>
> >>> I emerged FreCAD and started it as user.
> >>> It crashes with following output:
> >>> FreeCAD 0.16, Libs: 0.16RUnknown
> >>> © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >>>   #   ###     
> >>>   ##  # #   #   # 
> >>>   # ##     # #   #  #   # 
> >>>     # # #  # #  #  # #  #   # 
> >>>   # #      ## # #   # 
> >>>   # #   ## ## # #   #  ##  ##  ##
> >>>   # #       ### # #    ##  ##  ##
> >>>
> >>> libGL error: No matching fbConfigs or visuals found
> >>> libGL error: failed to load driver: swrast
> >>> using visual class 4, id 2b
> >>> [1]5388 segmentation fault  FreeCAD
> >>>
> >>> When run as root it works, though.
> >>>
> >>> Where do I have to tweak what perms? :)
> >>>
> >>> Thanks a lot in advance for any help!
> >>> Cheers
> >>> Meino
> >>>
> >>>
> >>>
> >>
> >> Try adding your user to the video group.
> >>
> >> Dan
> >>
> > 
> > Hi Dan,
> > 
> > I am already in the video group...
> > 
> > And: When run as user, is starts but loading
> > an *.STP file crashes FreeCAD with:
> > 
> > FreeCAD 0.16, Libs: 0.16RUnknown
> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >   #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> > *** Abort *** an exception was raised, but no catch was found.
> > ... The exception is:SIGSEGV 'segmentation violation' detected. Address > > 0
> > [1]5658 exit 1 FreeCAD
> > 
> > 
> > It ssems more odd than previously thought 
> > 
> > What is that 'swrast' thingy?
> > 
> > 
> > Cheers
> > Meino
> > 
> > 
> > 
> 
> From what I've just read, it's a software raster driver. I figured it
> couldn't talk to the hardware, hence the adding to video group suggestion.
> 
> Found this though:
> 
> http://forum.freecadweb.org/viewtopic.php?t=20187
> 
> Dan
> 

It says that passing 

--graphicssystem=raster

as option to FreeCAD would fix that problem.


When doing so, FreeCAD says it does not that 
option.

Hm

Cheers
Meino





Re: [gentoo-user] FreeCAD permission problems

2017-05-05 Thread Daniel Frey
On 05/05/2017 10:23 AM, tu...@posteo.de wrote:
> On 05/05 10:17, Daniel Frey wrote:
>> On 05/05/2017 10:08 AM, tu...@posteo.de wrote:
>>> Hi 
>>>
>>> I emerged FreCAD and started it as user.
>>> It crashes with following output:
>>> FreeCAD 0.16, Libs: 0.16RUnknown
>>> © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
>>>   #   ###     
>>>   ##  # #   #   # 
>>>   # ##     # #   #  #   # 
>>>     # # #  # #  #  # #  #   # 
>>>   # #      ## # #   # 
>>>   # #   ## ## # #   #  ##  ##  ##
>>>   # #       ### # #    ##  ##  ##
>>>
>>> libGL error: No matching fbConfigs or visuals found
>>> libGL error: failed to load driver: swrast
>>> using visual class 4, id 2b
>>> [1]5388 segmentation fault  FreeCAD
>>>
>>> When run as root it works, though.
>>>
>>> Where do I have to tweak what perms? :)
>>>
>>> Thanks a lot in advance for any help!
>>> Cheers
>>> Meino
>>>
>>>
>>>
>>
>> Try adding your user to the video group.
>>
>> Dan
>>
> 
> Hi Dan,
> 
> I am already in the video group...
> 
> And: When run as user, is starts but loading
> an *.STP file crashes FreeCAD with:
> 
> FreeCAD 0.16, Libs: 0.16RUnknown
> © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
>   #   ###     
>   ##  # #   #   # 
>   # ##     # #   #  #   # 
>     # # #  # #  #  # #  #   # 
>   # #      ## # #   # 
>   # #   ## ## # #   #  ##  ##  ##
>   # #       ### # #    ##  ##  ##
> 
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> *** Abort *** an exception was raised, but no catch was found.
>   ... The exception is:SIGSEGV 'segmentation violation' detected. Address > 0
> [1]5658 exit 1 FreeCAD
> 
> 
> It ssems more odd than previously thought 
> 
> What is that 'swrast' thingy?
> 
> 
> Cheers
> Meino
> 
> 
> 

>From what I've just read, it's a software raster driver. I figured it
couldn't talk to the hardware, hence the adding to video group suggestion.

Found this though:

http://forum.freecadweb.org/viewtopic.php?t=20187

Dan



Re: [gentoo-user] FreeCAD permission problems

2017-05-05 Thread tuxic
On 05/05 10:17, Daniel Frey wrote:
> On 05/05/2017 10:08 AM, tu...@posteo.de wrote:
> > Hi 
> > 
> > I emerged FreCAD and started it as user.
> > It crashes with following output:
> > FreeCAD 0.16, Libs: 0.16RUnknown
> > © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
> >   #   ###     
> >   ##  # #   #   # 
> >   # ##     # #   #  #   # 
> >     # # #  # #  #  # #  #   # 
> >   # #      ## # #   # 
> >   # #   ## ## # #   #  ##  ##  ##
> >   # #       ### # #    ##  ##  ##
> > 
> > libGL error: No matching fbConfigs or visuals found
> > libGL error: failed to load driver: swrast
> > using visual class 4, id 2b
> > [1]5388 segmentation fault  FreeCAD
> > 
> > When run as root it works, though.
> > 
> > Where do I have to tweak what perms? :)
> > 
> > Thanks a lot in advance for any help!
> > Cheers
> > Meino
> > 
> > 
> > 
> 
> Try adding your user to the video group.
> 
> Dan
> 

Hi Dan,

I am already in the video group...

And: When run as user, is starts but loading
an *.STP file crashes FreeCAD with:

FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
*** Abort *** an exception was raised, but no catch was found.
... The exception is:SIGSEGV 'segmentation violation' detected. Address 0
[1]5658 exit 1 FreeCAD


It ssems more odd than previously thought 

What is that 'swrast' thingy?


Cheers
Meino





Re: [gentoo-user] FreeCAD permission problems

2017-05-05 Thread Daniel Frey
On 05/05/2017 10:08 AM, tu...@posteo.de wrote:
> Hi 
> 
> I emerged FreCAD and started it as user.
> It crashes with following output:
> FreeCAD 0.16, Libs: 0.16RUnknown
> © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
>   #   ###     
>   ##  # #   #   # 
>   # ##     # #   #  #   # 
>     # # #  # #  #  # #  #   # 
>   # #      ## # #   # 
>   # #   ## ## # #   #  ##  ##  ##
>   # #       ### # #    ##  ##  ##
> 
> libGL error: No matching fbConfigs or visuals found
> libGL error: failed to load driver: swrast
> using visual class 4, id 2b
> [1]5388 segmentation fault  FreeCAD
> 
> When run as root it works, though.
> 
> Where do I have to tweak what perms? :)
> 
> Thanks a lot in advance for any help!
> Cheers
> Meino
> 
> 
> 

Try adding your user to the video group.

Dan



[gentoo-user] FreeCAD permission problems

2017-05-05 Thread tuxic
Hi 

I emerged FreCAD and started it as user.
It crashes with following output:
FreeCAD 0.16, Libs: 0.16RUnknown
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  #   ###     
  ##  # #   #   # 
  # ##     # #   #  #   # 
    # # #  # #  #  # #  #   # 
  # #      ## # #   # 
  # #   ## ## # #   #  ##  ##  ##
  # #       ### # #    ##  ##  ##

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
using visual class 4, id 2b
[1]5388 segmentation fault  FreeCAD

When run as root it works, though.

Where do I have to tweak what perms? :)

Thanks a lot in advance for any help!
Cheers
Meino