discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

openscad bug / problem kubuntu 18.04

S
superaorta@gmail.com
Fri, Oct 12, 2018 8:31 AM

openscad

// gui runs but as soon as any file is selected this happens

QOpenGLWidget: Failed to create context
QOpenGLWidget: Failed to create context
QXcbConnection: XCB error: 3 (BadWindow), sequence: 1085, resource id:
31461207, major code: 40 (TranslateCoords), minor code: 0
composeAndFlush: makeCurrent() failed
composeAndFlush: makeCurrent() failed
..

It looks like no window ever opens but... a frame is drawn and never painted
(so the canvas is a distorted frozen version of the background). when the
mosue moves over this frame "composeAndFlush: makeCurrent() failed" is
continually repeated.

Any clue as to what is happening here? or to a working solution?

> openscad // gui runs but as soon as any file is selected this happens QOpenGLWidget: Failed to create context QOpenGLWidget: Failed to create context QXcbConnection: XCB error: 3 (BadWindow), sequence: 1085, resource id: 31461207, major code: 40 (TranslateCoords), minor code: 0 composeAndFlush: makeCurrent() failed composeAndFlush: makeCurrent() failed .. It looks like no window ever opens but... a frame is drawn and never painted (so the canvas is a distorted frozen version of the background). when the mosue moves over this frame "composeAndFlush: makeCurrent() failed" is continually repeated. Any clue as to what is happening here? or to a working solution?
S
sasa
Sat, Oct 13, 2018 8:09 PM

I've built the latest git version from source and I've got the same problem!

--
Sent from: http://forum.openscad.org/

I've built the latest git version from source and I've got the same problem! -- Sent from: http://forum.openscad.org/
S
superaorta@gmail.com
Sat, Oct 13, 2018 8:24 PM

Tried this as well:

gdebi will manage .deb dependencies

sudo apt-get install gdebi-core
wget http://ftp.us.debian.org/debian/pool/main/o/openscad/

openscad_2015.03-2+dfsg-2+b3_amd64.deb
sudo gdebi openscad_2015.03-2+dfsg-2+b3_amd64.deb

Same problem

So...if any of these are working for anyone else on ubuntu / kubunut 18.04 I'd
be interested - I simply don't know how to proceed with fixing this problem.

On Saturday, 13 October 2018 21:09:38 BST sasa wrote:

I've built the latest git version from source and I've got the same problem!

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Tried this as well: # gdebi will manage .deb dependencies sudo apt-get install gdebi-core wget http://ftp.us.debian.org/debian/pool/main/o/openscad/ openscad_2015.03-2+dfsg-2+b3_amd64.deb sudo gdebi openscad_2015.03-2+dfsg-2+b3_amd64.deb Same problem So...if any of these are working for anyone else on ubuntu / kubunut 18.04 I'd be interested - I simply don't know how to proceed with fixing this problem. On Saturday, 13 October 2018 21:09:38 BST sasa wrote: > I've built the latest git version from source and I've got the same problem! > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
TP
Torsten Paul
Sat, Oct 13, 2018 10:40 PM

On 10/13/2018 10:24 PM, superaorta@gmail.com wrote:

So...if any of these are working for anyone else on ubuntu /
kubunut 18.04 I'd be interested - I simply don't know how to
proceed with fixing this problem.

I just built on a fresh kubuntu 18.04.1 VM and there's no problem.

Are you using some special graphics driver, like the NVIDIA blob?
Maybe try:

__GL_THREADED_OPTIMIZATIONS=0 openscad

See https://github.com/openscad/openscad/issues/1848 for more info
on that.

ciao,
Torsten.

On 10/13/2018 10:24 PM, superaorta@gmail.com wrote: > So...if any of these are working for anyone else on ubuntu / > kubunut 18.04 I'd be interested - I simply don't know how to > proceed with fixing this problem. > I just built on a fresh kubuntu 18.04.1 VM and there's no problem. Are you using some special graphics driver, like the NVIDIA blob? Maybe try: __GL_THREADED_OPTIMIZATIONS=0 openscad See https://github.com/openscad/openscad/issues/1848 for more info on that. ciao, Torsten.
S
superaorta@gmail.com
Sat, Oct 13, 2018 11:52 PM

Ok tried https://github.com/openscad/openscad/issues/1848

__GL_THREADED_OPTIMIZATIONS=0 openscad

