Skip to content

If no X running, no "power management", we get console with blinking cursor displayed, and we record it! #151

Open
@yarikoptic

Description

@yarikoptic

Not yet sure if we need to address it directly, or our "sync" script would be smart enough to turn off display when not in use, but now that we have .service file starting videograbber so we do get recording going after I disable/stop gdm3:

root@reproiner:/data/reprostim# sudo systemctl disable gdm3.service
Synchronizing state of gdm3.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable gdm3
Removed "/etc/systemd/system/display-manager.service".
root@reproiner:/data/reprostim# ps uauxw | grep video
reprost+    1040  0.0  0.0   6932  3424 ?        Ss   13:51   0:00 /bin/bash /data/reprostim/code/reprostim-videocapture-cron
reprost+    1068  0.0  0.0   5460  1048 ?        S    13:51   0:00 flock -E 0 -e -n /data/reprostim/.git/reprostim-videocapture.lock reprostim-videocapture -d /data/reprostim -f /data/reprostim/logs/2025-05-08T13:51-04:00.log
reprost+    1079  1.2  0.0 256648 14716 ?        Sl   13:51   0:26 reprostim-videocapture -d /data/reprostim -f /data/reprostim/logs/2025-05-08T13:51-04:00.log
root        1743  0.5  0.0      0     0 ?        I<   13:51   0:11 [kworker/u9:3-uvcvideo]
root        4238  0.1  0.0      0     0 ?        I<   14:02   0:02 [kworker/u9:1-uvcvideo]
root        8287  0.4  0.0      0     0 ?        I<   14:21   0:01 [kworker/u9:2-uvcvideo]
reprost+    9409  0.0  0.0   2576   956 ?        S    14:26   0:00 sh -c duct -l NONE -p /data/reprostim/Videos/2025/05/2025.05.08-14.26.40.810--.mkv.duct_ -c none --sample-interval 10 --report-interval 60 ffmpeg -f alsa -ac 2 -thread_queue_size 4096 -i hw:0,1 -f v4l2 -input_format yuyv422 -framerate 60 -video_size 1280x800 -thread_queue_size 4096 -i /dev/video0 -c:v libx264 -flush_packets 1 -preset ultrafast -crf 18 -tune zerolatency -b:v 8M -maxrate 8M -bufsize 16M -vf setpts=PTS-STARTPTS  -threads 4 -acodec aac -af asetpts=PTS-STARTPTS /data/reprostim/Videos/2025/05/2025.05.08-14.26.40.810--.mkv 2>&1
reprost+    9410  0.2  0.0 169392 15148 ?        Sl   14:26   0:00 /usr/bin/python3 /usr/bin/duct -l NONE -p /data/reprostim/Videos/2025/05/2025.05.08-14.26.40.810--.mkv.duct_ -c none --sample-interval 10 --report-interval 60 ffmpeg -f alsa -ac 2 -thread_queue_size 4096 -i hw:0,1 -f v4l2 -input_format yuyv422 -framerate 60 -video_size 1280x800 -thread_queue_size 4096 -i /dev/video0 -c:v libx264 -flush_packets 1 -preset ultrafast -crf 18 -tune zerolatency -b:v 8M -maxrate 8M -bufsize 16M -vf setpts=PTS-STARTPTS -threads 4 -acodec aac -af asetpts=PTS-STARTPTS /data/reprostim/Videos/2025/05/2025.05.08-14.26.40.810--.mkv
reprost+    9411 78.9  0.4 1124280 160096 ?      SLsl 14:26   0:14 ffmpeg -f alsa -ac 2 -thread_queue_size 4096 -i hw:0,1 -f v4l2 -input_format yuyv422 -framerate 60 -video_size 1280x800 -thread_queue_size 4096 -i /dev/video0 -c:v libx264 -flush_packets 1 -preset ultrafast -crf 18 -tune zerolatency -b:v 8M -maxrate 8M -bufsize 16M -vf setpts=PTS-STARTPTS -threads 4 -acodec aac -af asetpts=PTS-STARTPTS /data/reprostim/Videos/2025/05/2025.05.08-14.26.40.810--.mkv
root        9438  2.3  0.0      0     0 ?        I<   14:26   0:00 [kworker/u9:0-uvcvideo]
root        9482  0.0  0.0   6332  2148 pts/1    S+   14:26   0:00 grep video

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions