Code Monkey home page Code Monkey logo

Comments (9)

son1csun avatar son1csun commented on August 28, 2024

I have a similar-appearing problem. Black screen, acts like a transparent window into things happening behind it. No graphics, no white screen, no visualisation at all if I open a gcode file. Just a transparent window into what's behind it.

I just updated to Ubuntu 24.04 and re-installed Candle. This was working for years on this machine, with Ubuntu 18.04. I have candle working on several other machines in our office (windows and ubuntu).

Here is the current graphics card and driver info:

00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G1 (Ice Lake) (rev 07)
Subsystem: Hewlett-Packard Company Iris Plus Graphics G1 (Ice Lake)
Kernel driver in use: i915
Kernel modules: i915

image

First I tried installing with Qt, but that produced this problem. Then I tried installing with cmake. No difference.

It will connect to our little CNC engraving machine, but that seems irrelevant, if we can't even open a gcode file and review it.

I'd appreciate your thoughts and ideas. The OS upgrade has turned into a massive downgrade for now.

Thanks, son1csun

from candle.

mar0x avatar mar0x commented on August 28, 2024

@son1csun, when you run Candle from terminal, is there anything output into terminal?

Try to reset all setting to default: Service->Settings->"Set to default".

I've checked pre-built Candle-1.1.9-Linux-x86_64.AppImage for Ubuntu 24.04 (in VMware) - it works for me.

from candle.

son1csun avatar son1csun commented on August 28, 2024

@mar0x Here's a screenshot of Candle run from the terminal. The desktop background is actually shown in the Candle window, but somehow it is displayed as solid black in this screenshot.

image

When I start from the terminal, this message is shown:

QSocketNotifier: Can only be used with threads started with QThread
locale: "en"

I'm not sure how to fix this. I have a german keyboard, but my computer is set to english language.

Perhaps I should just use an earlier version of Candle?

Thanks!

from candle.

mar0x avatar mar0x commented on August 28, 2024

The output

locale: "en"

is harmless and only states the translation language used (see main.cpp:50) .
QSocketNotifier message is more interesting, but seems unrelated to your graphics issue.

In my case there also message shader program created during GL widget initialization.

from candle.

son1csun avatar son1csun commented on August 28, 2024

@mar0x Thanks. The complete output in the terminal after start is:

QSocketNotifier: Can only be used with threads started with QThread
locale: "en"
shader program created
preparing vectors GcodeDrawer(0x5fa61e1aec20)
lines count 0
preparing vectors GcodeDrawer(0x5fa61e19b9e0)
lines count 0

Not sure if this is helpful. Tried installing 1.1.7 and am now dealing with a different error there:

./Candle: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory

This seems like a common linux problem that has a solution somewhere online...

from candle.

mar0x avatar mar0x commented on August 28, 2024

Have you tried Candle-1.1.9-Linux-x86_64.AppImage (download, make it executable and run) ?

from candle.

son1csun avatar son1csun commented on August 28, 2024

@mar0x Just downloaded, built with Qt, and ran Candle-grbl_1_0 from terminal. Same visualisation issue:

image

Text that appears in the terminal:

QSocketNotifier: Can only be used with threads started with QThread
locale: "en"
style "Windows"
style "Fusion"
shader program created
preparing vectors GcodeDrawer(0x584dd5960dc0)
lines count 0
preparing vectors GcodeDrawer(0x584dd59cfcd0)
lines count 0

from candle.

son1csun avatar son1csun commented on August 28, 2024

Have you tried Candle-1.1.9-Linux-x86_64.AppImage (download, make it executable and run) ?

@mar0x That + Service > Settings > Set to defaults did it! Whew... Now to delete all the non-working junk...

Muchas Gracias! Grazie Mille! Danke sehr! etc.

Now back to work

from candle.

mar0x avatar mar0x commented on August 28, 2024

@son1csun, I'm glad it works for you. Most likely there was an issue with build environment in your new Ubuntu 24.04 (something missing).

from candle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.