Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipewire DMA & EGL hardware support (Wayland/x11 grabber) #556

Merged
merged 4 commits into from
Oct 25, 2023

Conversation

awawa-dev
Copy link
Owner

@awawa-dev awawa-dev commented Apr 29, 2023

Add support for hardware capturing (video Direct Memory Access buffers) and acceleration (including non-linear tiled or compressed formats EGL decoding) to already implemented software capturing using Pipewire/Portal Linux screen grabber. Should extend the compatibility and reduce the CPU load.

NVidia users please read it: #556 (comment)

Its correct operation, of course, depends on quality of Pipewire and gfx driver support. Based on my tests, Intel was the best here, NVidia was the worst depending on the version of the drivers (for some versions e.g. only black image as a result). Portal authorization should already work in most distributions as over time Portal version 4 protocol has been fully implemented for most desktop environments. There was also an issue with Pipewire's stream auto-resume: the stream was interrupted when the application, for example, switched to fullscreen or a screensaver was activated, yet pipewire did not initialize the auto-resume later and even the application did not receive any events that indicate problems (didnt retested it from some time so don't know if they fixed it).

Currently more detailed logging is available when you run HyperHDR from the console.

Latest pipewire should work with x11 sessions also (Gnome).

Please share here reports of successes or problems you have encountered so that other users know about the current status of this PR.

@awawa-dev awawa-dev changed the title Pipewire DMA & EGL hardware support (Wayland grabber) Pipewire DMA & EGL hardware support (Wayland/x11 grabber) May 1, 2023
@t0stiman
Copy link

I tried this branch, no success for me. I can use USB capture but not screen grabbing.

Kubuntu 23.04 x64
Wayland
Nvidia driver 535

If you need more info please let me know... And yes I ran this as user and not as service or from the terminal.

2023-07-25T16:23:47.429Z [MAIN] Database path: '/home/username/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2023-07-25T16:23:47.429Z [MAIN] Starting HyperHdr - 20.0.0.0beta0, pipewire_hardware (pi-aa4da8a/8506d68-1682954722), built: Jul 25 2023:18:14:34
2023-07-25T16:23:47.429Z [MAIN] Set user data path to '/home/username/.hyperhdr'
2023-07-25T16:23:47.430Z [DB] Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T16:23:47.437Z [SETTINGSMGR] Settings database initialized
2023-07-25T16:23:47.437Z [HYPERHDR] Sound device is disabled
2023-07-25T16:23:47.450Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T16:23:47.518Z [V4L2:AUTO] Found capture device: /dev/video1
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:402) Device has 'brightness' control => min: 0, max: 255, default: 128
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:408) Device has 'contrast' control => min: 0, max: 255, default: 128
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:414) Device has 'saturation' control => min: 0, max: 255, default: 128
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:420) Device has 'hue' control => min: 0, max: 255, default: 128
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 480 x 360 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 480 x 360 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 480 x 360 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 612 x 460 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 612 x 460 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 612 x 460 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 320 x 240 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 320 x 240 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 320 x 240 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 160 x 120 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 160 x 120 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 160 x 120 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 1920 x 1080 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 1920 x 1080 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.518Z [V4L2:AUTO] (V4L2Grabber.cpp:506) /dev/video1 1920 x 1080 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T16:23:47.519Z [V4L2:AUTO] HTC Vive (video1) [/dev/video1] 612 x 460 @ 30 fps yuyv
2023-07-25T16:23:47.519Z [V4L2:AUTO] HTC Vive (video1) [/dev/video1] 480 x 360 @ 30 fps yuyv
2023-07-25T16:23:47.519Z [V4L2:AUTO] HTC Vive (video1) [/dev/video1] 480 x 360 @ 120 fps mjpeg
2023-07-25T16:23:47.519Z [V4L2:AUTO] HTC Vive (video1) [/dev/video1] 640 x 480 @ 50 fps nv12
2023-07-25T16:23:47.519Z [V4L2:AUTO] HTC Vive (video1) [/dev/video1] 480 x 360 @ 100 fps nv12
2023-07-25T16:23:47.519Z [V4L2:AUTO] Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T16:23:47.519Z [V4L2:AUTO] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T16:23:47.519Z [V4L2:auto] (GrabberWrapper.cpp:75) CEC keycode. Start: 0, stop: 0
2023-07-25T16:23:47.519Z [V4L2:AUTO] (Grabber.cpp:259) setBrightnessContrastSaturationHue nothing changed
2023-07-25T16:23:47.519Z [V4L2:AUTO] (V4L2Grabber.cpp:125) setHdrToneMappingMode to: Disabled
2023-07-25T16:23:47.519Z [V4L2:AUTO] (Grabber.cpp:168) setFpsSoftwareDecimation to: 1
2023-07-25T16:23:47.519Z [SIGNAL_OLD] (DetectionManual.cpp:85) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T16:23:47.519Z [SIGNAL_OLD] (DetectionManual.cpp:75) Signal threshold set to: {12, 12, 12} and frames: 200
2023-07-25T16:23:47.519Z [SIGNAL_AUTO] (DetectionAutomatic.cpp:382) Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2023-07-25T16:23:47.519Z [V4L2:AUTO] (Grabber.cpp:367) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2023-07-25T16:23:47.519Z [V4L2:AUTO] Delayed restart of the grabber due to change of selected device
2023-07-25T16:23:47.519Z [V4L2:AUTO] (Grabber.cpp:186) Force encoding to: NO_CHANGE (old: NO_CHANGE)
2023-07-25T16:23:47.519Z [V4L2:AUTO] setQFrameDecimation is now: disabled
2023-07-25T16:23:47.519Z [V4L2:auto] (GrabberWrapper.cpp:545) Frame cache is: enabled
2023-07-25T16:23:47.519Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T16:23:47.520Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Loaded Pipewire proxy library for screen capturing
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] (Grabber.cpp:145) Set new width: 512, height: 512 for capture
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] (Grabber.cpp:322) setWidthHeight preparing to restarting video grabber 0
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Delayed restart of the grabber due to change of the capturing resolution
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Delayed restart of the grabber due to change of the framerate
2023-07-25T16:23:47.523Z [SIGNAL_OLD] (DetectionManual.cpp:85) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T16:23:47.523Z [SIGNAL_OLD] (DetectionManual.cpp:75) Signal threshold set to: {0, 0, 0} and frames: 50
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] (Grabber.cpp:367) setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'Pipewire System Dialog selection'
2023-07-25T16:23:47.523Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Delayed restart of the grabber due to change of selected device
2023-07-25T16:23:47.529Z [SETTINGSMGR] Settings database initialized
2023-07-25T16:23:47.529Z [BLACKBORDER] Set mode to: default
2023-07-25T16:23:47.529Z [COMPONENTREG0] Blackborder detector: enabled
2023-07-25T16:23:47.529Z [IMAGETOLED0] (ImageProcessor.cpp:161) Set LED mapping type to advanced
2023-07-25T16:23:47.529Z [IMAGETOLED0] (ImageProcessor.cpp:145) setSparseProcessing to 0
2023-07-25T16:23:47.530Z [RGB_TRANSFORM0] RGB transform classic_config: 1, saturationGain: 1.000000, luminanceGain: 1.000000, backlightThreshold: 2
2023-07-25T16:23:47.530Z [RGB_TRANSFORM0] setBacklightThreshold: 2
2023-07-25T16:23:47.530Z [ADJUST_RED0] Set correction to 255
2023-07-25T16:23:47.530Z [ADJUST_BLUE0] Set correction to 150
2023-07-25T16:23:47.530Z [ADJUST_GREEN0] Set correction to 180
2023-07-25T16:23:47.532Z [JSONSERVER] (JsonServer.cpp:24) Created instance
2023-07-25T16:23:47.532Z [JSONSERVER] Started on port 19444
2023-07-25T16:23:47.534Z [MAIN] start systray
2023-07-25T16:23:47.530Z [HYPERHDR0] Led strip RGB order is: rgb
2023-07-25T16:23:47.530Z [DB] Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T16:23:47.533Z [FLATBUFSERVER] Started on port 19400
2023-07-25T16:23:47.533Z [FLATBUFSERVER] Started local domain socket server: 'hyperhdr-domain'
2023-07-25T16:23:47.534Z [SMOOTHING0] High resolution clock is NOT STEADY!
2023-07-25T16:23:47.534Z [SMOOTHING0] Clearing queued colors before: enabling
2023-07-25T16:23:47.534Z [SMOOTHING0] Smoothing queue is cleared
2023-07-25T16:23:47.534Z [COMPONENTREG0] Smoothing: enabled
2023-07-25T16:23:47.534Z [SMOOTHING0] Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T16:23:47.534Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T16:23:47.534Z [SMOOTHING0] Smoothing queue is cleared
2023-07-25T16:23:47.534Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T16:23:47.534Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] Start LedDevice 'adalight'.
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:171) deviceConfig: [{"awa_mode":false,"colorOrder":"rgb","currentLedCount":85,"delayAfterConnect":0,"lightberry_apa102_mode":false,"maxRetry":0,"output":"ttyACM0","rate":115200,"refreshTime":0,"type":"adalight"}]
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:235) RefreshTime updated to 0ms
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:41) DeviceType   : adalight
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:42) LedCount     : 85
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:43) RefreshTime  : 0
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:57) Device name   : ttyACM0
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:58) Auto selection: 0
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:59) Baud rate     : 115200
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:60) ESP handshake : OFF
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:61) Delayed open  : 0
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:62) Retry limit   : 0
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (LedDeviceAdalight.cpp:88) Adalight header for 85 leds: Ada 0x00 0x54 0x01
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:103) Enable device
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] Opening UART: ttyACM0
2023-07-25T16:23:47.534Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:216) _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2023-07-25T16:23:47.534Z [EFFECTENGINE0] Run effect "Rainbow swirl fast" on channel 254
2023-07-25T16:23:47.534Z [EFFECTENGINE0] (EffectEngine.cpp:174) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-25T16:23:47.534Z [MUXER0] Register new input 'System/EFFECT' with priority 254 as inactive
2023-07-25T16:23:47.534Z [HYPERHDR] Initial background effect 'Rainbow swirl fast' started
2023-07-25T16:23:47.534Z [MUXER0] Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2023-07-25T16:23:47.534Z [COMPONENTREG0] System capture device: enabled
2023-07-25T16:23:47.540Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] (PipewireGrabber.cpp:155) init
2023-07-25T16:23:47.541Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] *************************************************************************************************
2023-07-25T16:23:47.541Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 20 fps
2023-07-25T16:23:47.541Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] *************************************************************************************************
2023-07-25T16:23:47.541Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Loading restoration token: ************************464109dcdba8
2023-07-25T16:23:47.542Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Started
2023-07-25T16:23:47.542Z [HYPERMANAGER] HyperHDR instance 'goeie uno' has been started
2023-07-25T16:23:47.542Z [DAEMON] Unload CEC
2023-07-25T16:23:47.535Z [EFFECT0(Rainbo...)] Begin playing the effect with priority: 254
2023-07-25T16:23:47.535Z [MUXER0] Priority 254 is now active
2023-07-25T16:23:47.535Z [MUXER0] Set visible priority to 254
2023-07-25T16:23:47.535Z [HYPERHDR0] New priority[254], previous [255]
2023-07-25T16:23:47.535Z [HYPERHDR0] New source available -> switch LED-Device on
2023-07-25T16:23:47.535Z [SMOOTHING0] Clearing queued colors before: enabling
2023-07-25T16:23:47.535Z [SMOOTHING0] Smoothing queue is cleared
2023-07-25T16:23:47.542Z [WEBSERVER] Initialize Webserver
2023-07-25T16:23:47.543Z [WEBSERVER] Initialize Webserver
2023-07-25T16:23:47.544Z [WEBSERVER] Apply Webserver settings
2023-07-25T16:23:47.544Z [WEBSERVER] Set document root to: :/www
2023-07-25T16:23:47.544Z [WEBSERVER] Apply Webserver settings
2023-07-25T16:23:47.544Z [WEBSERVER] Set document root to: :/www
2023-07-25T16:23:47.544Z [WEBSERVER] Started on port 8090 name 'HyperHDR Webserver'
2023-07-25T16:23:47.545Z [WEBSERVER] Setup SSL certificate
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:221) portName:          ttyACM0
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:222) systemLocation:    /dev/ttyACM0
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:223) description:       0043
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:224) manufacturer:      Arduino  www.arduino.cc 
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:225) productIdentifier: 0x43
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:226) vendorIdentifier:  0x2341
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (ProviderRs232.cpp:227) serialNumber:      75439323835351916062
2023-07-25T16:23:47.546Z [WEBSERVER] Setup private SSL key
2023-07-25T16:23:47.546Z [WEBSERVER] Started on port 8092 name 'HyperHDR Webserver'
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:333) Switch on
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:409) Power On
2023-07-25T16:23:47.546Z [LEDDEVICE_ADALIGHT] (LedDevice.cpp:103) Enable device
2023-07-25T16:23:47.546Z [COMPONENTREG0] LED device: enabled
2023-07-25T16:23:47.546Z [EFFECTENGINE0] Run effect "Rainbow swirl fast" on channel 0
2023-07-25T16:23:47.546Z [EFFECTENGINE0] (EffectEngine.cpp:174) Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-25T16:23:47.546Z [MUXER0] Register new input 'System/EFFECT' with priority 0 as inactive
2023-07-25T16:23:47.546Z [HYPERHDR] Initial foreground effect 'Rainbow swirl fast' started
2023-07-25T16:23:47.546Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T16:23:47.546Z [SMOOTHING0] Smoothing queue is cleared
2023-07-25T16:23:47.547Z [SMOOTHING0] Selecting config (2) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2023-07-25T16:23:47.547Z [SMOOTHING0] Using linear smoothing input (2)
2023-07-25T16:23:47.547Z [EFFECT0(Rainbo...)] Begin playing the effect with priority: 0
2023-07-25T16:23:47.547Z [MUXER0] Priority 0 is now active
2023-07-25T16:23:47.547Z [MUXER0] Set visible priority to 0
2023-07-25T16:23:47.547Z [HYPERHDR0] New priority[0], previous [254]
2023-07-25T16:23:47.547Z [IMAGETOLED0] Total index number is: 2346 (memory: 2346). User sparse processing is: disabled, image size: 80 x 45, area number: 85
2023-07-25T16:23:47.587Z [SMOOTHING0] Using linear smoothing procedure (2)
2023-07-25T16:23:47.613Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Portal protocol version: 4
2023-07-25T16:23:47.613Z [PIPEWIRE_SYSTEM:PIPEWIRE SYSTE] Saving restoration token: ************************464109dcdba8
2023-07-25T16:23:47.614Z [MUXER0] Priority 245 is now active
2023-07-25T16:23:49.078Z [WEBSOCKET] (WebSocketClient.cpp:30) New connection from ::ffff:127.0.0.1
2023-07-25T16:23:49.078Z [WEBSOCKET] (JsonAPI.cpp:97) Client '::ffff:127.0.0.1' switch to HyperHDR instance 0
2023-07-25T16:23:49.146Z [DB] Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T16:23:50.554Z [EFFECT0(Rainbo...)] The effect quits with priority: 0
2023-07-25T16:23:50.555Z [MUXER0] Removed source priority 0
2023-07-25T16:23:50.555Z [MUXER0] Set visible priority to 245
2023-07-25T16:23:50.555Z [SMOOTHING0] Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T16:23:50.555Z [SMOOTHING0] Smoothing queue is cleared
2023-07-25T16:23:50.555Z [SMOOTHING0] Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T16:23:50.555Z [SMOOTHING0] Using alternative smoothing input (0)
2023-07-25T16:23:50.555Z [HYPERHDR0] New priority[245], previous [0]
2023-07-25T16:23:50.555Z [EFFECTENGINE0] Effect 'Rainbow swirl fast' has finished.
2023-07-25T16:23:50.555Z [EFFECT0(Rainbo...)] Deleting effect named: 'Rainbow swirl fast'
2023-07-25T16:23:50.555Z [EFFECT0(Rainbo...)] Effect named: 'Rainbow swirl fast' is deleted
2023-07-25T16:23:50.563Z [IMAGETOLED0] Total index number is: 86652 (memory: 86652). User sparse processing is: disabled, image size: 480 x 270, area number: 85
2023-07-25T16:23:50.575Z [SMOOTHING0] Using alternative smoothing procedure (0)
2023-07-25T16:24:03.844Z [WEBSOCKET] (JsonAPI.cpp:1265) log streaming activated for client ::ffff:127.0.0.1

