Jump to content


GCS on Linux x64: Segmentation fault (branch: next)

GCS Segmentation fault Linux

  • Please log in to reply
34 replies to this topic

#21 LenzGr

LenzGr

    New Member

  • Members
  • Pip
  • 9 posts
  • LocationHamburg
  • Country: flag of Germany Germany

Posted 03 February 2012 - 11:19 AM

There is already an open bug report about this: OP-576: GCS crashes on startup when initializing ModelView plugin
Oddly enough, that particular problem was supposedly fixed a while ago already: OP-76: Modelview gadget crashes in some GPUs - looks like there was a regression.

#22 XXL-Wing

XXL-Wing

    Developer

  • Members
  • PipPipPip
  • 166 posts
  • LocationVienna
  • Country: flag of Austria Austria

Posted 03 February 2012 - 11:54 AM

thanks, the trace you sent strengthens the idea that it has something to do with VBO, because your driver also states that VBO isn't available with your card/driver.
No matter how good your backend systems are, the users will only remember your front end. Fail there and you will fail, period.   -- Tristan Louis
Don't make me think.   -- Steve Krug, usability expert

#23 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 03 February 2012 - 12:17 PM

Honestly we should migrate to Qt3D there was already some work done on this direction by one developer. I believe the only thing missing from that is make the Qt3D sources part of the GCS compile process.
@XXL-Wing IMHO if you have the skills it would be better to use your time completing the migration than fixing the old lib. What do you think?
Life is just a game, but atleast the graphics are awesome!

#24 muralha

muralha

    Developer

  • Members
  • PipPipPip
  • 363 posts
  • LocationLisbon, Portugal
  • Country: flag of Portugal Portugal


Posted 03 February 2012 - 02:18 PM

btw, the GLC Lib that's used in the ModelView is probably dead.
There's no update since July 2011 and it was built prior to 4.7, so it's going to be a problem in the future.
I believe that this is a reason why the ModelView doesn't work for Mac, if built with Qt 4.7 or above.

I think that Oleg is already working on it...
http://forums.openpi...__fromsearch__1

The Qt3D demo was shown by hhrhhr...
http://forums.openpi.../page__hl__qt3d

#25 XXL-Wing

XXL-Wing

    Developer

  • Members
  • PipPipPip
  • 166 posts
  • LocationVienna
  • Country: flag of Austria Austria

Posted 03 February 2012 - 04:27 PM

sure i can help, if there is something gong on let me know.
if not, i'll look into it.
what i am new to is Qt and all of its compile process and stuff. but i will find out how to integrate it :-)
No matter how good your backend systems are, the users will only remember your front end. Fail there and you will fail, period.   -- Tristan Louis
Don't make me think.   -- Steve Krug, usability expert

#26 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 03 February 2012 - 04:33 PM

View PostXXL-Wing, on 03 February 2012 - 04:27 PM, said:

sure i can help, if there is something gong on let me know.
if not, i'll look into it.
what i am new to is Qt and all of its compile process and stuff. but i will find out how to integrate it :-)
Check hhrhhr's branches, let me know if you need any help.
Life is just a game, but atleast the graphics are awesome!

#27 XXL-Wing

XXL-Wing

    Developer

  • Members
  • PipPipPip
  • 166 posts
  • LocationVienna
  • Country: flag of Austria Austria

Posted 03 February 2012 - 06:32 PM

olegs implementation seems to be rather mature already shows model and movel when moving the cc.... so this one is nearly finished....
some smaller things to be fixed...
maybe have a talk to him if he is finishing it.....
No matter how good your backend systems are, the users will only remember your front end. Fail there and you will fail, period.   -- Tristan Louis
Don't make me think.   -- Steve Krug, usability expert

#28 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 03 February 2012 - 11:05 PM

GLC_Lib is still alive, the last commit to the SVN was 7 days ago.

However I tried to upgrade to the SVN HEAD and it failed to compile.

http://glc-lib.svn.s...viewvc/glc-lib/

Seems our issue is 64bit Mac and 64Bit linux.

Qt3D is a mess right now, there are several versions of it which is why I think this direction stalled?

#29 hhrhhr

hhrhhr

    Developer

  • Members
  • PipPipPip
  • 200 posts
  • LocationVeliky Novgorod
  • Country: flag of Russian Federation Russian Federation


Posted 04 February 2012 - 04:46 PM

hello.
Qt3D will be released 12/Mar/2012
before this time is not even clear which version gets a release (Qt3D or Quick3D)
current status of these branches - SIGSEGV when usingQt 4.8 (but there is a small patch for Qt3D who did not get to the master branch)

#30 D-Lite

D-Lite

    Core Team

  • Members
  • PipPipPip
  • 968 posts
  • Country: flag of Germany Germany


Posted 04 February 2012 - 09:04 PM

View Postdankers, on 03 February 2012 - 11:05 PM, said:

Seems our issue is 64bit Mac and 64Bit linux.

Yes, Modelview has always worked when I compiled it on my 32Bit OSX system. Seems to be a pure 64bit problem as it works on Linux 32Bit also.

#31 D-Lite

D-Lite

    Core Team

  • Members
  • PipPipPip
  • 968 posts
  • Country: flag of Germany Germany


Posted 04 February 2012 - 09:14 PM

View PostXXL-Wing, on 03 February 2012 - 11:54 AM, said:

thanks, the trace you sent strengthens the idea that it has something to do with VBO, because your driver also states that VBO isn't available with your card/driver.

Isn't VBO still disabled by default? This is a runtime option you can enable/disable from the ModelView option page.

#32 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 04 February 2012 - 09:20 PM

View PostD-Lite, on 04 February 2012 - 09:04 PM, said:

Yes, Modelview has always worked when I compiled it on my 32Bit OSX system. Seems to be a pure 64bit problem as it works on Linux 32Bit also.

Exactly.

Quote

Isn't VBO still disabled by default? This is a runtime option you can enable/disable from the ModelView option page.

They should be for sure. This current issue is related to 64bit Mac and Linux platforms and is very likely something else.

#33 muralha

muralha

    Developer

  • Members
  • PipPipPip
  • 363 posts
  • LocationLisbon, Portugal
  • Country: flag of Portugal Portugal


Posted 04 February 2012 - 09:33 PM

I was thinking of doing the ModelView in OpenGL.
What do you think?

btw, what features will Quick3D/Qt3D bring that it's better than straight OpenGL?
Less raw OpenGL coding?...

#34 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 04 February 2012 - 09:59 PM

View Postmuralha, on 04 February 2012 - 09:33 PM, said:

btw, what features will Quick3D/Qt3D bring that it's better than straight OpenGL?
Less raw OpenGL coding?...

Much less and cross platform quirks are considered. hhrhhr already has the bulk of it complete, we are just waiting to see what happens with Qt3D or QtQuick3D. We will also get mobile support thrown in to it for free as well.

If you watch the tutorial posted a while a go, Qt3D is really nice to use, animations (like working ailerons like you did before) also are fairly easy to do.

We also get model imports all pre-written and the less code we have to maintain the better!

#35 LenzGr

LenzGr

    New Member

  • Members
  • Pip
  • 9 posts
  • LocationHamburg
  • Country: flag of Germany Germany

Posted 08 February 2012 - 10:22 AM

View PostD-Lite, on 04 February 2012 - 09:14 PM, said:

Isn't VBO still disabled by default? This is a runtime option you can enable/disable from the ModelView option page.
Not when I tested it. I compiled the binary from source, started it and it crashed immediately.