Closed ryzom-pipeline closed 4 years ago
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
updated for Ryzom Core Studio
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
plugins/example/qnel_widget.cpp, QNLWidget::init() NL3D::UDriver does not like winId() in setDisplay().
Original comment by dfighter1985 (Bitbucket: dfighter1985, GitHub: dfighter1985).
Try again please, from the develop branch. Thanks!
Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
stack trace updated to 0.10.0 develop branch commit 505a845
as you can see, it still crashes under linux.
Original comment by dfighter1985 (Bitbucket: dfighter1985, GitHub: dfighter1985).
OK, then it seems I only fixed A crash, not THE crash... :( I'll keep trying.
Original comment by dfighter1985 (Bitbucket: dfighter1985, GitHub: dfighter1985).
Well I've just wiped my lappy, installed a 64bit XUbuntu 14.4 and couldn't get it to crash, it "just" looks weird:
But then it only has an integrated Intel GPU, so different driver.
I'll keep investigating.
Original comment by osquallo (Bitbucket: osquallo, GitHub: osquallo).
Seem's to launch without crash (under debian with nvidia driver) by changing
#!c++
// create the driver
m_driver = NL3D::UDriver::createDriver(0, false);
nlassert(m_driver);
// initialize the nel 3d viewport
m_driver->setDisplay((nlWindow)winId(), NL3D::UDriver::CMode(width(), height(), 32));
To
#!c++
// create the driver
m_driver = NL3D::UDriver::createDriver();
nlassert(m_driver);
// initialize the nel 3d viewport
m_driver->setDisplay(NL3D::UDriver::CMode(width(), height(), 32));
No more opengl crash because of opengl context not created properly. Edit: i just want to add that it's the way driver are created in the objec viewer example in nel's sample. And for the weird look of the previous post it's look like when we had used our own data accidentally mixed with ryzom data.
Review Qt tool design.
Original report by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).
Both of these plugins crash on startup under linux (Ubuntu 14.04 64bit, Nvidia binary driver).
It seems to work on Ubuntu 14.04 32bit, ATI binary driver).
log before crash
gdb backtrace