[OS] Debian Bullseye (11)

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

This means you probably not tried it from a desktop.
Normally it should find the display automatically if you run it from desktop.
But I'm not on a desktop (PC), since I am running the N2+. Or do I get you wrong?
I also own a "regular" PC with Debian 10, on which I can use OBS studio without problem.

But I want to try it out on the N2+.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

A desktop environment... running it from the MATE Desktop or the Gnome Desktop or something like that.
You can not start it from the command line without a graphical interface.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

A desktop environment... running it from the MATE Desktop or the Gnome Desktop or something like that.
You can not start it from the command line without a graphical interface.
But I've got one : I installed Debian with MATE Desktop.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

then it's odd that it's complaining it can't find a display when you run glxinfo.
This only happens if you run it not from desktop, for example via SSH, or without desktop.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

meveric wrote:
Sat Apr 02, 2022 2:22 pm
then it's odd that it's complaining it can't find a display when you run glxinfo.
This only happens if you run it not from desktop, for example via SSH, or without desktop.
I don't understand : when I start the N2+, the MATE interface appears automatically.
Then I type the commands in the MATE terminal (is there another way to proceed?), and get the answers I've already quoted above.

Maybe I'm doing something wrong, but I don't understand what.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

The behavior you describe does not match the output, which is very confusing.
The error "display not found" normally only shows if you run an application NOT on the desktop.
That's why I said it's very confusing, especially since it was working before.

Can you copy the content of the entire terminal you're using, including the path and command you entered?
Can you also check what output the following command gives:

Code: Select all

dpkg --list | grep 20.3.5
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

I typed this command

Code: Select all

PAN_MESA_DEBUG=gl3 obs
as an user (I typed it as root so far) and got this answer :

Code: Select all

$ PAN_MESA_DEBUG=gl3 obs
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/fr-FR.ini
Attempted path: /usr/share/obs/obs-studio/locale/fr-FR.ini
info: Using preferred locale 'fr-FR'
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: Physical Cores: 6, Logical Cores: 6
info: Physical Memory: 3774MB Total, 1524MB Free
info: Kernel Version: Linux 5.16.12-arm64
info: Distribution: "Debian GNU/Linux" "11"
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.11
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.1.2+dfsg1-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
	samples per sec: 48000
	speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter Panfrost Mali-G52 (Panfrost)
info: OpenGL loaded successfully, version 3.3 (Core Profile) Mesa 22.0.0, shading language 3.30
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1280x720
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: Audio monitoring device:
	name: Par défaut
	id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
info: No blackmagic support
warning: v4l2loopback not installed, virtual camera disabled
info: FFMPEG VAAPI supported
info: VLC found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: No scene file found, creating default scene
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 14.2'
info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.platform-sound.stereo-fallback.monitor'
info: Switched to scene 'Scène'
warning: Failed to glob scene collections
warning: [rtmp-services plugin] Successfully updated file 'services.json' (version 188)
warning: [rtmp-services plugin] Successfully updated package (version 188)
info: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Audio du Bureau)

Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: 
==== Auto-config wizard testing commencing ======

info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1920x1080
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: ---------------------------------
info: [x264 encoder: 'test_x264'] preset: veryfast
info: [x264 encoder: 'test_x264'] profile: high
info: [x264 encoder: 'test_x264'] settings:
	rate_control: CRF
	bitrate:      0
	buffer size:  0
	crf:          20
	fps_num:      30
	fps_den:      1
	width:        1920
	height:       1080
	keyint:       250

info: ---------------------------------
info: [FFmpeg aac encoder: 'test_aac'] bitrate: 32, channels: 2, channel_layout: 3

info: Output 'null': stopping
info: Output 'null': Total frames output: 80
info: Output 'null': Total drawn frames: 150
info: Video stopped, number of skipped frames due to encoding lag: 74/110 (67,3%)
[aac @ 0xffff581be360] Qavg: 65285,645
[aac @ 0xffff581be360] 2 frames left in the queue on closing
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1280x720
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: ---------------------------------
info: [x264 encoder: 'test_x264'] preset: veryfast
info: [x264 encoder: 'test_x264'] profile: high
info: [x264 encoder: 'test_x264'] settings:
	rate_control: CRF
	bitrate:      0
	buffer size:  0
	crf:          20
	fps_num:      30
	fps_den:      1
	width:        1280
	height:       720
	keyint:       250

info: ---------------------------------
info: [FFmpeg aac encoder: 'test_aac'] bitrate: 32, channels: 2, channel_layout: 3

warning: [twitch ingest update] Remote update of URL "https://ingest.twitch.tv/api/v2/ingests" failed: gnutls_handshake() failed: La connexion TLS n’a pas été terminée correctement.
info: Output 'null': stopping
info: Output 'null': Total frames output: 118
info: Output 'null': Total drawn frames: 149 (150 attempted)
info: Output 'null': Number of lagged frames due to rendering lag/stalls: 1 (0,7%)
info: Video stopped, number of skipped frames due to encoding lag: 25/147 (17,0%)
[aac @ 0xffff581874c0] Qavg: 65283,609
[aac @ 0xffff581874c0] 2 frames left in the queue on closing
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 852x480
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: ---------------------------------
info: [x264 encoder: 'test_x264'] preset: veryfast
info: [x264 encoder: 'test_x264'] profile: high
info: [x264 encoder: 'test_x264'] settings:
	rate_control: CRF
	bitrate:      0
	buffer size:  0
	crf:          20
	fps_num:      30
	fps_den:      1
	width:        852
	height:       480
	keyint:       250

info: ---------------------------------
info: [FFmpeg aac encoder: 'test_aac'] bitrate: 32, channels: 2, channel_layout: 3

info: Output 'null': stopping
info: Output 'null': Total frames output: 122
info: Output 'null': Total drawn frames: 148 (150 attempted)
info: Output 'null': Number of lagged frames due to rendering lag/stalls: 2 (1,3%)
[aac @ 0xffff58170580] Qavg: 65277,301
[aac @ 0xffff58170580] 2 frames left in the queue on closing
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 640x360
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: ---------------------------------
info: [x264 encoder: 'test_x264'] preset: veryfast
info: [x264 encoder: 'test_x264'] profile: high
info: [x264 encoder: 'test_x264'] settings:
	rate_control: CRF
	bitrate:      0
	buffer size:  0
	crf:          20
	fps_num:      30
	fps_den:      1
	width:        640
	height:       360
	keyint:       250

info: ---------------------------------
info: [FFmpeg aac encoder: 'test_aac'] bitrate: 32, channels: 2, channel_layout: 3

info: Output 'null': stopping
info: Output 'null': Total frames output: 126
info: Output 'null': Total drawn frames: 150
[aac @ 0xffff58074aa0] Qavg: 65267,223
[aac @ 0xffff58074aa0] 2 frames left in the queue on closing
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 424x240
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: ---------------------------------
info: [x264 encoder: 'test_x264'] preset: veryfast
info: [x264 encoder: 'test_x264'] profile: high
info: [x264 encoder: 'test_x264'] settings:
	rate_control: CRF
	bitrate:      0
	buffer size:  0
	crf:          20
	fps_num:      30
	fps_den:      1
	width:        424
	height:       240
	keyint:       250

info: ---------------------------------
info: [FFmpeg aac encoder: 'test_aac'] bitrate: 32, channels: 2, channel_layout: 3

info: Output 'null': stopping
info: Output 'null': Total frames output: 127
info: Output 'null': Total drawn frames: 150
[aac @ 0xffff580f0860] Qavg: 65266,051
[aac @ 0xffff580f0860] 2 frames left in the queue on closing
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 1280x720
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: ---------------------------------
info: video settings reset:
	base resolution:   1920x1080
	output resolution: 852x480
	downscale filter:  Bicubic
	fps:               30/1
	format:            NV12
	YUV mode:          709/Partial
info: NV12 texture support not available
info: 
==== Auto-config wizard testing stopping ========