@awawa-dev
Copy link
Owner Author

Hi
Please run it from the terminal: some more detailed diagnostic messages are displayed only on the standard output, not forwarded to logs. Screen capturing seems to be active with priority 245 and the background effect with priority 254 is disabled because there is an alternative video source with lower priority..maybe the black screen is captured (nvidia gfx driver is main suspect)?

@t0stiman
Copy link

Please ignore the comment that I deleted, I was logged in to an X server session. The log in the comment thats still there is correct.

@t0stiman
Copy link

Attempt number 2: here is the output from launching from terminal:

GUI application2023-07-25T20:21:03.328 MAIN                   : <INFO> Database path: '/home/username/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2023-07-25T20:21:03.328 MAIN                   : <INFO> Starting HyperHdr - 20.0.0.0beta0, pipewire_hardware (pi-aa4da8a/8506d68-1682954722), built: Jul 25 2023:18:14:34
2023-07-25T20:21:03.328 MAIN                   : <INFO> Set user data path to '/home/username/.hyperhdr'
2023-07-25T20:21:03.329 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T20:21:03.340 SETTINGSMGR            : <INFO> Settings database initialized
2023-07-25T20:21:03.340 HYPERHDR               : <INFO> Sound device is disabled
2023-07-25T20:21:03.352 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T20:21:03.426 V4L2:AUTO              : <INFO> Found capture device: /dev/video1
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:402:enumerateV4L2devices() | Device has 'brightness' control => min: 0, max: 255, default: 128
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:408:enumerateV4L2devices() | Device has 'contrast' control => min: 0, max: 255, default: 128
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:414:enumerateV4L2devices() | Device has 'saturation' control => min: 0, max: 255, default: 128
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:420:enumerateV4L2devices() | Device has 'hue' control => min: 0, max: 255, default: 128
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 612 x 460 @ 30 fps yuyv
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 30 fps yuyv
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 120 fps mjpeg
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 640 x 480 @ 50 fps nv12
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 100 fps nv12
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T20:21:03.427 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:75:setCecStartStop() | CEC keycode. Start: 0, stop: 0
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> Grabber.cpp:259:setBrightnessContrastSaturationHue() | setBrightnessContrastSaturationHue nothing changed
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:125:setHdrToneMappingEnabled() | setHdrToneMappingMode to: Disabled
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> Grabber.cpp:168:setFpsSoftwareDecimation() | setFpsSoftwareDecimation to: 1
2023-07-25T20:21:03.427 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T20:21:03.427 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {12, 12, 12} and frames: 200
2023-07-25T20:21:03.427 SIGNAL_AUTO            : <DEBUG> DetectionAutomatic.cpp:382:setAutoSignalParams() | Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-25T20:21:03.427 V4L2:AUTO              : <DEBUG> Grabber.cpp:186:setEncoding() | Force encoding to: NO_CHANGE (old: NO_CHANGE)
2023-07-25T20:21:03.427 V4L2:AUTO              : <INFO> setQFrameDecimation is now: disabled
2023-07-25T20:21:03.427 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:545:handleSettingsUpdate() | Frame cache is: enabled
2023-07-25T20:21:03.427 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T20:21:03.428 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Loaded Pipewire proxy library for screen capturing
PipewireHandler: ScreenCast protocol version: 4
Portal.ScreenCast: protocol version = 4
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> Grabber.cpp:145:trySetWidthHeight() | Set new width: 512, height: 512 for capture
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> Grabber.cpp:322:setWidthHeight() | setWidthHeight preparing to restarting video grabber 0
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Delayed restart of the grabber due to change of the capturing resolution
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Delayed restart of the grabber due to change of the framerate
2023-07-25T20:21:03.430 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T20:21:03.430 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {0, 0, 0} and frames: 50
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'Pipewire System Dialog selection'
2023-07-25T20:21:03.430 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-25T20:21:03.432 SETTINGSMGR            : <INFO> Settings database initialized
2023-07-25T20:21:03.433 BLACKBORDER            : <INFO> Set mode to: default
2023-07-25T20:21:03.433 COMPONENTREG0          : <INFO> Blackborder detector: enabled
2023-07-25T20:21:03.433 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:161:setLedMappingType() | Set LED mapping type to advanced
2023-07-25T20:21:03.433 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:145:setSparseProcessing() | setSparseProcessing to 0
2023-07-25T20:21:03.433 RGB_TRANSFORM0         : <INFO> RGB transform classic_config: 1, saturationGain: 1.000000, luminanceGain: 1.000000, backlightThreshold: 2
2023-07-25T20:21:03.433 RGB_TRANSFORM0         : <INFO> setBacklightThreshold: 2
2023-07-25T20:21:03.433 ADJUST_RED0            : <INFO> Set correction to 255
2023-07-25T20:21:03.433 ADJUST_BLUE0           : <INFO> Set correction to 150
2023-07-25T20:21:03.433 ADJUST_GREEN0          : <INFO> Set correction to 180
2023-07-25T20:21:03.433 HYPERHDR0              : <INFO> Led strip RGB order is: rgb
2023-07-25T20:21:03.433 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T20:21:03.435 JSONSERVER             : <DEBUG> JsonServer.cpp:24:JsonServer() | Created instance
2023-07-25T20:21:03.435 JSONSERVER             : <INFO> Started on port 19444
2023-07-25T20:21:03.435 FLATBUFSERVER          : <INFO> Started on port 19400
2023-07-25T20:21:03.435 FLATBUFSERVER          : <INFO> Started local domain socket server: 'hyperhdr-domain'
SLEEP HANDLER REGISTERED!
2023-07-25T20:21:03.436 MAIN                   : <INFO> start systray
2023-07-25T20:21:03.437 SMOOTHING0             : <WARNING> High resolution clock is NOT STEADY!
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:21:03.437 COMPONENTREG0          : <INFO> Smoothing: enabled
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:21:03.437 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <INFO> Start LedDevice 'adalight'.
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:171:init() | deviceConfig: [{"awa_mode":false,"colorOrder":"rgb","currentLedCount":85,"delayAfterConnect":0,"lightberry_apa102_mode":false,"maxRetry":0,"output":"ttyACM0","rate":115200,"refreshTime":0,"type":"adalight"}]
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:235:setRefreshTime() | RefreshTime updated to 0ms
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:41:init() | DeviceType   : adalight
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:42:init() | LedCount     : 85
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:43:init() | RefreshTime  : 0
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:57:init() | Device name   : ttyACM0
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:58:init() | Auto selection: 0
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:59:init() | Baud rate     : 115200
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:60:init() | ESP handshake : OFF
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:61:init() | Delayed open  : 0
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:62:init() | Retry limit   : 0
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> LedDeviceAdalight.cpp:88:CreateHeader() | Adalight header for 85 leds: Ada 0x00 0x54 0x01
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:103:enable() | Enable device
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <INFO> Opening UART: ttyACM0
2023-07-25T20:21:03.437 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:216:tryOpen() | _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2023-07-25T20:21:03.437 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 254
2023-07-25T20:21:03.437 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:174:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-25T20:21:03.437 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 254 as inactive
2023-07-25T20:21:03.437 HYPERHDR               : <INFO> Initial background effect 'Rainbow swirl fast' started
2023-07-25T20:21:03.437 MUXER0                 : <INFO> Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2023-07-25T20:21:03.437 COMPONENTREG0          : <INFO> System capture device: enabled
2023-07-25T20:21:03.438 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 254
2023-07-25T20:21:03.438 MUXER0                 : <INFO> Priority 254 is now active
2023-07-25T20:21:03.438 MUXER0                 : <INFO> Set visible priority to 254
2023-07-25T20:21:03.438 HYPERHDR0              : <INFO> New priority[254], previous [255]
2023-07-25T20:21:03.438 HYPERHDR0              : <INFO> New source available -> switch LED-Device on
2023-07-25T20:21:03.438 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
2023-07-25T20:21:03.438 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:21:03.443 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> PipewireGrabber.cpp:155:init() | init
2023-07-25T20:21:03.443 PIPEWIRE_SYSTEM:PIPEWI : <INFO> *************************************************************************************************
2023-07-25T20:21:03.443 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 20 fps
2023-07-25T20:21:03.443 PIPEWIRE_SYSTEM:PIPEWI : <INFO> *************************************************************************************************
2023-07-25T20:21:03.443 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Loading restoration token: 
Pipewire: initialization invoked. Cleaning up first...
PipewireHandler: ScreenCast protocol version: 4
Sender: 1_69
Requested FPS: 20
Pipewire: CreateSession finished
2023-07-25T20:21:03.445 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Started
2023-07-25T20:21:03.445 HYPERMANAGER           : <INFO> HyperHDR instance 'goeie uno' has been started
2023-07-25T20:21:03.445 DAEMON                 : <INFO> Unload CEC
2023-07-25T20:21:03.445 WEBSERVER              : <INFO> Initialize Webserver
2023-07-25T20:21:03.445 WEBSERVER              : <INFO> Initialize Webserver
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:221:tryOpen() | portName:          ttyACM0
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:222:tryOpen() | systemLocation:    /dev/ttyACM0
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:223:tryOpen() | description:       0043
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:224:tryOpen() | manufacturer:      Arduino  www.arduino.cc 
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:225:tryOpen() | productIdentifier: 0x43
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:226:tryOpen() | vendorIdentifier:  0x2341
2023-07-25T20:21:03.446 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:227:tryOpen() | serialNumber:      75439323835351916062
2023-07-25T20:21:03.446 WEBSERVER              : <INFO> Apply Webserver settings
2023-07-25T20:21:03.446 WEBSERVER              : <INFO> Apply Webserver settings
2023-07-25T20:21:03.446 WEBSERVER              : <INFO> Set document root to: :/www
2023-07-25T20:21:03.446 WEBSERVER              : <INFO> Set document root to: :/www
2023-07-25T20:21:03.446 WEBSERVER              : <INFO> Started on port 8090 name 'HyperHDR Webserver'
2023-07-25T20:21:03.447 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:333:switchOn() | Switch on
2023-07-25T20:21:03.447 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:409:powerOn() | Power On
2023-07-25T20:21:03.447 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:103:enable() | Enable device
2023-07-25T20:21:03.447 COMPONENTREG0          : <INFO> LED device: enabled
2023-07-25T20:21:03.447 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 0
2023-07-25T20:21:03.447 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:174:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-25T20:21:03.447 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 0 as inactive
2023-07-25T20:21:03.447 HYPERHDR               : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2023-07-25T20:21:03.447 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T20:21:03.447 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:21:03.447 SMOOTHING0             : <INFO> Selecting config (2) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2023-07-25T20:21:03.447 SMOOTHING0             : <INFO> Using linear smoothing input (2)
2023-07-25T20:21:03.447 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 0
2023-07-25T20:21:03.447 MUXER0                 : <INFO> Priority 0 is now active
2023-07-25T20:21:03.447 MUXER0                 : <INFO> Set visible priority to 0
2023-07-25T20:21:03.447 HYPERHDR0              : <INFO> New priority[0], previous [254]
2023-07-25T20:21:03.447 IMAGETOLED0            : <INFO> Total index number is: 2346 (memory: 2346). User sparse processing is: disabled, image size: 80 x 45, area number: 85
2023-07-25T20:21:03.448 WEBSERVER              : <INFO> Setup SSL certificate
2023-07-25T20:21:03.448 WEBSERVER              : <INFO> Setup private SSL key
2023-07-25T20:21:03.448 WEBSERVER              : <INFO> Started on port 8092 name 'HyperHDR Webserver'
Pipewire: Got response from portal CreateSession
Pipewire: Failed to create session: 2
2023-07-25T20:21:03.488 SMOOTHING0             : <INFO> Using linear smoothing procedure (2)
Local IPv4 address: 192.168.2.92
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:de69:cf6b:b80d:f470
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 4 sockets for mDNS query
Sending mDNS query : _hyperhdr-http._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:de69:cf6b:b80d:f470
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 4 sockets for mDNS query
Sending mDNS query : _hue._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:de69:cf6b:b80d:f470
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 4 sockets for mDNS query
Sending mDNS query : _wled._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv6 address: 2a02:a44a:21ce:1:de69:cf6b:b80d:f470
Opened 2 sockets for mDNS service
Service mDNS: _hyperhdr-http._tcp.local.:8090
Hostname: hostname
Sending announce
2023-07-25T20:21:06.454 EFFECT0(Rainbo...)     : <INFO> The effect quits with priority: 0
2023-07-25T20:21:06.454 MUXER0                 : <INFO> Removed source priority 0
2023-07-25T20:21:06.454 MUXER0                 : <INFO> Set visible priority to 254
2023-07-25T20:21:06.454 HYPERHDR0              : <INFO> New priority[254], previous [0]
2023-07-25T20:21:06.454 EFFECTENGINE0          : <INFO> Effect 'Rainbow swirl fast' has finished.
2023-07-25T20:21:06.454 EFFECT0(Rainbo...)     : <INFO> Deleting effect named: 'Rainbow swirl fast'
2023-07-25T20:21:06.454 EFFECT0(Rainbo...)     : <INFO> Effect named: 'Rainbow swirl fast' is deleted
Read 0 records
Closed sockets
Read 0 records
Closed sockets
Read 0 records
Closed sockets
2023-07-25T20:21:09.894 WEBSOCKET              : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:127.0.0.1
2023-07-25T20:21:09.894 WEBSOCKET              : <DEBUG> JsonAPI.cpp:97:handleInstanceSwitch() | Client '::ffff:127.0.0.1' switch to HyperHDR instance 0
2023-07-25T20:21:09.929 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T20:21:15.864 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T20:21:15.864 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {0, 0, 0} and frames: 50
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: 'Pipewire System Dialog selection' new: 'auto'
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> Grabber.cpp:272:unblockAndRestart() | Planned restart of video grabber after reloading of the configuration
Pipewire: driver is closed now
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Stopped
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> PipewireGrabber.cpp:147:uninit() | Uninit grabber: auto
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> PipewireGrabber.cpp:155:init() | init
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> PipewireGrabber.cpp:175:init() | Forcing auto discovery device
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <DEBUG> PipewireGrabber.cpp:180:init() | Auto discovery set to Pipewire System Dialog selection
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <INFO> *************************************************************************************************
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 20 fps
2023-07-25T20:21:15.864 PIPEWIRE_SYSTEM:PIPEWI : <INFO> *************************************************************************************************
2023-07-25T20:21:15.865 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Loading restoration token: 
Pipewire: initialization invoked. Cleaning up first...
PipewireHandler: ScreenCast protocol version: 4
Sender: 1_69
Requested FPS: 20
Pipewire: CreateSession finished
2023-07-25T20:21:15.866 PIPEWIRE_SYSTEM:PIPEWI : <INFO> Started
Pipewire: Got response from portal CreateSession
Pipewire: Failed to create session: 2

