LightBurn 2.0: xTool P2 Controller camera missing from dropdown

After upgrading to LightBurn 2.0 on Windows, several of the virtual/software camera devices that were visible in 1.7.08 are now missing. After trying whatever I could think of to troubleshoot, I gave up and downgraded back to the older version and confirmed that the virtual camera devices are still accessible there, just not in the latest 2.0 release. I tried both the “Recommended” and “Fallback” options in the 2.0 camera settings. The camera device I am trying to use is the “DirectShow Softcam” which is enabled by installing the P2 Controller workaround (GitHub - myktmcmo/P2Controller).

Did you change the camera capture system in LB settings?

Are you referring to this or something different?

I tried both the “Recommended” and “Fallback” options in the 2.0 camera settings.

Yes. Sorry. I missed that sentence :grinning_face: Did you restart after each change?

1 Like

I did, to no avail. Restarted the system, too. One clue is that in the older version of LightBurn, switching the camera capture system to Custom causes the devices to disappear, too. I have to leave it on Default. In the 2.0 release, the option names have changed, but it seems that neither supports the softcam supported by the 1.7.08 Default capture device.

is rolling back the fix… i have tried for over 2 weeks to get mine working. same issue but with the 1Laser 38W XRF with Ruida 644xg

I stopped updating past 1.7.08 because as far as I can tell, this issue has not yet been addressed in the newer releases. Bummer.

1 Like

THANK YOU!!! At least I know it’s LB & im not certifiable… YET! ROFL!

Has this been addressed at all in any of the post-2.0 releases?

Hi Josh! I’m the dev working on camera code, I wrote the new windows drivers.

Basically, DirectShow virtual cameras are not coming back. That API was introduced in Windows 95, Microsoft has deprecated it, and it’s time we did too. Sorry.

We’ve ‘upgraded’ to use the Windows Media Foundation API in Windows 10 - which is going end-of-life this year, so it’s not exactly new. But most virtual camera software is still using the much older API for reasons that I looked into, and are complicated, but seems to boil down to “arrgh, WMF is hard!” (they are correct) leading to a great absence of compatible virtual camera software. There is not much I can do about that situation.

I am surprised the ‘Fallback’ mode did not work, this situation is literally what it’s for. We’ve tried to keep the older drivers working but it’s a best effort and Microsoft keeps changing things.

I still don’t entirely understand your use case, or what the P2 controller software is doing. Or what laser you’re trying to use this on. Could you explain the problem you’re trying to solve?

I can say that we’re working on new network camera features for 2.1 that will use URLs to link to an image stream on a web server. If you can see the ‘raw’ camera image in a browser, it will hopefully work in LightBurn. The future of virtual cameras will be MJPEG streams over HTTP.

… soon as I finish this code…

4 Likes

Thanks Jeremy, as someone who also has a P2, I’m keen to have cameras working as well :slight_smile:

1 Like

I did a little more research and looked properly at the title so I’m now aware we’re talking about the xTool P2. :smile:

I don’t know anything about XCS or how it’s getting an image from the machine, but if it’s doing it over HTTP then we should be good to go. We just have to discover the magic URL. Has anyone been able to access the P2 camera from a web browser?

#3 Check the camera

  1. Connect P2 with a USB cable.
  2. Open your browser and select the link that corresponds to your operating system.
  • For Windows: 201.234.3.1:8329/snap?stream=1&mode=origin
  • For Mac: 201.234.4.1:8329/snap?stream=1&mode=origin
  1. Input the link in the address bar and press “Enter”.
  2. Check if the browser shows the image captured by the close-view camera.
  3. If not, the camera module may be faulty and needs replacement.

That appears to be the head-mounted camera

Thank you for your reply and your hard work, Jeremy! I really appreciate it.

The P2 Controller software that I mentioned above is an unofficial “hack” of sorts that connects to the xTool camera via the LAN IP. I am not sure if the project is open source (I think only a compiled version is on GitHub?) but even just looking into it might give you some clues as to how it is able to expose the xTool camera to LightBurn.

If there is anything else I can help with (testing, etc.) I would be happy to.

The third party P2 Controller software does allow access to both of the cameras on the xTool P2 (main camera and head camera).

In a developer build of LightBurn, not currently available to public - I have both the head-mounted and overhead camera working natively in LightBurn on the P2! I’m unable to provide a timeline to release, but it’s there!

So, expect this to be solved soon™


4 Likes

Fantastic, Colin! So happy to see this, it is going to make my LightBurn experience so much simpler once released. Thank you!