info: xshm-input: Geometry 1920x1080 @ 0,0
info: User added source 'Capture d'écran (XSHM)' (xshm_input) to scene 'Scène'
info: xshm-input: Geometry 1920x1080 @ 0,0
info: xshm-input: Geometry 1920x1080 @ 0,0
QObject::connect: No such signal QLineEdit::editingFinished(const QString &)
QObject::connect:  (sender name:   'customServer')
QObject::connect:  (receiver name: 'OBSBasicSettings')
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/
Attempted path: /usr/share/obs/obs-studio/themes/
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 45966, resource id: 10938345, major code: 40 (TranslateCoords), minor code: 0


And it launched OBS studio at the same time!

Then this (always as user)

Code: Select all

glxinfo | grep "profile version"
gives me this

Code: Select all

$ glxinfo | grep "profile version"
    Max core profile version: 3.1
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL core profile version string: 3.1 Mesa 22.0.0
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 22.0.0

Then, as user

Code: Select all

PAN_MESA_DEBUG=gl3 glxinfo | grep "profile version"
And then, either as root or user

Code: Select all

# dpkg --list | grep 20.3.5
ii  mesa-va-drivers:arm64                 20.3.5-1                        arm64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:arm64              20.3.5-1                        arm64        Mesa VDPAU video acceleration drivers
ii  mesa-vulkan-drivers:arm64             20.3.5-1                        arm64        Mesa Vulkan graphics drivers
Be that as it may, I tried to launch OBS Studio with the 'Applications" menu, and it failed once again.The error message tells me : "Failed to initialize video. Your GPU may not be supported, or your graphics driver may need to be supported".

I could launch it using the

Code: Select all

PAN_MESA_DEBUG=gl3 obs
command, getting this answer

Code: Select all

(obs:3590): dconf-WARNING **: 00:14:33.190: failed to commit changes to dconf: La connexion est fermée

(obs:3590): dconf-WARNING **: 00:14:33.401: failed to commit changes to dconf: La connexion est fermée

(obs:3590): dconf-WARNING **: 00:14:33.573: failed to commit changes to dconf: La connexion est fermée

(obs:3590): dconf-WARNING **: 00:14:33.601: failed to commit changes to dconf: La connexion est fermée

(obs:3590): dconf-WARNING **: 00:14:37.158: failed to commit changes to dconf: La connexion est fermée

(obs:3590): dconf-WARNING **: 00:14:37.159: failed to commit changes to dconf: La connexion est fermée
info: Settings changed (outputs)
info: ------------------------------------------------
info: ---------------------------------
info: [x264 encoder: 'simple_h264_recording'] preset: veryfast
info: [x264 encoder: 'simple_h264_recording'] profile: high
info: [x264 encoder: 'simple_h264_recording'] settings:
	rate_control: CRF
	bitrate:      0
	buffer size:  0
	crf:          18
	fps_num:      30
	fps_den:      1
	width:        852
	height:       480
	keyint:       250

info: ---------------------------------
info: [FFmpeg aac encoder: 'simple_aac_recording'] bitrate: 192, channels: 2, channel_layout: 3