@awawa-dev
Copy link
Owner Author

awawa-dev commented Jul 25, 2023

Again: no restoration token and CreateSession failed. Were you asked to allow the screen capture (some kind of dialog should popup)? In this logs the situation is completly different than in the first one.

@t0stiman
Copy link

I think I know what window you mean. The one where you can select which window to record? It does not appear.

@awawa-dev
Copy link
Owner Author

Are you logged in the Wayland session (locally) and run HyperHDR from terminal like gnome-terminal or similar?

@t0stiman
Copy link

Yes, I'm in Wayland. I selected the Wayland session at the login screen and echo $XDG_SESSION_TYPE returns wayland. I am running the executable from Konsole (the default terminal thingy in KDE).

I logged out and back in and this time I did get the window selection pop-up. Screen grabbing still not working tho.

GUI application2023-07-25T20:52:54.920 MAIN                   : <INFO> Database path: '/home/username/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2023-07-25T20:52:54.920 MAIN                   : <INFO> Starting HyperHdr - 20.0.0.0beta0, pipewire_hardware (pi-aa4da8a/8506d68-1682954722), built: Jul 25 2023:18:14:34
2023-07-25T20:52:54.920 MAIN                   : <INFO> Set user data path to '/home/username/.hyperhdr'
2023-07-25T20:52:54.921 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T20:52:54.932 SETTINGSMGR            : <INFO> Settings database initialized
2023-07-25T20:52:54.932 HYPERHDR               : <INFO> Sound device is disabled
2023-07-25T20:52:54.950 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T20:52:55.018 V4L2:AUTO              : <INFO> Found capture device: /dev/video1
2023-07-25T20:52:55.018 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:402:enumerateV4L2devices() | Device has 'brightness' control => min: 0, max: 255, default: 128
2023-07-25T20:52:55.018 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:408:enumerateV4L2devices() | Device has 'contrast' control => min: 0, max: 255, default: 128
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:414:enumerateV4L2devices() | Device has 'saturation' control => min: 0, max: 255, default: 128
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:420:enumerateV4L2devices() | Device has 'hue' control => min: 0, max: 255, default: 128
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 30 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 24 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 20 fps NO_CHANGE (unsupported)
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 612 x 460 @ 30 fps yuyv
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 30 fps yuyv
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 120 fps mjpeg
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 640 x 480 @ 50 fps nv12
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 100 fps nv12
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T20:52:55.019 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:75:setCecStartStop() | CEC keycode. Start: 0, stop: 0
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> Grabber.cpp:259:setBrightnessContrastSaturationHue() | setBrightnessContrastSaturationHue nothing changed
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:125:setHdrToneMappingEnabled() | setHdrToneMappingMode to: Disabled
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> Grabber.cpp:168:setFpsSoftwareDecimation() | setFpsSoftwareDecimation to: 1
2023-07-25T20:52:55.019 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T20:52:55.019 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {12, 12, 12} and frames: 200
2023-07-25T20:52:55.019 SIGNAL_AUTO            : <DEBUG> DetectionAutomatic.cpp:382:setAutoSignalParams() | Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-25T20:52:55.019 V4L2:AUTO              : <DEBUG> Grabber.cpp:186:setEncoding() | Force encoding to: NO_CHANGE (old: NO_CHANGE)
2023-07-25T20:52:55.019 V4L2:AUTO              : <INFO> setQFrameDecimation is now: disabled
2023-07-25T20:52:55.019 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:545:handleSettingsUpdate() | Frame cache is: enabled
2023-07-25T20:52:55.019 PIPEWIRE_SYSTEM:AUTO   : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-25T20:52:55.020 PIPEWIRE_SYSTEM:AUTO   : <INFO> Loaded Pipewire proxy library for screen capturing
PipewireHandler: ScreenCast protocol version: 4
Portal.ScreenCast: protocol version = 4
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:145:trySetWidthHeight() | Set new width: 512, height: 512 for capture
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:322:setWidthHeight() | setWidthHeight preparing to restarting video grabber 0
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of the capturing resolution
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of the framerate
2023-07-25T20:52:55.126 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-25T20:52:55.126 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {0, 0, 0} and frames: 50
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2023-07-25T20:52:55.126 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-25T20:52:55.129 SETTINGSMGR            : <INFO> Settings database initialized
2023-07-25T20:52:55.129 BLACKBORDER            : <INFO> Set mode to: default
2023-07-25T20:52:55.129 COMPONENTREG0          : <INFO> Blackborder detector: enabled
2023-07-25T20:52:55.129 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:161:setLedMappingType() | Set LED mapping type to advanced
2023-07-25T20:52:55.129 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:145:setSparseProcessing() | setSparseProcessing to 0
2023-07-25T20:52:55.129 RGB_TRANSFORM0         : <INFO> RGB transform classic_config: 1, saturationGain: 1.000000, luminanceGain: 1.000000, backlightThreshold: 2
2023-07-25T20:52:55.129 RGB_TRANSFORM0         : <INFO> setBacklightThreshold: 2
2023-07-25T20:52:55.129 ADJUST_RED0            : <INFO> Set correction to 255
2023-07-25T20:52:55.129 ADJUST_BLUE0           : <INFO> Set correction to 150
2023-07-25T20:52:55.129 ADJUST_GREEN0          : <INFO> Set correction to 180
2023-07-25T20:52:55.130 HYPERHDR0              : <INFO> Led strip RGB order is: rgb
2023-07-25T20:52:55.130 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-25T20:52:55.136 JSONSERVER             : <DEBUG> JsonServer.cpp:24:JsonServer() | Created instance
2023-07-25T20:52:55.137 JSONSERVER             : <INFO> Started on port 19444
2023-07-25T20:52:55.137 FLATBUFSERVER          : <INFO> Started on port 19400
2023-07-25T20:52:55.137 FLATBUFSERVER          : <ERROR> Could not start local domain socket server 'hyperhdr-domain'
SLEEP HANDLER REGISTERED!
2023-07-25T20:52:55.137 MAIN                   : <INFO> start systray
2023-07-25T20:52:55.138 SMOOTHING0             : <WARNING> High resolution clock is NOT STEADY!
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:52:55.138 COMPONENTREG0          : <INFO> Smoothing: enabled
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:52:55.138 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <INFO> Start LedDevice 'adalight'.
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:171:init() | deviceConfig: [{"awa_mode":false,"colorOrder":"rgb","currentLedCount":85,"delayAfterConnect":0,"lightberry_apa102_mode":false,"maxRetry":0,"output":"ttyACM0","rate":115200,"refreshTime":0,"type":"adalight"}]
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:235:setRefreshTime() | RefreshTime updated to 0ms
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:41:init() | DeviceType   : adalight
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:42:init() | LedCount     : 85
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:43:init() | RefreshTime  : 0
2023-07-25T20:52:55.138 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:57:init() | Device name   : ttyACM0
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:58:init() | Auto selection: 0
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:59:init() | Baud rate     : 115200
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:60:init() | ESP handshake : OFF
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:61:init() | Delayed open  : 0
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:62:init() | Retry limit   : 0
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> LedDeviceAdalight.cpp:88:CreateHeader() | Adalight header for 85 leds: Ada 0x00 0x54 0x01
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:103:enable() | Enable device
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <INFO> Opening UART: ttyACM0
2023-07-25T20:52:55.139 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:216:tryOpen() | _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2023-07-25T20:52:55.139 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 254
2023-07-25T20:52:55.139 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:174:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-25T20:52:55.139 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 254 as inactive
2023-07-25T20:52:55.139 HYPERHDR               : <INFO> Initial background effect 'Rainbow swirl fast' started
2023-07-25T20:52:55.139 MUXER0                 : <INFO> Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2023-07-25T20:52:55.139 COMPONENTREG0          : <INFO> System capture device: enabled
2023-07-25T20:52:55.139 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 254
2023-07-25T20:52:55.139 MUXER0                 : <INFO> Priority 254 is now active
2023-07-25T20:52:55.139 MUXER0                 : <INFO> Set visible priority to 254
2023-07-25T20:52:55.139 HYPERHDR0              : <INFO> New priority[254], previous [255]
2023-07-25T20:52:55.139 HYPERHDR0              : <INFO> New source available -> switch LED-Device on
2023-07-25T20:52:55.139 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
2023-07-25T20:52:55.139 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:155:init() | init
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:175:init() | Forcing auto discovery device
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:180:init() | Auto discovery set to Pipewire System Dialog selection
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <INFO> *************************************************************************************************
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <INFO> Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 20 fps
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <INFO> *************************************************************************************************
2023-07-25T20:52:55.144 PIPEWIRE_SYSTEM:AUTO   : <INFO> Loading restoration token: 
Pipewire: initialization invoked. Cleaning up first...
PipewireHandler: ScreenCast protocol version: 4
Sender: 1_173
Requested FPS: 20
Pipewire: CreateSession finished
2023-07-25T20:52:55.146 PIPEWIRE_SYSTEM:AUTO   : <INFO> Started
2023-07-25T20:52:55.146 HYPERMANAGER           : <INFO> HyperHDR instance 'goeie uno' has been started
2023-07-25T20:52:55.146 DAEMON                 : <INFO> Unload CEC
2023-07-25T20:52:55.146 WEBSERVER              : <INFO> Initialize Webserver
2023-07-25T20:52:55.146 WEBSERVER              : <INFO> Initialize Webserver
2023-07-25T20:52:55.148 WEBSERVER              : <INFO> Apply Webserver settings
2023-07-25T20:52:55.148 WEBSERVER              : <INFO> Apply Webserver settings
2023-07-25T20:52:55.148 WEBSERVER              : <INFO> Set document root to: :/www
2023-07-25T20:52:55.148 WEBSERVER              : <INFO> Set document root to: :/www
2023-07-25T20:52:55.148 WEBSERVER              : <INFO> Started on port 8090 name 'HyperHDR Webserver'
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:221:tryOpen() | portName:          ttyACM0
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:222:tryOpen() | systemLocation:    /dev/ttyACM0
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:223:tryOpen() | description:       0043
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:224:tryOpen() | manufacturer:      Arduino  www.arduino.cc 
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:225:tryOpen() | productIdentifier: 0x43
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:226:tryOpen() | vendorIdentifier:  0x2341
2023-07-25T20:52:55.149 WEBSERVER              : <INFO> Setup SSL certificate
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:227:tryOpen() | serialNumber:      75439323835351916062
2023-07-25T20:52:55.149 WEBSERVER              : <INFO> Setup private SSL key
2023-07-25T20:52:55.149 WEBSERVER              : <INFO> Started on port 8092 name 'HyperHDR Webserver'
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:333:switchOn() | Switch on
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:409:powerOn() | Power On
2023-07-25T20:52:55.149 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:103:enable() | Enable device
2023-07-25T20:52:55.150 COMPONENTREG0          : <INFO> LED device: enabled
2023-07-25T20:52:55.150 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 0
2023-07-25T20:52:55.150 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:174:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-25T20:52:55.150 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 0 as inactive
2023-07-25T20:52:55.150 HYPERHDR               : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2023-07-25T20:52:55.150 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T20:52:55.150 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:52:55.150 SMOOTHING0             : <INFO> Selecting config (2) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2023-07-25T20:52:55.150 SMOOTHING0             : <INFO> Using linear smoothing input (2)
2023-07-25T20:52:55.150 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 0
2023-07-25T20:52:55.150 MUXER0                 : <INFO> Priority 0 is now active
2023-07-25T20:52:55.150 MUXER0                 : <INFO> Set visible priority to 0
2023-07-25T20:52:55.150 HYPERHDR0              : <INFO> New priority[0], previous [254]
2023-07-25T20:52:55.150 IMAGETOLED0            : <INFO> Total index number is: 2346 (memory: 2346). User sparse processing is: disabled, image size: 80 x 45, area number: 85
Pipewire: Got response from portal CreateSession
Pipewire: SelectSources finished
Pipewire: Got response from portal SelectSources
Pipewire: Start finished
2023-07-25T20:52:55.190 SMOOTHING0             : <INFO> Using linear smoothing procedure (2)
Local IPv4 address: 192.168.2.92
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:3f3e:e2ce:7a59:ee53
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 4 sockets for mDNS query
Sending mDNS query : _hyperhdr-http._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:3f3e:e2ce:7a59:ee53
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 4 sockets for mDNS query
Sending mDNS query : _hue._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:3f3e:e2ce:7a59:ee53
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 4 sockets for mDNS query
Sending mDNS query : _wled._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv6 address: 2a02:a44a:21ce:1:3f3e:e2ce:7a59:ee53
Opened 2 sockets for mDNS service
Service mDNS: _hyperhdr-http._tcp.local.:8090
Hostname: hostname
Sending announce
2023-07-25T20:52:58.155 EFFECT0(Rainbo...)     : <INFO> The effect quits with priority: 0
2023-07-25T20:52:58.156 MUXER0                 : <INFO> Removed source priority 0
2023-07-25T20:52:58.156 MUXER0                 : <INFO> Set visible priority to 254
2023-07-25T20:52:58.156 HYPERHDR0              : <INFO> New priority[254], previous [0]
2023-07-25T20:52:58.156 EFFECTENGINE0          : <INFO> Effect 'Rainbow swirl fast' has finished.
2023-07-25T20:52:58.156 EFFECT0(Rainbo...)     : <INFO> Deleting effect named: 'Rainbow swirl fast'
2023-07-25T20:52:58.156 EFFECT0(Rainbo...)     : <INFO> Effect named: 'Rainbow swirl fast' is deleted
Read 0 records
Closed sockets
Read 0 records
Closed sockets
Read 0 records
Closed sockets
Pipewire: Got response from portal Start
Received restoration token: 2ca96b77b131
Pipewire: format property size 1600 x 900
Pipewire: format property source_type = 1
Connecting to Pipewire interface for stream: 1600 x 900
Session type: wayland , X11 detected: no
PipewireEGL: EGL initialized for HyperHDR. Version: 1.5
PipewireEGL: Found 58 DMA-BUF formats
PipewireEGL: got DMA format list (count = 58)
PipewireEGL: Found DRM_FORMAT_ABGR8888 DMA format (AB24)
PipewireEGL: Found DRM_FORMAT_XBGR8888 DMA format (XB24)
PipewireEGL: Found unsupported by HyperHDR 'R8  ' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG88' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R16 ' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG32' DMA format
PipewireEGL: Found unsupported by HyperHDR 'GR32' DMA format
PipewireEGL: Found unsupported by HyperHDR 'UYVY' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XR15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RX15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BX15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB4H' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB4H' DMA format
PipewireEGL: Found DRM_FORMAT_ARGB8888 DMA format (AR24)
PipewireEGL: Found unsupported by HyperHDR 'AS24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XS24' DMA format
PipewireEGL: Found DRM_FORMAT_XRGB8888 DMA format (XR24)
PipewireEGL: Found unsupported by HyperHDR 'RGB8' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BGR8' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BG16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BG24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RX24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BX24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XR30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RX30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BX30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R101' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R100' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'B101' DMA format
PipewireEGL: Found unsupported by HyperHDR 'B100' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YU12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV21' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P010' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P210' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P012' DMA format
PipewireEGL: Found unsupported by HyperHDR 'HD01' DMA format
PipewireEGL: Found unsupported by HyperHDR 'UHD0' DMA format
Pipewire: state CONNECTING (1, 0)
Pipewire: the stream is connected
Pipewire: core info reported. Version = 0.3.65
Pipewire: state PAUSED (2, 1)
Pipewire: got new video format selected
Pipewire: video format = 8 (Spa:Enum:VideoFormat:BGRx)
Pipewire: video size = 1600x900 (RGB order = false)
Pipewire: framerate = 0/1
Pipewire: DMA buffer available. Format: XR24. Modifier: ?5??.
Pipewire: MemFD buffer available
Pipewire: MemPTR buffer available
Pipewire: updated parameters 0
Pipewire: got new video format selected
Pipewire: video format = 8 (Spa:Enum:VideoFormat:BGRx)
Pipewire: video size = 1600x900 (RGB order = false)
Pipewire: framerate = 0/1
Pipewire: DMA buffer available. Format: XR24. Modifier: ????.
Pipewire: MemFD buffer available
Pipewire: MemPTR buffer available
Pipewire: updated parameters 0
Pipewire: state STREAMING (3, 2)
Pipewire: Using DmaBuf frame type. The hardware acceleration is ENABLED.
PipewireEGL: got the texture
PipewireEGL: succesfully rendered the DMA texture
2023-07-25T20:53:11.313 PIPEWIRE_SYSTEM:AUTO   : <INFO> Portal protocol version: 4
2023-07-25T20:53:11.313 PIPEWIRE_SYSTEM:AUTO   : <INFO> Saving restoration token: ************************2ca96b77b131
2023-07-25T20:53:11.315 MUXER0                 : <INFO> Priority 245 is now active
2023-07-25T20:53:11.315 MUXER0                 : <INFO> Set visible priority to 245
2023-07-25T20:53:11.315 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-25T20:53:11.315 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-25T20:53:11.315 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-25T20:53:11.315 SMOOTHING0             : <INFO> Using alternative smoothing input (0)
2023-07-25T20:53:11.315 HYPERHDR0              : <INFO> New priority[245], previous [254]
2023-07-25T20:53:11.316 IMAGETOLED0            : <INFO> Total index number is: 59740 (memory: 59740). User sparse processing is: disabled, image size: 400 x 225, area number: 85
2023-07-25T20:53:11.336 SMOOTHING0             : <INFO> Using alternative smoothing procedure (0)
^C
HyperHDR caught signal :SIGINT
2023-07-25T20:54:07.064 DAEMON                 : <DEBUG> hyperhdr.cpp:220:freeObjects() | Cleaning up HyperHdr before quit.
2023-07-25T20:54:07.064 HYPERHDR               : <INFO> Sound device is stopping (forced)
2023-07-25T20:54:07.064 HYPERHDR               : <INFO> Sound device has stopped (forced)
2023-07-25T20:54:07.064 FLATBUFSERVER          : <INFO> Stopped
2023-07-25T20:54:07.065 WEBSERVER              : <INFO> Stopped HyperHDR Webserver
Sending goodbye
Closed sockets
2023-07-25T20:54:07.163 WEBSERVER              : <INFO> Stopped HyperHDR Webserver
2023-07-25T20:54:07.163 HYPERHDR0              : <INFO> Stopping the instance...
2023-07-25T20:54:07.163 HYPERMANAGER           : <INFO> HyperHDR instance 'goeie uno' has been stopped
2023-07-25T20:54:07.163 DAEMON                 : <INFO> Unload CEC
2023-07-25T20:54:07.163 HYPERHDR0              : <INFO> Freeing the objects...
2023-07-25T20:54:07.338 EFFECT0(Rainbo...)     : <INFO> The effect quits with priority: 254
2023-07-25T20:54:07.338 EFFECT0(Rainbo...)     : <INFO> Deleting effect named: 'Rainbow swirl fast'
2023-07-25T20:54:07.338 EFFECT0(Rainbo...)     : <INFO> Effect named: 'Rainbow swirl fast' is deleted
2023-07-25T20:54:07.338 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:66:stop() | Stop device
2023-07-25T20:54:07.338 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:140:disable() | Disable device
2023-07-25T20:54:07.338 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:359:switchOff() | Switch off
2023-07-25T20:54:07.338 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:317:writeBlack() | Set LED strip to black/power off
2023-07-25T20:54:07.382 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:149:close() | Flush was successful
2023-07-25T20:54:07.382 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:169:close() | Close UART: ttyACM0
2023-07-25T20:54:07.411 LEDDEVICE_ADALIGHT     : <INFO>  Stopped LedDevice 'adalight'
2023-07-25T20:54:07.412 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:176:~GrabberWrapper() | Closing grabber: V4L2:auto
Pipewire: got new video format selected
Pipewire: state PAUSED (2, 3)
Pipewire: state UNCONNECTED (0, 2)
Pipewire: handle (/org/freedesktop/portal/desktop/session/1_173/hyperhdr_s38dc74554ae04f77afc3c1681786ff07) released
PipewireEGL: terminate the display
Pipewire: driver is closed now
2023-07-25T20:54:07.421 PIPEWIRE_SYSTEM:AUTO   : <INFO> Stopped
2023-07-25T20:54:07.421 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:147:uninit() | Uninit grabber: Pipewire System Dialog selection
2023-07-25T20:54:07.421 PIPEWIRE_SYSTEM:auto   : <DEBUG> SystemWrapper.cpp:75:~SystemWrapper() | Closing grabber: PIPEWIRE_SYSTEM:auto
2023-07-25T20:54:07.421 MAIN                   : <INFO> Application closed with code 0

