radiance icon indicating copy to clipboard operation
radiance copied to clipboard

Winit doesn't detect eDP-1 screen.

Open lysergik opened this issue 2 months ago • 1 comments

Hello,

I've discovered radiance few days ago, I started testing few things with the code to make the current master branch more usable, however something that I don't get is that the screen output node is not able to detect my laptop screen as usable surface. From what I understand the video output is managed inside the src/bin/winnit_output/mod.rs, but I quite don't know what should be modified to make it work.

lysergik avatar Nov 13 '25 16:11 lysergik

I recently updated egui & winit to their latest versions, and switched to eframe since it now natively supports wgpu. This required making a bunch of minor edits since their APIs have changed. I haven't yet gotten around to making these edits to ScreenOutputNode. This is close to the top of my priority list to re-enable. If you want to take a look, here is the starting point for what needs to change / be ported:

  • This cfg disables the entire file and should be removed
  • These two lines should be re-enabled so that the the renderer knows about the screen render targets

Also--the existing code uses winit directly. It may be worth looking into whether it's worth using eframe's new multi-window support.

ervanalb avatar Nov 13 '25 18:11 ervanalb

Screen output should be re-implemented now, let me know if it works for you!

Image

ervanalb avatar Dec 17 '25 03:12 ervanalb