info: ==== Recording Start ===============================================
info: [ffmpeg muxer: 'simple_file_output'] Writing file '/home/qwerty/2022-04-03 00-14-43.mkv'...
info: Output format name and long_name: matroska, Matroska
info: [ffmpeg muxer: 'simple_file_output'] Output of file '/home/qwerty/2022-04-03 00-14-43.mkv' stopped
info: Output 'simple_file_output': stopping
info: Output 'simple_file_output': Total frames output: 12647
info: Output 'simple_file_output': Total drawn frames: 4579 (12762 attempted)
info: Output 'simple_file_output': Number of lagged frames due to rendering lag/stalls: 8183 (64,1%)
info: Video stopped, number of skipped frames due to encoding lag: 14/12758 (0,1%)
info: ==== Recording Stop ================================================
[aac @ 0xaaaaca32c200] Qavg: 65536,000
[aac @ 0xaaaaca32c200] 2 frames left in the queue on closing
info: ==== Shutting down ==================================================
info: All scene data cleared
info: ------------------------------------------------
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 1623,01 ms
info:  ┣OBSApp::AppInit: 6,74 ms
info:  ┃ ┗OBSApp::InitLocale: 3,4 ms
info:  ┗OBSApp::OBSInit: 1443,1 ms
info:    ┣obs_startup: 7,641 ms
info:    ┗OBSBasic::OBSInit: 1358,47 ms
info:      ┣OBSBasic::InitBasicConfig: 2,521 ms
info:      ┣OBSBasic::ResetAudio: 0,624 ms
info:      ┣OBSBasic::ResetVideo: 712,637 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0,024 ms
info:      ┣OBSBasic::InitHotkeys: 0,155 ms
info:      ┣obs_load_all_modules: 230,791 ms
info:      ┃ ┣obs_init_module(decklink-captions.so): 0,159 ms
info:      ┃ ┣obs_init_module(decklink-ouput-ui.so): 1,359 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 53,344 ms
info:      ┃ ┣obs_init_module(image-source.so): 0,015 ms
info:      ┃ ┣obs_init_module(linux-alsa.so): 0,009 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0,743 ms
info:      ┃ ┣obs_init_module(linux-decklink.so): 0,377 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0,007 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0,005 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 3,594 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 0,368 ms
info:      ┃ ┃ ┗nvenc_check: 0,222 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0,053 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0,007 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0,025 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0,005 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 0,434 ms
info:      ┃ ┣obs_init_module(text-freetype2.so): 0,162 ms
info:      ┃ ┗obs_init_module(vlc-video.so): 6,713 ms
info:      ┣OBSBasic::ResetOutputs: 0,3 ms
info:      ┣OBSBasic::CreateHotkeys: 0,094 ms
info:      ┣OBSBasic::InitService: 2,455 ms
info:      ┣OBSBasic::InitPrimitives: 4,837 ms
info:      ┗OBSBasic::Load: 6,3 ms
info: obs_hotkey_thread(25 ms): min=0,127 ms, median=4,655 ms, max=4773,73 ms, 99th percentile=118,426 ms, 81,2385% below 25 ms
info: audio_thread(Audio): min=0,001 ms, median=0,945 ms, max=41,585 ms, 99th percentile=7,863 ms
info:  ┗receive_audio: min=0,008 ms, median=0,891 ms, max=41,448 ms, 99th percentile=4,975 ms, 0,893771 calls per parent call
info:    ┣buffer_audio: min=0,001 ms, median=0,005 ms, max=6,456 ms, 99th percentile=0,031 ms
info:    ┗do_encode: min=0,024 ms, median=0,872 ms, max=41,422 ms, 99th percentile=4,883 ms
info:      ┣encode(test_aac): min=0,023 ms, median=0,607 ms, max=11,293 ms, 99th percentile=3,84 ms, 0,0975742 calls per parent call
info:      ┗encode(simple_aac_recording): min=0,036 ms, median=0,829 ms, max=22,64 ms, 99th percentile=4,052 ms, 0,902426 calls per parent call
info: obs_graphics_thread(33,3333 ms): min=0,268 ms, median=1,37 ms, max=30,415 ms, 99th percentile=7,118 ms, 100% below 33,333 ms
info:  ┣tick_sources: min=0,001 ms, median=0,02 ms, max=0,058 ms, 99th percentile=0,029 ms
info:  ┣output_frame: min=0,124 ms, median=0,272 ms, max=7,471 ms, 99th percentile=0,83 ms
info:  ┃ ┗gs_context(video->graphics): min=0,123 ms, median=0,27 ms, max=7,468 ms, 99th percentile=0,828 ms
info:  ┃   ┣render_video: min=0,061 ms, median=0,11 ms, max=7,19 ms, 99th percentile=0,221 ms
info:  ┃   ┃ ┗render_main_texture: min=0,053 ms, median=0,101 ms, max=7,168 ms, 99th percentile=0,204 ms
info:  ┃   ┗gs_flush: min=0,025 ms, median=0,087 ms, max=0,839 ms, 99th percentile=0,403 ms
info:  ┗render_displays: min=0,019 ms, median=0,85 ms, max=29,946 ms, 99th percentile=6,509 ms
info: obs_graphics_thread(16,6667 ms): min=4,373 ms, median=19,055 ms, max=62,519 ms, 99th percentile=50,392 ms, 29,3617% below 16,667 ms
info:  ┣tick_sources: min=0,014 ms, median=0,031 ms, max=1,606 ms, 99th percentile=0,373 ms
info:  ┣output_frame: min=0,257 ms, median=14,936 ms, max=48,18 ms, 99th percentile=42,525 ms
info:  ┃ ┣gs_context(video->graphics): min=0,256 ms, median=14,79 ms, max=48,17 ms, 99th percentile=42,513 ms
info:  ┃ ┃ ┣render_video: min=0,174 ms, median=14,31 ms, max=45,695 ms, 99th percentile=33,26 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,128 ms, median=0,492 ms, max=7,033 ms, 99th percentile=6,021 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,212 ms, median=0,663 ms, max=11,75 ms, 99th percentile=7,002 ms, 0,940426 calls per parent call
info:  ┃ ┃ ┃ ┗stage_output_texture: min=8,049 ms, median=12,758 ms, max=43,37 ms, 99th percentile=29,775 ms, 0,940426 calls per parent call
info:  ┃ ┃ ┣gs_flush: min=0,046 ms, median=0,116 ms, max=8,104 ms, 99th percentile=3,683 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,016 ms, max=3,976 ms, 99th percentile=0,051 ms, 0,940426 calls per parent call
info:  ┃ ┗output_video_data: min=0,002 ms, median=0,002 ms, max=2,732 ms, 99th percentile=2,459 ms, 0,93617 calls per parent call
info:  ┗render_displays: min=0,726 ms, median=3,73 ms, max=22,033 ms, 99th percentile=16,377 ms
info: video_thread(video): min=0,003 ms, median=12,409 ms, max=878,417 ms, 99th percentile=878,417 ms
info:  ┗receive_video: min=5,877 ms, median=12,508 ms, max=269,543 ms, 99th percentile=221,91 ms, 4,25806 calls per parent call
info:    ┗do_encode: min=5,875 ms, median=12,503 ms, max=269,54 ms, 99th percentile=221,904 ms
info:      ┗encode(test_x264): min=5,857 ms, median=12,187 ms, max=269,243 ms, 99th percentile=221,893 ms
info: obs_graphics_thread(33,3333 ms): min=4,466 ms, median=18,342 ms, max=58,556 ms, 99th percentile=51,543 ms, 88,4146% below 33,333 ms
info:  ┣tick_sources: min=0,015 ms, median=0,021 ms, max=0,785 ms, 99th percentile=0,173 ms
info:  ┣output_frame: min=0,322 ms, median=14,626 ms, max=40,998 ms, 99th percentile=40,933 ms
info:  ┃ ┣gs_context(video->graphics): min=0,321 ms, median=13,8 ms, max=39,803 ms, 99th percentile=38,821 ms
info:  ┃ ┃ ┣render_video: min=0,198 ms, median=13,621 ms, max=39,595 ms, 99th percentile=37,088 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,165 ms, median=0,286 ms, max=2,564 ms, 99th percentile=2,56 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,174 ms, median=0,413 ms, max=16,416 ms, 99th percentile=8,413 ms, 0,896341 calls per parent call
info:  ┃ ┃ ┃ ┗stage_output_texture: min=8,648 ms, median=13,089 ms, max=38,917 ms, 99th percentile=35,998 ms, 0,896341 calls per parent call
info:  ┃ ┃ ┣gs_flush: min=0,075 ms, median=0,123 ms, max=12,784 ms, 99th percentile=9,272 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,016 ms, max=0,04 ms, 99th percentile=0,037 ms, 0,896341 calls per parent call
info:  ┃ ┗output_video_data: min=0,002 ms, median=0,003 ms, max=7,537 ms, 99th percentile=3,269 ms, 0,890244 calls per parent call
info:  ┗render_displays: min=0,7 ms, median=3,916 ms, max=17,075 ms, 99th percentile=17,008 ms
info: video_thread(video): min=0,001 ms, median=13,018 ms, max=504,615 ms, 99th percentile=504,615 ms
info:  ┗receive_video: min=5,752 ms, median=14,127 ms, max=306,72 ms, 99th percentile=268,496 ms, 2,78049 calls per parent call
info:    ┗do_encode: min=5,749 ms, median=14,122 ms, max=306,716 ms, 99th percentile=268,481 ms
info:      ┗encode(test_x264): min=5,742 ms, median=14,107 ms, max=306,296 ms, 99th percentile=265,967 ms
info: obs_graphics_thread(16,6667 ms): min=5,692 ms, median=17,866 ms, max=38,301 ms, 99th percentile=36,851 ms, 38,4906% below 16,667 ms
info:  ┣tick_sources: min=0,014 ms, median=0,03 ms, max=3,076 ms, 99th percentile=0,244 ms
info:  ┣output_frame: min=0,352 ms, median=13,749 ms, max=32,285 ms, 99th percentile=26,815 ms
info:  ┃ ┣gs_context(video->graphics): min=0,35 ms, median=13,695 ms, max=32,28 ms, 99th percentile=26,814 ms
info:  ┃ ┃ ┣render_video: min=0,203 ms, median=13,34 ms, max=32,071 ms, 99th percentile=25,14 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,101 ms, median=0,545 ms, max=8,767 ms, 99th percentile=4,625 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,147 ms, median=0,593 ms, max=18,515 ms, 99th percentile=7,427 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,148 ms, median=0,487 ms, max=4,083 ms, 99th percentile=3,072 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=6,057 ms, median=11,225 ms, max=22,727 ms, 99th percentile=20,472 ms
info:  ┃ ┃ ┣gs_flush: min=0,057 ms, median=0,11 ms, max=7,423 ms, 99th percentile=1,705 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,015 ms, max=2,133 ms, 99th percentile=0,065 ms
info:  ┃ ┗output_video_data: min=0,001 ms, median=0,003 ms, max=2,4 ms, 99th percentile=1,55 ms
info:  ┗render_displays: min=0,619 ms, median=3,514 ms, max=19,411 ms, 99th percentile=18,887 ms
info: video_thread(video): min=0,001 ms, median=35,783 ms, max=345,893 ms, 99th percentile=345,893 ms
info:  ┗receive_video: min=2,381 ms, median=8,002 ms, max=114,63 ms, 99th percentile=94,402 ms, 4,3871 calls per parent call
info:    ┗do_encode: min=2,378 ms, median=7,999 ms, max=114,623 ms, 99th percentile=94,394 ms
info:      ┗encode(test_x264): min=2,361 ms, median=7,613 ms, max=114,433 ms, 99th percentile=93,968 ms
info: obs_graphics_thread(33,3333 ms): min=4,107 ms, median=18,128 ms, max=34,145 ms, 99th percentile=34,069 ms, 98,7097% below 33,333 ms
info:  ┣tick_sources: min=0,014 ms, median=0,021 ms, max=0,046 ms, 99th percentile=0,039 ms
info:  ┣output_frame: min=0,348 ms, median=13,657 ms, max=27,372 ms, 99th percentile=22,727 ms
info:  ┃ ┣gs_context(video->graphics): min=0,346 ms, median=13,229 ms, max=26,759 ms, 99th percentile=21,846 ms
info:  ┃ ┃ ┣render_video: min=0,209 ms, median=12,948 ms, max=26,458 ms, 99th percentile=21,522 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,161 ms, median=0,3 ms, max=0,693 ms, 99th percentile=0,548 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,174 ms, median=0,618 ms, max=5,19 ms, 99th percentile=4,879 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,141 ms, median=0,784 ms, max=9,898 ms, 99th percentile=6,034 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=5,094 ms, median=10,868 ms, max=21,246 ms, 99th percentile=19,357 ms
info:  ┃ ┃ ┣gs_flush: min=0,052 ms, median=0,107 ms, max=1,56 ms, 99th percentile=1,205 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,015 ms, max=0,042 ms, 99th percentile=0,037 ms
info:  ┃ ┗output_video_data: min=0,002 ms, median=0,535 ms, max=3,679 ms, 99th percentile=1,872 ms
info:  ┗render_displays: min=0,802 ms, median=3,401 ms, max=18,131 ms, 99th percentile=14,806 ms
info: video_thread(video): min=0 ms, median=35,009 ms, max=167,966 ms, 99th percentile=161,101 ms
info:  ┗receive_video: min=2,294 ms, median=31,379 ms, max=118,396 ms, 99th percentile=111,033 ms, 1,26786 calls per parent call
info:    ┗do_encode: min=2,292 ms, median=31,376 ms, max=118,395 ms, 99th percentile=111,028 ms
info:      ┗encode(test_x264): min=2,277 ms, median=31,096 ms, max=118,39 ms, 99th percentile=110,721 ms
info: obs_graphics_thread(16,6667 ms): min=3,899 ms, median=13,735 ms, max=25,558 ms, 99th percentile=23,496 ms, 82,8479% below 16,667 ms
info:  ┣tick_sources: min=0,013 ms, median=0,022 ms, max=1,119 ms, 99th percentile=0,144 ms
info:  ┣output_frame: min=0,295 ms, median=8,437 ms, max=19,899 ms, 99th percentile=16,291 ms
info:  ┃ ┣gs_context(video->graphics): min=0,294 ms, median=8,234 ms, max=19,612 ms, 99th percentile=16,017 ms
info:  ┃ ┃ ┣render_video: min=0,188 ms, median=7,92 ms, max=19,422 ms, 99th percentile=15,602 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,117 ms, median=0,291 ms, max=7,652 ms, 99th percentile=3,161 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,133 ms, median=0,427 ms, max=5,368 ms, 99th percentile=3,911 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,148 ms, median=0,462 ms, max=8,649 ms, 99th percentile=5,246 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=2,288 ms, median=6,153 ms, max=17,525 ms, 99th percentile=12,186 ms
info:  ┃ ┃ ┣gs_flush: min=0,041 ms, median=0,098 ms, max=2,173 ms, 99th percentile=1,04 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,013 ms, max=0,131 ms, 99th percentile=0,09 ms
info:  ┃ ┗output_video_data: min=0,002 ms, median=0,249 ms, max=6,153 ms, 99th percentile=1,624 ms
info:  ┗render_displays: min=0,771 ms, median=3,81 ms, max=15,306 ms, 99th percentile=13,549 ms
info: video_thread(video): min=0,001 ms, median=15,888 ms, max=107,573 ms, 99th percentile=103,585 ms
info:  ┗receive_video: min=1,382 ms, median=12,967 ms, max=70,479 ms, 99th percentile=61,956 ms, 1,40094 calls per parent call
info:    ┗do_encode: min=1,38 ms, median=12,965 ms, max=70,475 ms, 99th percentile=61,954 ms
info:      ┗encode(test_x264): min=1,377 ms, median=12,951 ms, max=70,409 ms, 99th percentile=61,935 ms
info: obs_graphics_thread(33,3333 ms): min=4,519 ms, median=11,014 ms, max=16,847 ms, 99th percentile=15,685 ms, 100% below 33,333 ms
info:  ┣tick_sources: min=0,014 ms, median=0,016 ms, max=0,028 ms, 99th percentile=0,027 ms
info:  ┣output_frame: min=0,274 ms, median=9,073 ms, max=12,849 ms, 99th percentile=12,231 ms
info:  ┃ ┣gs_context(video->graphics): min=0,273 ms, median=8,85 ms, max=12,603 ms, 99th percentile=11,068 ms
info:  ┃ ┃ ┣render_video: min=0,182 ms, median=8,683 ms, max=12,381 ms, 99th percentile=10,819 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,138 ms, median=0,199 ms, max=0,991 ms, 99th percentile=0,394 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,167 ms, median=0,232 ms, max=1,449 ms, 99th percentile=1,327 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,14 ms, median=0,185 ms, max=1,606 ms, 99th percentile=1,178 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=3,974 ms, median=7,805 ms, max=11,859 ms, 99th percentile=10,111 ms
info:  ┃ ┃ ┣gs_flush: min=0,038 ms, median=0,067 ms, max=0,153 ms, 99th percentile=0,149 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,01 ms, max=0,833 ms, 99th percentile=0,024 ms
info:  ┃ ┗output_video_data: min=0,205 ms, median=0,234 ms, max=1,158 ms, 99th percentile=1,023 ms
info:  ┗render_displays: min=0,771 ms, median=1,742 ms, max=7,045 ms, 99th percentile=6,127 ms
info: video_thread(video): min=1,474 ms, median=3,422 ms, max=7,84 ms, 99th percentile=7,358 ms
info:  ┗receive_video: min=1,469 ms, median=3,416 ms, max=7,83 ms, 99th percentile=7,35 ms
info:    ┗do_encode: min=1,465 ms, median=3,413 ms, max=7,826 ms, 99th percentile=7,344 ms
info:      ┗encode(test_x264): min=1,412 ms, median=3,354 ms, max=7,752 ms, 99th percentile=7,339 ms
info: obs_graphics_thread(16,6667 ms): min=5,63 ms, median=10,918 ms, max=146,104 ms, 99th percentile=26,651 ms, 91,6107% below 16,667 ms
info:  ┣tick_sources: min=0,013 ms, median=0,019 ms, max=1,178 ms, 99th percentile=0,085 ms
info:  ┣output_frame: min=0,379 ms, median=7,253 ms, max=132,924 ms, 99th percentile=15,279 ms
info:  ┃ ┣gs_context(video->graphics): min=0,377 ms, median=7,093 ms, max=132,548 ms, 99th percentile=15,053 ms
info:  ┃ ┃ ┣render_video: min=0,254 ms, median=6,924 ms, max=132,266 ms, 99th percentile=14,782 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,137 ms, median=0,241 ms, max=2,897 ms, 99th percentile=1,928 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,156 ms, median=0,324 ms, max=4,481 ms, 99th percentile=1,708 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,137 ms, median=0,303 ms, max=11,558 ms, 99th percentile=8,243 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=1,968 ms, median=5,743 ms, max=130,439 ms, 99th percentile=13,348 ms
info:  ┃ ┃ ┣gs_flush: min=0,032 ms, median=0,072 ms, max=1,33 ms, 99th percentile=0,803 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,01 ms, max=0,056 ms, 99th percentile=0,046 ms
info:  ┃ ┗output_video_data: min=0,002 ms, median=0,144 ms, max=3,482 ms, 99th percentile=1,021 ms
info:  ┗render_displays: min=0,762 ms, median=3,364 ms, max=16,883 ms, 99th percentile=14,246 ms
info: video_thread(video): min=0,001 ms, median=1,085 ms, max=92,469 ms, 99th percentile=74,773 ms
info:  ┗receive_video: min=0,644 ms, median=1,232 ms, max=61,144 ms, 99th percentile=58,237 ms, 1,14062 calls per parent call
info:    ┗do_encode: min=0,642 ms, median=1,229 ms, max=61,14 ms, 99th percentile=58,233 ms
info:      ┗encode(test_x264): min=0,64 ms, median=1,142 ms, max=61,135 ms, 99th percentile=58,135 ms
info: obs_graphics_thread(33,3333 ms): min=4,237 ms, median=11,456 ms, max=22,393 ms, 99th percentile=18,919 ms, 100% below 33,333 ms
info:  ┣tick_sources: min=0,019 ms, median=0,021 ms, max=0,029 ms, 99th percentile=0,024 ms
info:  ┣output_frame: min=0,47 ms, median=7,359 ms, max=10,367 ms, 99th percentile=9,811 ms
info:  ┃ ┣gs_context(video->graphics): min=0,468 ms, median=7,136 ms, max=9,579 ms, 99th percentile=9,144 ms
info:  ┃ ┃ ┣render_video: min=0,269 ms, median=6,91 ms, max=9,347 ms, 99th percentile=8,877 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,224 ms, median=0,271 ms, max=0,385 ms, 99th percentile=0,377 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,274 ms, median=0,397 ms, max=1,233 ms, 99th percentile=0,986 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,282 ms, median=0,337 ms, max=2,651 ms, 99th percentile=1,559 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=4,725 ms, median=5,582 ms, max=7,575 ms, 99th percentile=7,571 ms
info:  ┃ ┃ ┣gs_flush: min=0,048 ms, median=0,08 ms, max=2,996 ms, 99th percentile=0,366 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,012 ms, max=0,042 ms, 99th percentile=0,032 ms
info:  ┃ ┗output_video_data: min=0,119 ms, median=0,141 ms, max=0,78 ms, 99th percentile=0,724 ms
info:  ┗render_displays: min=1,938 ms, median=3,768 ms, max=11,673 ms, 99th percentile=9,901 ms
info: video_thread(video): min=0,968 ms, median=2,767 ms, max=6,956 ms, 99th percentile=6,257 ms
info:  ┗receive_video: min=0,962 ms, median=2,76 ms, max=6,95 ms, 99th percentile=6,249 ms
info:    ┗do_encode: min=0,958 ms, median=2,757 ms, max=6,947 ms, 99th percentile=6,245 ms
info:      ┗encode(test_x264): min=0,955 ms, median=2,562 ms, max=6,897 ms, 99th percentile=5,973 ms
info: obs_graphics_thread(16,6667 ms): min=5,855 ms, median=12,185 ms, max=26,524 ms, 99th percentile=21,677 ms, 87,7076% below 16,667 ms
info:  ┣tick_sources: min=0,014 ms, median=0,021 ms, max=0,821 ms, 99th percentile=0,161 ms
info:  ┣output_frame: min=0,307 ms, median=9,414 ms, max=15,694 ms, 99th percentile=14,631 ms
info:  ┃ ┣gs_context(video->graphics): min=0,305 ms, median=9,325 ms, max=15,594 ms, 99th percentile=14,549 ms
info:  ┃ ┃ ┣render_video: min=0,128 ms, median=9,153 ms, max=15,367 ms, 99th percentile=14,366 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,115 ms, median=0,346 ms, max=3,304 ms, 99th percentile=2,574 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,169 ms, median=0,508 ms, max=3,407 ms, 99th percentile=1,652 ms
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,146 ms, median=0,397 ms, max=4,845 ms, 99th percentile=1,822 ms
info:  ┃ ┃ ┃ ┗stage_output_texture: min=3,37 ms, median=7,784 ms, max=13,813 ms, 99th percentile=12,4 ms
info:  ┃ ┃ ┣gs_flush: min=0,03 ms, median=0,063 ms, max=0,509 ms, 99th percentile=0,288 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,009 ms, max=0,082 ms, 99th percentile=0,035 ms
info:  ┃ ┗output_video_data: min=0,054 ms, median=0,067 ms, max=1,773 ms, 99th percentile=1,462 ms
info:  ┗render_displays: min=0,827 ms, median=2,542 ms, max=14,576 ms, 99th percentile=8,381 ms
info: video_thread(video): min=0,452 ms, median=0,628 ms, max=27,477 ms, 99th percentile=18,728 ms
info:  ┗receive_video: min=0,447 ms, median=0,624 ms, max=27,462 ms, 99th percentile=18,723 ms
info:    ┗do_encode: min=0,445 ms, median=0,621 ms, max=27,459 ms, 99th percentile=18,719 ms
info:      ┗encode(test_x264): min=0,426 ms, median=0,6 ms, max=27,455 ms, 99th percentile=18,716 ms
info: obs_graphics_thread(33,3333 ms): min=0,664 ms, median=1,205 ms, max=27,122 ms, 99th percentile=27,122 ms, 100% below 33,333 ms
info:  ┣tick_sources: min=0,014 ms, median=0,018 ms, max=0,031 ms, 99th percentile=0,031 ms
info:  ┣output_frame: min=0,126 ms, median=0,253 ms, max=0,841 ms, 99th percentile=0,841 ms
info:  ┃ ┗gs_context(video->graphics): min=0,125 ms, median=0,252 ms, max=0,84 ms, 99th percentile=0,84 ms
info:  ┃   ┣render_video: min=0,064 ms, median=0,107 ms, max=0,157 ms, 99th percentile=0,157 ms
info:  ┃   ┃ ┗render_main_texture: min=0,057 ms, median=0,097 ms, max=0,143 ms, 99th percentile=0,143 ms
info:  ┃   ┗gs_flush: min=0,026 ms, median=0,068 ms, max=0,677 ms, 99th percentile=0,677 ms
info:  ┗render_displays: min=0,397 ms, median=0,739 ms, max=26,607 ms, 99th percentile=26,607 ms
info: obs_graphics_thread(33,3333 ms): min=0,633 ms, median=69,803 ms, max=4915,23 ms, 99th percentile=204,617 ms, 11,0505% below 33,333 ms
info:  ┣tick_sources: min=0,007 ms, median=44,909 ms, max=208,712 ms, 99th percentile=151,133 ms
info:  ┣output_frame: min=0,125 ms, median=12,97 ms, max=4676,66 ms, 99th percentile=43,667 ms
info:  ┃ ┣gs_context(video->graphics): min=0,125 ms, median=12,362 ms, max=4676,26 ms, 99th percentile=39,208 ms
info:  ┃ ┃ ┣render_video: min=0,065 ms, median=12,062 ms, max=4675,97 ms, 99th percentile=38,587 ms
info:  ┃ ┃ ┃ ┣render_main_texture: min=0,058 ms, median=3,661 ms, max=19,684 ms, 99th percentile=12,521 ms
info:  ┃ ┃ ┃ ┣render_output_texture: min=0,651 ms, median=1,919 ms, max=28,045 ms, 99th percentile=9,837 ms, 0,734403 calls per parent call
info:  ┃ ┃ ┃ ┣render_convert_texture: min=0,128 ms, median=0,737 ms, max=20,156 ms, 99th percentile=5,043 ms, 0,734403 calls per parent call
info:  ┃ ┃ ┃ ┗stage_output_texture: min=2,024 ms, median=5,966 ms, max=4620,27 ms, 99th percentile=25,243 ms, 0,734403 calls per parent call
info:  ┃ ┃ ┣gs_flush: min=0,025 ms, median=0,129 ms, max=3,841 ms, 99th percentile=0,861 ms
info:  ┃ ┃ ┗download_frame: min=0,001 ms, median=0,019 ms, max=3,049 ms, 99th percentile=0,083 ms, 0,734403 calls per parent call
info:  ┃ ┗output_video_data: min=0,002 ms, median=0,439 ms, max=35,115 ms, 99th percentile=17,981 ms, 0,734242 calls per parent call
info:  ┗render_displays: min=0,052 ms, median=7,242 ms, max=157,535 ms, 99th percentile=51,549 ms
info: OBSBasic::ResetVideo: 61,763 ms
info: OBSBasic::ResetOutputs: min=0,25 ms, median=0 ms, max=0,363 ms, 99th percentile=0,363 ms
info: video_thread(video): min=0,02 ms, median=14,016 ms, max=887,684 ms, 99th percentile=89,008 ms
info:  ┗receive_video: min=1,168 ms, median=5,222 ms, max=173,468 ms, 99th percentile=32,877 ms, 2,79046 calls per parent call
info:    ┗do_encode: min=1,166 ms, median=5,216 ms, max=173,465 ms, 99th percentile=32,875 ms
info:      ┗encode(simple_h264_recording): min=1,131 ms, median=5,092 ms, max=173,399 ms, 99th percentile=32,642 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25,195 ms, median=30,876 ms, max=4798,83 ms, 9,49868% within ±2% of 25 ms (0% lower, 90,5013% higher)
info: obs_graphics_thread(33,3333 ms): min=32,266 ms, median=33,334 ms, max=34,421 ms, 99,5546% within ±2% of 33,333 ms (0,222717% lower, 0,222717% higher)
info: obs_graphics_thread(16,6667 ms): min=12,028 ms, median=19,307 ms, max=62,538 ms, 11,9658% within ±2% of 16,667 ms (18,3761% lower, 69,6581% higher)
info: obs_graphics_thread(33,3333 ms): min=23,536 ms, median=33,335 ms, max=58,591 ms, 74,8466% within ±2% of 33,333 ms (11,0429% lower, 14,1104% higher)
info: obs_graphics_thread(16,6667 ms): min=8,426 ms, median=18,102 ms, max=38,358 ms, 10,9848% within ±2% of 16,667 ms (28,4091% lower, 60,6061% higher)
info: obs_graphics_thread(33,3333 ms): min=25,552 ms, median=33,336 ms, max=41,152 ms, 85,7143% within ±2% of 33,333 ms (7,14286% lower, 7,14286% higher)
info: obs_graphics_thread(16,6667 ms): min=10,156 ms, median=16,663 ms, max=25,743 ms, 50% within ±2% of 16,667 ms (27,5974% lower, 22,4026% higher)
info: obs_graphics_thread(33,3333 ms): min=32,618 ms, median=33,332 ms, max=34,048 ms, 98,6842% within ±2% of 33,333 ms (0,657895% lower, 0,657895% higher)
info: obs_graphics_thread(16,6667 ms): min=11,833 ms, median=16,669 ms, max=146,132 ms, 83,165% within ±2% of 16,667 ms (6,73401% lower, 10,101% higher)
info: obs_graphics_thread(33,3333 ms): min=29,705 ms, median=33,336 ms, max=36,983 ms, 98,6928% within ±2% of 33,333 ms (0,653595% lower, 0,653595% higher)
info: obs_graphics_thread(16,6667 ms): min=12,191 ms, median=16,669 ms, max=26,557 ms, 79,3333% within ±2% of 16,667 ms (10% lower, 10,6667% higher)
info: obs_graphics_thread(33,3333 ms): min=32,647 ms, median=33,333 ms, max=34,02 ms, 97,6744% within ±2% of 33,333 ms (1,16279% lower, 1,16279% higher)
info: obs_graphics_thread(33,3333 ms): min=16,601 ms, median=69,887 ms, max=4915,28 ms, 8,88675% within ±2% of 33,333 ms (2,85531% lower, 88,2579% higher)
info: =================================================
info: Number of memory leaks: 1