@awawa-dev
Copy link
Owner Author

In logs everything is fine. What do you see in the HyperHDR live preview?

@t0stiman
Copy link

In logs everything is fine. What do you see in the HyperHDR live preview?

What live preview do you mean? Where can i find it?

@t0stiman
Copy link

This one?

image

@awawa-dev
Copy link
Owner Author

awawa-dev commented Jul 26, 2023

No, icon in left menu, top, under HyperHDR logo.

https://github.com/awawa-dev/HyperHDR/wiki/Quick-start#first-steps "live video" button should be enabled - green. Make sure in the "Remote control" left menu item that the software capturing is also working (priority 245 should be active).

@t0stiman
Copy link

t0stiman commented Jul 27, 2023

On the remote control page there is no mention of software capturing, even though screen capture is enabled. I got the pipewire popup dialog to select a screen and the system tray icon says screen casting is enabled.

image

image

image

image

GUI application2023-07-27T16:08:21.669 MAIN                   : <INFO> Database path: '/home/username/.hyperhdr/db/hyperhdr.db', readonlyMode = disabled
2023-07-27T16:08:21.669 MAIN                   : <INFO> Starting HyperHdr - 20.0.0.0beta0, pipewire_hardware (pi-aa4da8a/8506d68-1682954722), built: Jul 25 2023:18:14:34
2023-07-27T16:08:21.669 MAIN                   : <INFO> Set user data path to '/home/username/.hyperhdr'
2023-07-27T16:08:21.671 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-27T16:08:21.679 SETTINGSMGR            : <INFO> Settings database initialized
2023-07-27T16:08:21.679 HYPERHDR               : <INFO> Sound device is disabled
2023-07-27T16:08:21.692 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> Found capture device: /dev/video1
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:402:enumerateV4L2devices() | Device has 'brightness' control => min: 0, max: 255, default: 128
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:408:enumerateV4L2devices() | Device has 'contrast' control => min: 0, max: 255, default: 128
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:414:enumerateV4L2devices() | Device has 'saturation' control => min: 0, max: 255, default: 128
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:420:enumerateV4L2devices() | Device has 'hue' control => min: 0, max: 255, default: 128
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 30 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 24 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 480 x 360 @ 20 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 30 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 24 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 612 x 460 @ 20 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 30 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 24 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 320 x 240 @ 20 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 30 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 24 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 160 x 120 @ 20 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 30 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 24 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:506:enumerateV4L2devices() | /dev/video1 1920 x 1080 @ 20 fps NO_CHANGE (unsupported)
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 612 x 460 @ 30 fps yuyv
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 30 fps yuyv
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 120 fps mjpeg
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 640 x 480 @ 50 fps nv12
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> HTC Vive (video1) [/dev/video1] 480 x 360 @ 100 fps nv12
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-27T16:08:21.762 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:75:setCecStartStop() | CEC keycode. Start: 0, stop: 0
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> Grabber.cpp:259:setBrightnessContrastSaturationHue() | setBrightnessContrastSaturationHue nothing changed
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> V4L2Grabber.cpp:125:setHdrToneMappingEnabled() | setHdrToneMappingMode to: Disabled
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> Grabber.cpp:168:setFpsSoftwareDecimation() | setFpsSoftwareDecimation to: 1
2023-07-27T16:08:21.762 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-27T16:08:21.762 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {12, 12, 12} and frames: 200
2023-07-27T16:08:21.762 SIGNAL_AUTO            : <DEBUG> DetectionAutomatic.cpp:382:setAutoSignalParams() | Automatic signal detection -> errorTolerance: 9, modelTolerance: 90, sleepTime: 5000, wakeTime: 1000
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-27T16:08:21.762 V4L2:AUTO              : <DEBUG> Grabber.cpp:186:setEncoding() | Force encoding to: NO_CHANGE (old: NO_CHANGE)
2023-07-27T16:08:21.762 V4L2:AUTO              : <INFO> setQFrameDecimation is now: disabled
2023-07-27T16:08:21.762 V4L2:auto              : <DEBUG> GrabberWrapper.cpp:545:handleSettingsUpdate() | Frame cache is: enabled
2023-07-27T16:08:21.762 PIPEWIRE_SYSTEM:AUTO   : <INFO> Cropping image: width=0 height=0; crop: left=0 right=0 top=0 bottom=0 
2023-07-27T16:08:21.765 PIPEWIRE_SYSTEM:AUTO   : <INFO> Loaded Pipewire proxy library for screen capturing
PipewireHandler: ScreenCast protocol version: 4
Portal.ScreenCast: protocol version = 4
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:145:trySetWidthHeight() | Set new width: 512, height: 512 for capture
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:322:setWidthHeight() | setWidthHeight preparing to restarting video grabber 0
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of the capturing resolution
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of the framerate
2023-07-27T16:08:21.767 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-27T16:08:21.767 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {0, 0, 0} and frames: 50
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> Grabber.cpp:367:setDeviceVideoStandard() | setDeviceVideoStandard preparing to restart video grabber. Old: '' new: 'auto'
2023-07-27T16:08:21.767 PIPEWIRE_SYSTEM:AUTO   : <INFO> Delayed restart of the grabber due to change of selected device
2023-07-27T16:08:21.770 SETTINGSMGR            : <INFO> Settings database initialized
2023-07-27T16:08:21.770 BLACKBORDER            : <INFO> Set mode to: default
2023-07-27T16:08:21.770 COMPONENTREG0          : <INFO> Blackborder detector: enabled
2023-07-27T16:08:21.770 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:161:setLedMappingType() | Set LED mapping type to advanced
2023-07-27T16:08:21.770 IMAGETOLED0            : <DEBUG> ImageProcessor.cpp:145:setSparseProcessing() | setSparseProcessing to 0
2023-07-27T16:08:21.770 RGB_TRANSFORM0         : <INFO> RGB transform classic_config: 1, saturationGain: 1.000000, luminanceGain: 1.000000, backlightThreshold: 2
2023-07-27T16:08:21.770 RGB_TRANSFORM0         : <INFO> setBacklightThreshold: 2
2023-07-27T16:08:21.770 ADJUST_RED0            : <INFO> Set correction to 255
2023-07-27T16:08:21.770 ADJUST_BLUE0           : <INFO> Set correction to 150
2023-07-27T16:08:21.770 ADJUST_GREEN0          : <INFO> Set correction to 180
2023-07-27T16:08:21.771 HYPERHDR0              : <INFO> Led strip RGB order is: rgb
2023-07-27T16:08:21.771 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
2023-07-27T16:08:21.772 JSONSERVER             : <DEBUG> JsonServer.cpp:24:JsonServer() | Created instance
2023-07-27T16:08:21.772 JSONSERVER             : <INFO> Started on port 19444
2023-07-27T16:08:21.772 FLATBUFSERVER          : <INFO> Started on port 19400
2023-07-27T16:08:21.773 FLATBUFSERVER          : <INFO> Started local domain socket server: 'hyperhdr-domain'
SLEEP HANDLER REGISTERED!
2023-07-27T16:08:21.773 MAIN                   : <INFO> start systray
2023-07-27T16:08:21.774 SMOOTHING0             : <WARNING> High resolution clock is NOT STEADY!
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-27T16:08:21.774 COMPONENTREG0          : <INFO> Smoothing: enabled
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Creating config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-27T16:08:21.774 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <INFO> Start LedDevice 'adalight'.
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:171:init() | deviceConfig: [{"awa_mode":false,"colorOrder":"rgb","currentLedCount":85,"delayAfterConnect":0,"lightberry_apa102_mode":false,"maxRetry":0,"output":"ttyACM0","rate":115200,"refreshTime":0,"type":"adalight"}]
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:235:setRefreshTime() | RefreshTime updated to 0ms
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:41:init() | DeviceType   : adalight
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:42:init() | LedCount     : 85
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:43:init() | RefreshTime  : 0
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:57:init() | Device name   : ttyACM0
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:58:init() | Auto selection: 0
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:59:init() | Baud rate     : 115200
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:60:init() | ESP handshake : OFF
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:61:init() | Delayed open  : 0
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:62:init() | Retry limit   : 0
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> LedDeviceAdalight.cpp:88:CreateHeader() | Adalight header for 85 leds: Ada 0x00 0x54 0x01
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:103:enable() | Enable device
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <INFO> Opening UART: ttyACM0
2023-07-27T16:08:21.774 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:216:tryOpen() | _rs232Port.open(QIODevice::ReadWrite): ttyACM0, Baud rate [115200]bps
2023-07-27T16:08:21.775 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 254
2023-07-27T16:08:21.775 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:174:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-27T16:08:21.775 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 254 as inactive
2023-07-27T16:08:21.775 HYPERHDR               : <INFO> Initial background effect 'Rainbow swirl fast' started
2023-07-27T16:08:21.775 MUXER0                 : <INFO> Register new input 'System/SYSTEMGRABBER' with priority 245 as inactive
2023-07-27T16:08:21.775 COMPONENTREG0          : <INFO> System capture device: enabled
2023-07-27T16:08:21.775 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 254
2023-07-27T16:08:21.775 MUXER0                 : <INFO> Priority 254 is now active
2023-07-27T16:08:21.775 MUXER0                 : <INFO> Set visible priority to 254
2023-07-27T16:08:21.775 HYPERHDR0              : <INFO> New priority[254], previous [255]
2023-07-27T16:08:21.775 HYPERHDR0              : <INFO> New source available -> switch LED-Device on
2023-07-27T16:08:21.775 SMOOTHING0             : <INFO> Clearing queued colors before: enabling
2023-07-27T16:08:21.775 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:155:init() | init
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:175:init() | Forcing auto discovery device
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <DEBUG> PipewireGrabber.cpp:180:init() | Auto discovery set to Pipewire System Dialog selection
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <INFO> *************************************************************************************************
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <INFO> Starting Pipewire grabber. Selected: 'Pipewire System Dialog selection' (1) max width: 512 (512) @ 20 fps
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <INFO> *************************************************************************************************
2023-07-27T16:08:21.780 PIPEWIRE_SYSTEM:AUTO   : <INFO> Loading restoration token: ************************9aa41cd5e30d
Pipewire: initialization invoked. Cleaning up first...
PipewireHandler: ScreenCast protocol version: 4
Sender: 1_69
Requested FPS: 20
Pipewire: CreateSession finished
2023-07-27T16:08:21.781 PIPEWIRE_SYSTEM:AUTO   : <INFO> Started
2023-07-27T16:08:21.781 HYPERMANAGER           : <INFO> HyperHDR instance 'goeie uno' has been started
2023-07-27T16:08:21.781 DAEMON                 : <INFO> Unload CEC
2023-07-27T16:08:21.781 WEBSERVER              : <INFO> Initialize Webserver
2023-07-27T16:08:21.781 WEBSERVER              : <INFO> Initialize Webserver
2023-07-27T16:08:21.783 WEBSERVER              : <INFO> Apply Webserver settings
2023-07-27T16:08:21.783 WEBSERVER              : <INFO> Apply Webserver settings
2023-07-27T16:08:21.783 WEBSERVER              : <INFO> Set document root to: :/www
2023-07-27T16:08:21.783 WEBSERVER              : <INFO> Set document root to: :/www
2023-07-27T16:08:21.783 WEBSERVER              : <INFO> Started on port 8090 name 'HyperHDR Webserver'
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:221:tryOpen() | portName:          ttyACM0
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:222:tryOpen() | systemLocation:    /dev/ttyACM0
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:223:tryOpen() | description:       0043
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:224:tryOpen() | manufacturer:      Arduino  www.arduino.cc 
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:225:tryOpen() | productIdentifier: 0x43
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:226:tryOpen() | vendorIdentifier:  0x2341
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> ProviderRs232.cpp:227:tryOpen() | serialNumber:      75439323835351916062
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:333:switchOn() | Switch on
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:409:powerOn() | Power On
2023-07-27T16:08:21.784 LEDDEVICE_ADALIGHT     : <DEBUG> LedDevice.cpp:103:enable() | Enable device
2023-07-27T16:08:21.784 COMPONENTREG0          : <INFO> LED device: enabled
2023-07-27T16:08:21.784 WEBSERVER              : <INFO> Setup SSL certificate
2023-07-27T16:08:21.784 EFFECTENGINE0          : <INFO> Run effect "Rainbow swirl fast" on channel 0
2023-07-27T16:08:21.784 EFFECTENGINE0          : <DEBUG> EffectEngine.cpp:174:runEffectScript() | Start the effect: name [Rainbow swirl fast], smoothCfg [2]
2023-07-27T16:08:21.785 MUXER0                 : <INFO> Register new input 'System/EFFECT' with priority 0 as inactive
2023-07-27T16:08:21.785 HYPERHDR               : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2023-07-27T16:08:21.785 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-27T16:08:21.785 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-27T16:08:21.785 SMOOTHING0             : <INFO> Selecting config (2) => type: Linear, dirMode: false, pause: false, settlingTime: 200ms, interval: 40ms (25Hz), antiFlickTres: 0, antiFlickStep: 0, antiFlickTime: 0
2023-07-27T16:08:21.785 SMOOTHING0             : <INFO> Using linear smoothing input (2)
2023-07-27T16:08:21.785 EFFECT0(Rainbo...)     : <INFO> Begin playing the effect with priority: 0
2023-07-27T16:08:21.785 MUXER0                 : <INFO> Priority 0 is now active
2023-07-27T16:08:21.785 MUXER0                 : <INFO> Set visible priority to 0
2023-07-27T16:08:21.785 HYPERHDR0              : <INFO> New priority[0], previous [254]
2023-07-27T16:08:21.785 WEBSERVER              : <INFO> Setup private SSL key
2023-07-27T16:08:21.785 IMAGETOLED0            : <INFO> Total index number is: 2346 (memory: 2346). User sparse processing is: disabled, image size: 80 x 45, area number: 85
2023-07-27T16:08:21.785 WEBSERVER              : <INFO> Started on port 8092 name 'HyperHDR Webserver'
Pipewire: Got response from portal CreateSession
Pipewire: Has restoration token: 9aa41cd5e30d
Pipewire: SelectSources finished
Pipewire: Got response from portal SelectSources
Pipewire: Start finished
2023-07-27T16:08:21.825 SMOOTHING0             : <INFO> Using linear smoothing procedure (2)
Local IPv4 address: 192.168.2.92
Local IPv4 address: 10.0.3.1
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:fbcd:1b95:3e5:b2e4
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 5 sockets for mDNS query
Sending mDNS query : _hyperhdr-http._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv4 address: 10.0.3.1
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:fbcd:1b95:3e5:b2e4
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 5 sockets for mDNS query
Sending mDNS query : _hue._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv4 address: 10.0.3.1
Local IPv4 address: 172.17.0.1
Local IPv6 address: 2a02:a44a:21ce:1:fbcd:1b95:3e5:b2e4
Local IPv6 address: 2a02:a44a:21ce:1:2bd9:f734:da76:c587
Opened 5 sockets for mDNS query
Sending mDNS query : _wled._tcp.local PTR
Reading mDNS query replies
Local IPv4 address: 192.168.2.92
Local IPv6 address: 2a02:a44a:21ce:1:fbcd:1b95:3e5:b2e4
Opened 2 sockets for mDNS service
Service mDNS: _hyperhdr-http._tcp.local.:8090
Hostname: hostname
Sending announce
2023-07-27T16:08:24.789 EFFECT0(Rainbo...)     : <INFO> The effect quits with priority: 0
2023-07-27T16:08:24.789 MUXER0                 : <INFO> Removed source priority 0
2023-07-27T16:08:24.789 MUXER0                 : <INFO> Set visible priority to 254
2023-07-27T16:08:24.789 HYPERHDR0              : <INFO> New priority[254], previous [0]
2023-07-27T16:08:24.789 EFFECTENGINE0          : <INFO> Effect 'Rainbow swirl fast' has finished.
2023-07-27T16:08:24.789 EFFECT0(Rainbo...)     : <INFO> Deleting effect named: 'Rainbow swirl fast'
2023-07-27T16:08:24.789 EFFECT0(Rainbo...)     : <INFO> Effect named: 'Rainbow swirl fast' is deleted
Read 0 records
Closed sockets
Read 0 records
Closed sockets
Read 0 records
Closed sockets
2023-07-27T16:08:48.224 WEBSOCKET              : <DEBUG> WebSocketClient.cpp:30:WebSocketClient() | New connection from ::ffff:127.0.0.1
2023-07-27T16:08:48.224 WEBSOCKET              : <DEBUG> JsonAPI.cpp:97:handleInstanceSwitch() | Client '::ffff:127.0.0.1' switch to HyperHDR instance 0
2023-07-27T16:08:48.257 DB                     : <INFO> Database opened: /home/username/.hyperhdr/db/hyperhdr.db
Pipewire: Got response from portal Start
Received restoration token: 8dfd48ee4ff9
Pipewire: format property size 1920 x 1080
Pipewire: format property source_type = 1
Connecting to Pipewire interface for stream: 1920 x 1080
Session type: wayland , X11 detected: no
PipewireEGL: EGL initialized for HyperHDR. Version: 1.5
PipewireEGL: Found 58 DMA-BUF formats
PipewireEGL: got DMA format list (count = 58)
PipewireEGL: Found DRM_FORMAT_ABGR8888 DMA format (AB24)
PipewireEGL: Found DRM_FORMAT_XBGR8888 DMA format (XB24)
PipewireEGL: Found unsupported by HyperHDR 'R8  ' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG88' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R16 ' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG32' DMA format
PipewireEGL: Found unsupported by HyperHDR 'GR32' DMA format
PipewireEGL: Found unsupported by HyperHDR 'UYVY' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XR15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RX15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BX15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA15' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB4H' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB4H' DMA format
PipewireEGL: Found DRM_FORMAT_ARGB8888 DMA format (AR24)
PipewireEGL: Found unsupported by HyperHDR 'AS24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XS24' DMA format
PipewireEGL: Found DRM_FORMAT_XRGB8888 DMA format (XR24)
PipewireEGL: Found unsupported by HyperHDR 'RGB8' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BGR8' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BG16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RG24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BG24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AR30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RX24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BX24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XR30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'XB30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RX30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BX30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'RA30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'BA30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R101' DMA format
PipewireEGL: Found unsupported by HyperHDR 'R100' DMA format
PipewireEGL: Found unsupported by HyperHDR 'AB30' DMA format
PipewireEGL: Found unsupported by HyperHDR 'B101' DMA format
PipewireEGL: Found unsupported by HyperHDR 'B100' DMA format
PipewireEGL: Found unsupported by HyperHDR 'YU12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV12' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV21' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV16' DMA format
PipewireEGL: Found unsupported by HyperHDR 'NV24' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P010' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P210' DMA format
PipewireEGL: Found unsupported by HyperHDR 'P012' DMA format
PipewireEGL: Found unsupported by HyperHDR 'HD01' DMA format
PipewireEGL: Found unsupported by HyperHDR 'UHD0' DMA format
Pipewire: state CONNECTING (1, 0)
Pipewire: the stream is connected
Pipewire: core info reported. Version = 0.3.65
Pipewire: state PAUSED (2, 1)
Pipewire: got new video format selected
Pipewire: video format = 8 (Spa:Enum:VideoFormat:BGRx)
Pipewire: video size = 1920x1080 (RGB order = false)
Pipewire: framerate = 0/1
Pipewire: DMA buffer available. Format: XR24. Modifier: ?pc?.
Pipewire: MemFD buffer available
Pipewire: MemPTR buffer available
Pipewire: updated parameters 0
Pipewire: got new video format selected
Pipewire: video format = 8 (Spa:Enum:VideoFormat:BGRx)
Pipewire: video size = 1920x1080 (RGB order = false)
Pipewire: framerate = 0/1
Pipewire: DMA buffer available. Format: XR24. Modifier: ????.
Pipewire: MemFD buffer available
Pipewire: MemPTR buffer available
Pipewire: updated parameters 0
Pipewire: state STREAMING (3, 2)
Pipewire: Using DmaBuf frame type. The hardware acceleration is ENABLED.
PipewireEGL: got the texture
PipewireEGL: succesfully rendered the DMA texture
2023-07-27T16:09:09.810 PIPEWIRE_SYSTEM:AUTO   : <INFO> Portal protocol version: 4
2023-07-27T16:09:09.810 PIPEWIRE_SYSTEM:AUTO   : <INFO> Saving restoration token: ************************8dfd48ee4ff9
2023-07-27T16:09:09.817 MUXER0                 : <INFO> Priority 245 is now active
2023-07-27T16:09:09.817 MUXER0                 : <INFO> Set visible priority to 245
2023-07-27T16:09:09.817 SMOOTHING0             : <INFO> Clearing queued colors before: enabling. Smoothing configuration changed: restarting timer.
2023-07-27T16:09:09.817 SMOOTHING0             : <INFO> Smoothing queue is cleared
2023-07-27T16:09:09.817 SMOOTHING0             : <INFO> Selecting config (0) => type: Alternative, dirMode: false, pause: false, settlingTime: 150ms, interval: 20ms (50Hz), antiFlickTres: 32, antiFlickStep: 2, antiFlickTime: 250
2023-07-27T16:09:09.817 SMOOTHING0             : <INFO> Using alternative smoothing input (0)
2023-07-27T16:09:09.817 HYPERHDR0              : <INFO> New priority[245], previous [254]
2023-07-27T16:09:09.818 IMAGETOLED0            : <INFO> Total index number is: 86652 (memory: 86652). User sparse processing is: disabled, image size: 480 x 270, area number: 85
2023-07-27T16:09:09.838 SMOOTHING0             : <INFO> Using alternative smoothing procedure (0)
2023-07-27T16:10:13.380 PIPEWIRE_SYSTEM:AUTO   : <INFO> Restarting video grabber is now blocked due to reloading of the configuration
2023-07-27T16:10:13.380 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:85:setSignalDetectionOffset() | Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
2023-07-27T16:10:13.380 SIGNAL_OLD             : <DEBUG> DetectionManual.cpp:75:setSignalThreshold() | Signal threshold set to: {0, 0, 0} and frames: 50
2023-07-27T16:10:21.760 PERFORMANCE            : <INFO> [INSTANCE0: FPS = 10.24, processed = 616], [LED0: FPS = 41.19, send = 2472, processed = 2613, dropped = 141]
2023-07-27T16:11:21.760 PERFORMANCE            : <INFO> [INSTANCE0: FPS = 9.12, processed = 547], [LED0: FPS = 41.83, send = 2510, processed = 2651, dropped = 141]
2023-07-27T16:12:21.609 PERFORMANCE            : <INFO> [INSTANCE0: FPS = 10.14, processed = 607], [LED0: FPS = 39.68, send = 2380, processed = 2566, dropped = 186]
2023-07-27T16:13:21.678 PERFORMANCE            : <INFO> [INSTANCE0: FPS = 9.09, processed = 546], [LED0: FPS = 40.98, send = 2463, processed = 2624, dropped = 161]

@awawa-dev
Copy link
Owner Author

Screen capturing works OK, but the pipewire stream provides only black frames: nvidia symptom described in the PR info. Otherwise you would see the 'Rainbow swirl' background effect in the live preview.

@t0stiman
Copy link

Okay so the problem is the crappy Nvidia drivers? Wouldn't be the first time...

@awawa-dev
Copy link
Owner Author

I will test it on my PC with gfx1060 later using your configuration. Maybe I will find out some workaround.

@t0stiman
Copy link

Awesome, thanks.

@awawa-dev
Copy link
Owner Author

Did you follow any specific steps to install the NVidia drivers on your KUbuntu? My gtx1060 is out of luck. sudo apt install nvidia-driver-535 nvidia-dkms-535 and no EGL/Pipewire hardware acceleration for KUbuntu using Wayland user session. Software only.

@awawa-dev
Copy link
Owner Author

Seems libnvidia-egl-wayland1 is also needed. DMA works now.

@t0stiman
Copy link

t0stiman commented Jul 28, 2023

I just installed nvidia-driver-535. This is a years-old install tho, I may have done additional installing in the past.

IDK what DMA is but libnvidia-egl-wayland1 was already (automatically) installed on my system.

$ apt list --installed | grep nvidia

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libnvidia-cfg1-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-common-535/lunar-updates,lunar-updates,lunar-security,lunar-security,now 535.54.03-0ubuntu0.23.04.2 all [installed,automatic]
libnvidia-compute-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-compute-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 i386 [installed,automatic]
libnvidia-decode-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-decode-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 i386 [installed,automatic]
libnvidia-egl-wayland1/lunar,now 1:1.1.10-1 amd64 [installed,auto-removable]
libnvidia-encode-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-encode-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 i386 [installed,automatic]
libnvidia-extra-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-fbc1-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-fbc1-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 i386 [installed,automatic]
libnvidia-gl-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
libnvidia-gl-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 i386 [installed,automatic]
nvidia-compute-utils-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
nvidia-dkms-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
nvidia-driver-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed]
nvidia-firmware-535-535.54.03/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
nvidia-kernel-common-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
nvidia-kernel-source-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
nvidia-prime/lunar,lunar,now 0.8.17.1 all [installed,automatic]
nvidia-settings/lunar,now 510.47.03-0ubuntu1 amd64 [installed,automatic]
nvidia-utils-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]
nvidia-vaapi-driver/lunar,lunar,now 0.0.8-1 amd64 [installed]
xserver-xorg-video-nvidia-535/lunar-updates,lunar-security,now 535.54.03-0ubuntu0.23.04.2 amd64 [installed,automatic]