and

LIBGL_ALWAYS_SOFTWARE=1 openscad

Both made no difference :(

I do have the nvidia driver loaded - I could try removing this for debug but I
guess LIBGL_ALWAYS_SOFTWARE=1 openscad covers that test already?

On Saturday, 13 October 2018 23:40:09 BST Torsten Paul wrote:

On 10/13/2018 10:24 PM, superaorta@gmail.com wrote:

So...if any of these are working for anyone else on ubuntu /
kubunut 18.04 I'd be interested - I simply don't know how to
proceed with fixing this problem.

I just built on a fresh kubuntu 18.04.1 VM and there's no problem.

Are you using some special graphics driver, like the NVIDIA blob?
Maybe try:

__GL_THREADED_OPTIMIZATIONS=0 openscad

See https://github.com/openscad/openscad/issues/1848 for more info
on that.

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Ok tried https://github.com/openscad/openscad/issues/1848 __GL_THREADED_OPTIMIZATIONS=0 openscad and LIBGL_ALWAYS_SOFTWARE=1 openscad Both made no difference :( I do have the nvidia driver loaded - I could try removing this for debug but I guess LIBGL_ALWAYS_SOFTWARE=1 openscad covers that test already? On Saturday, 13 October 2018 23:40:09 BST Torsten Paul wrote: > On 10/13/2018 10:24 PM, superaorta@gmail.com wrote: > > So...if any of these are working for anyone else on ubuntu / > > kubunut 18.04 I'd be interested - I simply don't know how to > > proceed with fixing this problem. > > I just built on a fresh kubuntu 18.04.1 VM and there's no problem. > > Are you using some special graphics driver, like the NVIDIA blob? > Maybe try: > > __GL_THREADED_OPTIMIZATIONS=0 openscad > > See https://github.com/openscad/openscad/issues/1848 for more info > on that. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
TP
Torsten Paul
Sun, Oct 14, 2018 12:56 AM

On 10/14/2018 01:52 AM, superaorta@gmail.com wrote:

I do have the nvidia driver loaded - I could try removing
this for debug but I guess LIBGL_ALWAYS_SOFTWARE=1 openscad
covers that test already?

It should, yes. But as it's currently unclear what's causing
the issue and it's not reproducible on a fresh install, it
might still be worth a try.

ciao,
Torsten.

On 10/14/2018 01:52 AM, superaorta@gmail.com wrote: > I do have the nvidia driver loaded - I could try removing > this for debug but I guess LIBGL_ALWAYS_SOFTWARE=1 openscad > covers that test already? > It should, yes. But as it's currently unclear what's causing the issue and it's not reproducible on a fresh install, it might still be worth a try. ciao, Torsten.
S
superaorta@gmail.com
Sun, Oct 14, 2018 6:10 PM

Problem solved:

I don't know what the problem was but I started to get other related problems
with other software and got to thinking I'd had >60days uptime so rebooted and
now openscad (and the other stuff) has started working. My guess is a leak /
bug in nvidia or plasma is responsible. Given the length of time to manifest
itself I suspect debugging is practically impossible...

Thanks folks!

On Sunday, 14 October 2018 01:56:29 BST Torsten Paul wrote:

On 10/14/2018 01:52 AM, superaorta@gmail.com wrote:

I do have the nvidia driver loaded - I could try removing
this for debug but I guess LIBGL_ALWAYS_SOFTWARE=1 openscad
covers that test already?

It should, yes. But as it's currently unclear what's causing
the issue and it's not reproducible on a fresh install, it
might still be worth a try.

ciao,
Torsten.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Problem solved: I don't know what the problem was but I started to get other related problems with other software and got to thinking I'd had >60days uptime so rebooted and now openscad (and the other stuff) has started working. My guess is a leak / bug in nvidia or plasma is responsible. Given the length of time to manifest itself I suspect debugging is practically impossible... Thanks folks! On Sunday, 14 October 2018 01:56:29 BST Torsten Paul wrote: > On 10/14/2018 01:52 AM, superaorta@gmail.com wrote: > > I do have the nvidia driver loaded - I could try removing > > this for debug but I guess LIBGL_ALWAYS_SOFTWARE=1 openscad > > covers that test already? > > It should, yes. But as it's currently unclear what's causing > the issue and it's not reproducible on a fresh install, it > might still be worth a try. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org