and having to make all the settings again.

Anyway, it's getting better... :)

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

I forgot to add that I also installed Simple Screen Recorder and Recordmydesktop. I couldn't fint the GUI for Recordmydesktop (gtk-recordmy desktop), but Simple Screen Recorder works perfectly so far.

Strange, isn't it?

haydent
Posts: 9
Joined: Mon Dec 13, 2021 8:35 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by haydent »

Not sure if related specifically to odroid or bullseye or maybe even my router, but whenever i have an internet outtage my odroid system never comes back onto the network, cant event ping it on LAN ??? rPi used to be fine

Update, it seems to even happen if i just unplug my network cable for a few mins and plug it back in

User avatar
mad_ady
Posts: 10643
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 915 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by mad_ady »

Be that as it may, I tried to launch OBS Studio with the 'Applications" menu, and it failed once again.The error message tells me : "Failed to initialize video. Your GPU may not be supported, or your graphics driver may need to be supported".
To make it persistent, you'll need to set the variable systemwide. Try adding

Code: Select all

export PAN_MESA_DEBUG=gl3
to /etc/profile

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

mad_ady wrote:
Sun Apr 03, 2022 5:02 pm
To make it persistent, you'll need to set the variable systemwide. Try adding

Code: Select all

export PAN_MESA_DEBUG=gl3
to /etc/profile
better to add it only to OBS, OpenGL 3.3 is not officially supported and adding it system-wide, may cause unwanted side-effects.
edit the file: /usr/share/applications/com.obsproject.Studio.desktop
as root with your favorite text editor and change:

Code: Select all

Exec=obs
to

Code: Select all

Exec=env PAN_MESA_DEBUG=gl3 obs
You can also make a copy of that file on your desktop and edit it there instead to keep the original file as is, but you would also have to make the file executable in that case.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

haydent wrote:
Sun Apr 03, 2022 2:07 pm
Not sure if related specifically to odroid or bullseye or maybe even my router, but whenever i have an internet outtage my odroid system never comes back onto the network, cant event ping it on LAN ??? rPi used to be fine

Update, it seems to even happen if i just unplug my network cable for a few mins and plug it back in
Sounds a bit odd, but could be the case if you run it as a server without network manager.
It only uses /etc/network/interfaces in that case and maybe that one needs to be adjusted to take care of a case like that.
If you're using a desktop environment normally the network manager takes care of something like that.

Are you using a desktop environment or run it as a server?

If you run it as a sever without desktop, can you show me the content of /etc/network/interfaces
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

haydent
Posts: 9
Joined: Mon Dec 13, 2021 8:35 am
languages_spoken: english
ODROIDs: N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by haydent »

headless ssh control, no gui installed, static ip set in router

Code: Select all

root@odroid:~# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

allow-hotplug eth0
iface eth0 inet dhcp

allow hotplug wlan0
iface wlan inet dhcp
        wpa-essid       <SSID>
        wpa-psk         <PSK>
        wpa-scan-ssid   1