@awawa-dev
Copy link
Owner Author

awawa-dev commented Jul 28, 2023

This package was definitely missing from my new KUbuntu 23.04 install (I chose a minimal & no-proprietary drivers setup and installed the drivers later). Yesterday I tested it and had some success with NVidia, but:

  1. just to make sure sudo apt libnvidia-egl-wayland1
  2. NVidia proprietary drivers: software and hardware capture is not possible. It always returns a black screen which can confuse the user, with HyperHDR screen capturing not working. In fact, the NVidia corporation just pretends to support Linux as always. OBS also doesn't support it https://github.com/obsproject/obs-studio/issues/6208
  3. I removed all proprietary NVidia junk: sudo apt autoremove nvidia* --purge and restart.
  4. switched to nouveau driver and suddenly it works! Hardware acceleration is also working.
    obraz

@Algram
Copy link

Algram commented Jul 28, 2023

@awawa-dev This is working for me so far on an AMD 5700XT and fairly recent mesa drivers. I am running sway 1.8.1. I will have to check the next few days if the problem mentioned here (emersion/xdg-desktop-portal-wlr#251) is now fixed.

@fightforlife
Copy link

Can someone a quick overview which preconditions/packages need to be installed to test this on Intel?
I have Kodi running as a standalone x11 application with hw acceleration.
When I start hyperhdr from root commandline it says that pipewire and x11 grabber are not supported by the system.

@awawa-dev
Copy link
Owner Author

@fightforlife Pipewire and x11 only work in desktop environments that implemented them, e.g. supposedly Gnome https://github.com/obsproject/obs-studio/issues/7931#issuecomment-1353285918

@awawa-dev awawa-dev force-pushed the pipewire_hardware branch 3 times, most recently from 2defb7f to 939cc29 Compare October 23, 2023 21:59
@awawa-dev awawa-dev merged commit 8143d8b into master Oct 25, 2023
13 checks passed
@awawa-dev awawa-dev deleted the pipewire_hardware branch October 25, 2023 19:00
@awawa-dev awawa-dev restored the pipewire_hardware branch October 25, 2023 21:09
@awawa-dev awawa-dev deleted the pipewire_hardware branch October 26, 2023 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants