Replies: 31 comments 30 replies
-
Hi Suggest start from here: #333 |
Beta Was this translation helpful? Give feedback.
-
And I hope you did not try to run a HyperHDR from the command line or as a deamon because there is a warning about it... |
Beta Was this translation helpful? Give feedback.
-
I used the search function. I'm new to this system, I think I did all the necessary, like installing pipewire and xdg desktop portal wlr Configuration: I have ws2812b to an arduino nano (115200 bad rate), the sketch i'm using is the following |
Beta Was this translation helpful? Give feedback.
-
I didn't test wlr because when the pipewire/portal was introducing protocol 4, wlr backend didn't implemented at this point. And it doesn't work under Virtual Box so I can't test it even now. The existing session portal token suggests that OS shown you at least once the dialog to select the screen to capture. Did the capturing work immediately after that? The token was stored and when you ran HyperHDR second? time it was rejected. Was the dialog shown again? Try to disable and enable software capturing in the HyperHDR grabber tab. |
Beta Was this translation helpful? Give feedback.
-
The capture never occurred. |
Beta Was this translation helpful? Give feedback.
-
Disabling and enabling software capturing in the HyperHDR grabber tab should trigger that. But again check logs immediately after that because I'm not sure what you are clicking. |
Beta Was this translation helpful? Give feedback.
-
You should not see something like that:
If you see it you didnt disable it.... |
Beta Was this translation helpful? Give feedback.
-
BTW OBS doesn't care about restoration token. But for HyperHDR is crucial to work: otherwise the user will be asked about the permission every time it runs HyperHDR. So even if OBS is working it doesnt mean anything at this point. |
Beta Was this translation helpful? Give feedback.
-
As you can see, in the tray icon it says that something is recording, but leds are turned off |
Beta Was this translation helpful? Give feedback.
-
I tried again in KDE X11 |
Beta Was this translation helpful? Give feedback.
-
Neh, the capturing is working just fine.
But why? This priority is usually used by the USB grabber. |
Beta Was this translation helpful? Give feedback.
-
pipewire won't work for KDE/x11 they didn't implement that pipewire protocol |
Beta Was this translation helpful? Give feedback.
-
What do I do about that? Should I change the priority? |
Beta Was this translation helpful? Give feedback.
-
Nevermind, the USB grabber is disabled anyway. Priority 245 is active in your KDE/wayland logs. there is confirmed capturing around 10FPS and even in the live preview HYperHDR logo has disappeared: probably you are capturing the black screen that covered it. That symptom was described in the linked topic in the discussion. Please install Gnome ;) |
Beta Was this translation helpful? Give feedback.
-
Hello. I have an update. I don't know exactly what made it work, but here's what I've done:
|
Beta Was this translation helpful? Give feedback.
-
I don't see any problems with a pipewire in logs. Beside it probably doesn't support the restoration token which should work under protocol version 4 if the user selects it. Probably more can be seen when you run HyperHDR from the console. Currently only Gnome properly implement portal/pipewire for most configuration, most of the problems are due to fact that some of portal implementation (adding some problems with a pipewire e.g. missing x11 protocol on some configuration, capturing stream is being broken after the monitor is going to sleep) are incomplete or simply doesn't work properly. Currently I can only support Ubuntu/Gnome under VirtualBox because it was well tested and simply portal/pipewire is most stable here and I can reproduce a potential problem here. For other systems the proper target for reporting the issues is the portal backends the pipewire repo. |
Beta Was this translation helpful? Give feedback.
-
That's unfortunate but thank you for your support. By the way, a "trick" that worked for me was this script, that I launch after starting the application: The annoying thing about this method is that when I disable the screen grabber, the leds turn off. Is there a way to not turn off the leds but instead leave them to the latest color? Before discovering this app and moving to Hyprland (wayland), I used the Psieg/Prismatik app, which didn't turn the leds off when closing the app. Thank you. |
Beta Was this translation helpful? Give feedback.
-
I will try to test wlr on a physical PC and see if there is a workaround for this but it will take some time. From my perspective Wayland wasn't ready to replace x11 at this stage, it was "forced" decision and now the users pay for it. Nevertheless some popular distros and window system managed to implement somehow missing features so I'm focusing on them (like Ubuntu) hoping the rest will soon reach the same level of compatibility because at least the API is now universal.
Only some specific LED drivers like Philips Hue and WLED (PR is waiting to be merge), support such feature (latest color before HyperHDR was turn on). |
Beta Was this translation helpful? Give feedback.
-
I think I've got something, still can't reproduce your problem but I'm not using 4k resolution and I suspect it can be rather performance/resources issue that can be solved with a patch. Unfortunately we can't reduce or set constant pipewire framerate: stream's FPS can drop to zero when nothing happens, and jump to your monitor refresh rate when there are some changes on the screen, we can limit it only using our timers but the resources (waiting frames) are busy anyway so maybe you run out of free resources after some time. I'm finishing some changes that should enable for pipewire alternative & in the theory much faster capturing ONLY if the system supports it. It's not supported on virtual box so I suspect it works only with hardware devices. Maybe it can help also with your case. Are you willing to test that version on your system and provide the feedback? |
Beta Was this translation helpful? Give feedback.
-
Great. No need to hurry, I need to make more testing. As I wrote the capturing using pipewire/wayland is very tricky. When HyperHDR is running and there is almost no movement on the desktop But make an experiment: run a terminal and from that terminal run That was the result for nouveau drivers running on physical PC with nvidia 1060GTX. Then I installed proprietary driver and CPU usage during rapid movements dropped to 70%. Still the driver doesn't offer DMA buffer for direct supports. But since the proprietary graphic driver was used, Ubuntu disabled wayland and fallback to x11/xshm. But HyperHDR's pipewire/portal grabber still worked, even better. |
Beta Was this translation helpful? Give feedback.
-
I tried again Wayfarer for ~17 minutes, this was the console output: |
Beta Was this translation helpful? Give feedback.
-
I installed the flatpak version of obs and it did open, but the recording stopped after ~6/7 seconds. And this is the terminal output: |
Beta Was this translation helpful? Give feedback.
-
Seems a bit similar to this issue: obsproject/obs-studio#7534 |
Beta Was this translation helpful? Give feedback.
-
I prepared an experimental version of HyperHDR: HyperHDR-19.0.0.0beta0-Linux-x86_64.tar.gz Need more testing but on prehistoric Lenovo x220 i5 igfx running EndeavourOS (wayland/KDE), capturing works like a charm using the acceleration now. Almost no CPU usage. But Intel drivers are very good. I have second PC with gfx1060 and ubuntu/wayland: the acceleration is detected but pipewire refuses to use it and chooses the alternative methods. I've got locked secure boot here so I'm stuck with Ubuntu currently. You can find more information about the capturing process and if the acceleration works, in the output when you run the app in the console. |
Beta Was this translation helpful? Give feedback.
-
HyperHDR 19 doesn't start... It's probably due some library version issue, since Manjaro is always behind for updates. |
Beta Was this translation helpful? Give feedback.
-
The library issue is fixed, HyperHDR now starts but it doesn't work: the recording preview Meanwhile, after the system update, obs (non flatpak version) resumed working. So I recorded the screen for ~10 minutes and everything went fine (except audio that was very low quality, but I guess it doesn't matter). The recording was in 3440x1440, no quality issue and very smooth. HyperHDR 18 does work (but with the usual issue) Here's some logs |
Beta Was this translation helpful? Give feedback.
-
Hello. |
Beta Was this translation helpful? Give feedback.
-
v19Beta1 doesn't have an acceleration for pipewire, it behaves like v18. Only the experimental build in this thread has it for testing purposes. |
Beta Was this translation helpful? Give feedback.
-
PR that introduces DMA & EGL Pipewire acceleration for HyperHDR is ready for testing #556 |
Beta Was this translation helpful? Give feedback.
-
Ok so I managed to build it and... It works!
I'm now been using the pipewire_hardware version for over 30 minutes and it works as expected. For some reason the web interface does not work, but I can access it and try new settings using HyperHDRv19 |
Beta Was this translation helpful? Give feedback.
-
Bug report, debug log and your config file (FULL LOGS ARE MANDATORY)
https://pastebin.com/SDqmZr9f
Steps to reproduce
Open HyperHDR
What is expected?
Screen Grabbing
What is actually happening?
Screen Grabbing not happening (but if I select any effects they will work)
System
Arch Linux with Hyprland (Wayland)
I'm using the binary release
Beta Was this translation helpful? Give feedback.
All reactions