root@odroid:~#

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

meveric wrote:
Sun Apr 03, 2022 5:36 pm
mad_ady wrote:
Sun Apr 03, 2022 5:02 pm
To make it persistent, you'll need to set the variable systemwide. Try adding

Code: Select all

export PAN_MESA_DEBUG=gl3
to /etc/profile
better to add it only to OBS, OpenGL 3.3 is not officially supported and adding it system-wide, may cause unwanted side-effects.
edit the file: /usr/share/applications/com.obsproject.Studio.desktop
as root with your favorite text editor and change:

Code: Select all

Exec=obs
to

Code: Select all

Exec=env PAN_MESA_DEBUG=gl3 obs
You can also make a copy of that file on your desktop and edit it there instead to keep the original file as is, but you would also have to make the file executable in that case.
Thank you guys.

I'll try that as soon as possible. Maybe this evening, I'll see.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

haydent wrote:
Sun Apr 03, 2022 6:05 pm
headless ssh control, no gui installed, static ip set in router

Code: Select all

root@odroid:~# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

allow-hotplug eth0
iface eth0 inet dhcp

allow hotplug wlan0
iface wlan inet dhcp
        wpa-essid       <SSID>
        wpa-psk         <PSK>
        wpa-scan-ssid   1
root@odroid:~#
hmm looks fine.
Either you try implementing a workaround, like a shell script that tries to ping google once every minute and if it can't reach it does a service networking restart, or you could try installing network manager, it work on command line as well and might be able to handle disconnects in the background.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

meveric wrote:
Sun Apr 03, 2022 5:36 pm
better to add it only to OBS, OpenGL 3.3 is not officially supported and adding it system-wide, may cause unwanted side-effects.
edit the file: /usr/share/applications/com.obsproject.Studio.desktop
as root with your favorite text editor and change:

Code: Select all

Exec=obs
to

Code: Select all

Exec=env PAN_MESA_DEBUG=gl3 obs
You can also make a copy of that file on your desktop and edit it there instead to keep the original file as is, but you would also have to make the file executable in that case.
I tried this replacement solution with nano, but nano answered me " 'Exec=obs' not found ".
But maybe it's my fault, I haven't been using nano for quite a while and need to pratice again, I could have done something wrong.

I'll let you know.

0n3man
Posts: 26
Joined: Sat Jan 17, 2015 8:34 am
languages_spoken: english
ODROIDs: U3 , C1, C2, N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by 0n3man »

In general I like the option to be able to generate stuff from scratch. I've been working with the guy running this github project: https://github.com/pyavitz/debian-image-builder. It's a nice setup that has scripts for building images from scratch for a number of different arm boards. He currently support odroid n2/n2+. I was hoping if you were building stuff from scratch that maybe you'd have items that might be useful to help improve his effort. In addition to the N2+ boards, I have a bunch of C1+ boards that he doesn't currently support. If you have some time have a look at his stuff, as I suspect with your knowledge you could provide some good input to help expand odroid board coverage and improve his project.

Your the second person I've communicated with that has implied there is an issue with cross compiling. As the compiler is just generating binary I'm wondering what's the issue? Are the cross compilers just not as good as they should be? I assume the cross compiler was the real target version compiler just complied to run on x86/x64.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

0n3man wrote:
Tue Apr 05, 2022 12:28 am
In general I like the option to be able to generate stuff from scratch.
Once you know how, it's actually not that hard.
0n3man wrote:
Tue Apr 05, 2022 12:28 am
I've been working with the guy running this github project: https://github.com/pyavitz/debian-image-builder. It's a nice setup that has scripts for building images from scratch for a number of different arm boards. He currently support odroid n2/n2+. I was hoping if you were building stuff from scratch that maybe you'd have items that might be useful to help improve his effort.
I do most of the stuff manually as there is very little behind it when you know how to do it, and most of the time creation of an image is a one time procedure, even more so with modern arm64 boards, where you pretty much can have a single image for all boards.
Therefore I don't see the point of creating a bunch of scripts that allow you to do over an over and over again the stuff that you only need to do once.
Automation is good, but only if it reduces workload, and not when it creates more workload developing and maintaining it compared to the time you save using it.
0n3man wrote:
Tue Apr 05, 2022 12:28 am
In addition to the N2+ boards, I have a bunch of C1+ boards that he doesn't currently support. If you have some time have a look at his stuff, as I suspect with your knowledge you could provide some good input to help expand odroid board coverage and improve his project.
Unlikely, as I already mentioned I don't work as he works, and as I also already mentioned, with arm64 boards, you don't need many images it's more a "one image to rule them all" type of deal.

ODROID C1 on the other hand is much more complicated, as armhf still seems to be focused around specific board configurations while that's not the case with arm64.
Still I haven't explored armhf upstream much yet, therefore I'm not sure if this statement holds true, once I dive into it more.
0n3man wrote:
Tue Apr 05, 2022 12:28 am
Your the second person I've communicated with that has implied there is an issue with cross compiling. As the compiler is just generating binary I'm wondering what's the issue? Are the cross compilers just not as good as they should be? I assume the cross compiler was the real target version compiler just complied to run on x86/x64.
One of the main reason why I don't do cross compiling is that it makes things much more complicated.
The same tools that exist under x86/amd64 and the same commands you use there exist under arm as well and you can use them alike. You don't need complicated corss-compiler toolchains installed, just install gcc and compile, done.

Also, have you ever checked the version of the cross compiler you're using? Most likely it will be gcc-4.8 or gcc-4.9

Latest released GCC version is 11.2
While cross compiling works, you are missing most of the features (and bugfixes) of modern compilers, while when you compile directly on the board you can use all compiler options and optimization modern compilers offer.
It is much easier to test new things, you can use debugger like gdb and things like that if things don't work, and many other things.
As long as you can avoid cross compiling you should always avoid it.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

0n3man
Posts: 26
Joined: Sat Jan 17, 2015 8:34 am
languages_spoken: english
ODROIDs: U3 , C1, C2, N2+
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by 0n3man »

Thanks for the feedback and perspective. The project I mentioned works either native or with cross compile. I believe the cross compiler is on gcc 10. I've always been fond of the cross compile option because the multi core amd64 is significantly faster than any arm option. It's a good point about the cross compiler being behind the native compiler. I guess I've used the older arm boards for too long as they always required a lot of work. The guys setup is also good because it allows for easy package build for new kernel releases. It's surprising the board manufactures don't seem to keep up with various OS releases. Your and this other guys Bullseye release are the only two I found that work on the odroid n2 board. Once again thanks for the feedback.

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

Hello.

I haven’t taken the time to configure nano yet, but something strange happened to me today. I plugged the Odroid to make a short video test, and some displayed colours wxere inverted. My Firefox home page, usually dark (night) blue was reddish, and the Firefox icon was blue, as my wallpaper picture : it has a kind of red stain in some place, which became blue today. Strange, isn’t it ?

User avatar
mad_ady
Posts: 10643
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4 (HC1, HC2), C1+, C2, C4 (HC4), N1, N2, H2, Go, Go Advance, M1
Location: Bucharest, Romania
Has thanked: 645 times
Been thanked: 915 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by mad_ady »

Try reseating the hdmi cable, just in case it's a poor contact. Have you updated uboot or the kernel recently?

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

Depending on the GPU drivers you use and what Desktop environment you use similar issues can be observed with the N2 on many different levels.
The DRM driver for the N2 (and the C4) is far from perfect and has all kind of issues. Changing resolution, already leads to discoloration on X11 desktops. FireFox, Chrome, and other applications have broken color scheme with "bright" colors. Which are less noticeable if you switch to a dark theme.
But things like Browser, or even command line tools like "mc" (midnight commander) show these discoloration in many situations.

Interesting enough, most of these issues seems to be gone with latest Kernel, u-boot 2022.01 and latest MESA drivers on the C4, but not on the N2.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

marxero
Posts: 15
Joined: Wed Mar 30, 2022 9:27 pm
languages_spoken: french and several others
ODROIDs: N2+
Location: France
Has thanked: 0
Been thanked: 0
Contact:

Re: [OS] Debian Bullseye (11)

Post by marxero »

Try reseating the hdmi cable, just in case it's a poor contact.
I should have found this by myself and checked! :D Thanks for the tip. ;)

Have you updated uboot or the kernel recently?
The only update I made today was a "general" one ("apt update && apt upgrade"). I did it after noticing this "display inversion", and the only available update was for Firefox ESR.
Changing resolution, already leads to discoloration on X11 desktops
I didn't change anything, the resolution has been set automatically as I installed Debian.

FireFox, Chrome, and other applications have broken color scheme with "bright" colors. Which are less noticeable if you switch to a dark theme.
I allready use the Black MATE theme.

I must say I just used the N2 quickly inbetween today, and had no time to explore or repair anything so far. And I won't have time to do it in the coming few days, so I'll let you know when I have more investigated.

Thank you all anyway. :)

xabolcs
Posts: 74
Joined: Fri Jun 22, 2018 6:37 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 121 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Bullseye (11) - thank you

Post by xabolcs »

Hi meveric!

Thank you very much for this release!
Especially for the upstream U-Boot and the 5.15+ kernel! 🙏

How did you package the U-Boot? Did you experiment with TrustedFirmware? Did you try some open-source aml_encrypt_g12b alternative?

And how hard was the porting to 5.15? And for 5.17? I failed miserably with kernel 5.4! :D

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

The u-boot is rather simple.
The code for the ODROID-N2 is upstream available: https://github.com/u-boot/u-boot/blob/m ... _defconfig
but you need to sign the resulting u-boot afterwards: https://u-boot.readthedocs.io/en/latest ... id-n2.html

So that part is really easy.

Kernel is easy by now as well. arm64 is very flexible by now and with the same kernel you can run nearly all boards out of the box and odroid-n2 support is upstream in Kernel as well: https://github.com/torvalds/linux/blob/ ... id-n2.dtsi

so as long as you have a recent kernel and a fitting device tree file you're good to go.

The rest is up to you to combine it on your OS image and make sure Kernel and u-boot work together.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

xabolcs
Posts: 74
Joined: Fri Jun 22, 2018 6:37 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 121 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Bullseye (11) - pcf8563

Post by xabolcs »

Thank you! I hope so too it's easier now!

My N2 has an RTC battery and I like to enable it (rtc-pcf8563).
As I see you had success in October 2021:

Code: Select all

# journalctl |grep --color rtc0
Oct 27 15:17:12 odroid-bullseye64 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:17:12 odroid-bullseye64 kernel: rtc-pcf8563 1-0051: registered as rtc0
Oct 27 15:18:33 odroid-bullseye64 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:18:33 odroid-bullseye64 kernel: rtc-pcf8563 1-0051: registered as rtc0
Oct 27 15:38:01 odroid-bullseye64 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:38:01 odroid-bullseye64 kernel: rtc-pcf8563 1-0051: registered as rtc0
Oct 27 15:44:43 odroid-bullseye64 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:44:43 odroid-bullseye64 kernel: rtc-pcf8563 1-0051: registered as rtc0
I was able to remove the meson-vrtc with blacklist and install, and it's not registrered as rtc1 by now:

Code: Select all

# cat /etc/modprobe.d/00-blacklist-rtc.conf 
blacklist rtc-meson-vrtc
install rtc-meson-vrtc /bin/true
rtc-pcf8563 is in /etc/modules-load.d/*.conf and is loaded, but dmesg is empty. :cry:

Code: Select all

# cat /etc/modules-load.d/rtc-odroid-n2.conf 
rtc-pcf8563

# lsmod|grep rtc
rtc_pcf8563            24576  0

# dmesg|grep rtc
# dmesg|grep pcf
# 
Any hint?

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

Hmm I'm not sure.
I would have to check the code.
The ODROID N2 Plus dts file has the RTC included so it should work automatically as long as the module is available.
I will check if the module is there or not and loaded correctly.
These users thanked the author meveric for the post:
xabolcs (Wed Jun 08, 2022 11:11 pm)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

xabolcs
Posts: 74
Joined: Fri Jun 22, 2018 6:37 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 121 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by xabolcs »

RTC was added directly to N2/N2+ common DTSI in commit 6fb82afbe2a5a9d3ac4bde5fd81b7ad568a260ea in kernel 5.12 by chewitt.

My N2 has those rtc* aliases too:

Code: Select all

# ls -l /sys/firmware/devicetree/base/aliases/rtc*
-r--r--r-- 1 root root 35 Jun  8 15:39 /sys/firmware/devicetree/base/aliases/rtc0
-r--r--r-- 1 root root 25 Jun  8 15:39 /sys/firmware/devicetree/base/aliases/rtc1
Their contents are:

Code: Select all

# find /sys/firmware/devicetree/base/aliases/ -name rtc* -exec ls -l {} \; -exec cat {} \; -exec echo \;
-r--r--r-- 1 root root 35 Jun  8 15:39 /sys/firmware/devicetree/base/aliases/rtc0
/soc/bus@ffd00000/i2c@1c000/rtc@51
-r--r--r-- 1 root root 25 Jun  8 15:39 /sys/firmware/devicetree/base/aliases/rtc1
/soc/bus@ff800000/rtc@a8
rtc-pcf8563 modules are present:

Code: Select all

# find /lib/modules/ -name *pcf8563*
/lib/modules/5.17.11-arm64/kernel/drivers/rtc/rtc-pcf8563.ko
/lib/modules/5.17.5-arm64/kernel/drivers/rtc/rtc-pcf8563.ko
/lib/modules/5.15.10-arm64/kernel/drivers/rtc/rtc-pcf8563.ko

# modinfo rtc-pcf8563 
filename:       /lib/modules/5.17.11-arm64/kernel/drivers/rtc/rtc-pcf8563.ko
license:        GPL
description:    Philips PCF8563/Epson RTC8564 RTC driver
author:         Alessandro Zummo <a.zummo@towertech.it>
alias:          i2c:pca8565
alias:          i2c:rtc8564
alias:          i2c:pcf8563
alias:          of:N*T*Cnxp,pca8565C*
alias:          of:N*T*Cnxp,pca8565
alias:          of:N*T*Cmicrocrystal,rv8564C*
alias:          of:N*T*Cmicrocrystal,rv8564
alias:          of:N*T*Cepson,rtc8564C*
alias:          of:N*T*Cepson,rtc8564
alias:          of:N*T*Cnxp,pcf8563C*
alias:          of:N*T*Cnxp,pcf8563
depends:        
intree:         Y
name:           rtc_pcf8563
vermagic:       5.17.11-arm64 SMP preempt mod_unload aarch64

# uname -a
Linux odroid-bullseye64 5.17.11-arm64 #odroid SMP PREEMPT Sun May 29 13:30:01 CEST 2022 aarch64 GNU/Linux
Kernel module is loaded if I ask for it with a conf in /etc/modules-load.d/ but not automatically.

I don't know what's missing.

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by meveric »

Finally got around to test this a little bit.

So as it should be the RTC is found automatically you don't need to load the module manually.
BUT the RTC is connected to the I2C bus, and the I2C bus is not loaded automatically.
For this you need to activate i2c as an overlay.

In /boot/config.ini
you should already find a section for overlays.
If you add fk_overlays=i2c1
You could also activate i2c0 (fk_overlays=i2c0 i2c1) but apparently that is not needed.

Once i2c1 is loaded, rtc is found automatically and activated.
These users thanked the author meveric for the post:
xabolcs (Tue Jun 14, 2022 4:23 pm)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

xabolcs
Posts: 74
Joined: Fri Jun 22, 2018 6:37 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 121 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Bullseye (11) - rtc

Post by xabolcs »

Code: Select all

# dmesg |grep rtc
[    2.353489] rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
[    2.379670] rtc-pcf8563 1-0051: registered as rtc0
[    2.387959] rtc-pcf8563 1-0051: setting system clock to 2022-06-14T07:09:41 UTC (1655190581)
That was it! Thank you very much! 🙏

May I ask for a hint about this in the opening post?

xabolcs
Posts: 74
Joined: Fri Jun 22, 2018 6:37 pm
languages_spoken: english
ODROIDs: N2
Has thanked: 121 times
Been thanked: 2 times
Contact:

Re: [OS] Debian Bullseye (11)

Post by xabolcs »

And for that invalid alarm value: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00, I had to do:

Code: Select all

# hwclock --update-drift --systohc 
Got the hint from tobetter and j.fikar from the search: Is it safe to upgrade 21.10 to 22.04 via do-release-upgrade?
Gone nicely:

Code: Select all

# journalctl --no-hostname|grep rtc0
Oct 27 15:17:12 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:17:12 kernel: rtc-pcf8563 1-0051: registered as rtc0
Oct 27 15:18:33 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:18:33 kernel: rtc-pcf8563 1-0051: registered as rtc0
Oct 27 15:38:01 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:38:01 kernel: rtc-pcf8563 1-0051: registered as rtc0
Oct 27 15:44:43 kernel: rtc rtc0: invalid alarm value: 2021-10-09T28:06:00
Oct 27 15:44:43 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 06:02:08 kernel: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
Jun 14 06:02:08 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 06:06:45 kernel: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
Jun 14 06:06:45 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 06:15:05 kernel: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
Jun 14 06:15:05 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 06:52:05 kernel: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
Jun 14 06:52:05 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 06:55:48 kernel: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
Jun 14 06:55:48 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 07:09:43 kernel: rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
Jun 14 07:09:43 kernel: rtc-pcf8563 1-0051: registered as rtc0
Jun 14 07:43:37 kernel: rtc-pcf8563 1-0051: registered as rtc0

User avatar
meveric
Posts: 11805
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 75 times
Been thanked: 577 times
Contact:

Re: [OS] Debian Bullseye (11) - rtc

Post by meveric »

xabolcs wrote:
Tue Jun 14, 2022 4:25 pm

Code: Select all

# dmesg |grep rtc
[    2.353489] rtc rtc0: invalid alarm value: 2022-06-09T28:06:00
[    2.379670] rtc-pcf8563 1-0051: registered as rtc0
[    2.387959] rtc-pcf8563 1-0051: setting system clock to 2022-06-14T07:09:41 UTC (1655190581)
That was it! Thank you very much! 🙏

May I ask for a hint about this in the opening post?
I added the info in the first post :)
These users thanked the author meveric for the post:
xabolcs (Wed Jun 15, 2022 7:22 am)
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest