Re: openbsd 7.2 suspend / sleep issues on Lenovo ThinkPad E14 Gen 4
>> About the camera, here is some more useful info on how it doesn't work: > > Make sure you have sysctl kern.video.record=1 I do have a toggle to change the above. And toggle it accordingly before attempting to use the camera. So it's not that. All works fine with an older lenovo builtin webcam laptop and an external usb cam. > and try with video(1) first before bringing ffmpeg into it. I did try with the default video command. I don't have the failed output of it on hand at the moment.
Re: openbsd 7.2 suspend / sleep issues on Lenovo ThinkPad E14 Gen 4
On Jan 07 00:00:31, di...@santanas.co.za wrote: > > >> The camera. Which is less important, because I can plug an external > >> usb web cam. The camera is detected, but doesn't work. I think it > >> was recording weirdly or in some crippled fashion. > > About the camera, here is some more useful info on how it doesn't work: Make sure you have sysctl kern.video.record=1, and try with video(1) first before bringing ffmpeg into it. Jan > I've enabled the webcam in the bios now and here is a more useful report > with a dmesg[1] with integrated cam enabled. > > The issue is it failed to record. Specifically: > > ds:/home/ds:5010$ ffplay -f v4l2 -list_formats all -i /dev/video0 > ffplay version 4.4.2 Copyright (c) 2003-2021 the FFmpeg developers > built with OpenBSD clang version 13.0.0 > configuration: --enable-shared --arch=amd64 --cc=cc --disable-debug > --disable-indev=jack --disable-indev=oss --disable-outdev=oss > --disable-outdev=sdl2 --enable-avresample --enable-fontconfig --enable-frei0r > --enable-gpl --enable-ladspa --enable-libaom --enable-libass > --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libgsm > --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libtheora > --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 > --enable-libx265 --enable-libxml2 --enable-libxvid --enable-nonfree > --enable-openssl --enable-libvidstab --extra-cflags='-I/usr/local/include > -I/usr/X11R6/include' --extra-libs='-L/usr/local/lib -L/usr/X11R6/lib' > --extra-ldsoflags= --mandir=/usr/local/man --objcc=/usr/bin/false > --optflags='-O2 -pipe -Wno-redundant-decls' > libavutil 56. 70.100 / 56. 70.100 > libavcodec 58.134.100 / 58.134.100 > libavformat58. 76.100 / 58. 76.100 > libavdevice58. 13.100 / 58. 13.100 > libavfilter 7.110.100 / 7.110.100 > libavresample 4. 0. 0 / 4. 0. 0 > libswscale 5. 9.100 / 5. 9.100 > libswresample 3. 9.100 / 3. 9.100 > libpostproc55. 9.100 / 55. 9.100 > [video4linux2,v4l2 @ 0x69de87bc800] Compressed: mjpeg : > MJPEG : 1920x1080 320x180 320x240 352x288 424x240 640x360 640x480 848x480 > 960x540 1280x720 > [video4linux2,v4l2 @ 0x69de87bc800] Raw : yuyv422 : > YUYV : 1920x1080 320x180 320x240 352x288 424x240 640x360 640x480 848x480 > 960x540 1280x720 > /dev/video0: Immediate exit requestedB vq=0KB sq=0B f=0/0 > nan: 0.000 fd= 0 aq=0KB vq=0KB sq=0B f=0/0 > > ffmpeg -f v4l2 -input_format mjpeg -video_size 1280x720 -i /dev/video0 > ~/video.mkv > > ffmpeg version 4.4.2 Copyright (c) 2000-2021 the FFmpeg developers > built with OpenBSD clang version 13.0.0 > configuration: --enable-shared --arch=amd64 --cc=cc --disable-debug > --disable-indev=jack --disable-indev=oss --disable-outdev=oss > --disable-outdev=sdl2 --enable-avresample --enable-fontconfig --enable-frei0r > --enable-gpl --enable-ladspa --enable-libaom --enable-libass > --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libgsm > --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libtheora > --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 > --enable-libx265 --enable-libxml2 --enable-libxvid --enable-nonfree > --enable-openssl --enable-libvidstab --extra-cflags='-I/usr/local/include > -I/usr/X11R6/include' --extra-libs='-L/usr/local/lib -L/usr/X11R6/lib' > --extra-ldsoflags= --mandir=/usr/local/man --objcc=/usr/bin/false > --optflags='-O2 -pipe -Wno-redundant-decls' > libavutil 56. 70.100 / 56. 70.100 > libavcodec 58.134.100 / 58.134.100 > libavformat58. 76.100 / 58. 76.100 > libavdevice58. 13.100 / 58. 13.100 > libavfilter 7.110.100 / 7.110.100 > libavresample 4. 0. 0 / 4. 0. 0 > libswscale 5. 9.100 / 5. 9.100 > libswresample 3. 9.100 / 3. 9.100 > libpostproc55. 9.100 / 55. 9.100 > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data found in image > [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring > [mjpeg @ 0x4d6db15d800] No JPEG data
Re: openbsd 7.2 suspend / sleep issues on Lenovo ThinkPad E14 Gen 4
>> The camera. Which is less important, because I can plug an external >> usb web cam. The camera is detected, but doesn't work. I think it >> was recording weirdly or in some crippled fashion. About the camera, here is some more useful info on how it doesn't work: I've enabled the webcam in the bios now and here is a more useful report with a dmesg[1] with integrated cam enabled. The issue is it failed to record. Specifically: ds:/home/ds:5010$ ffplay -f v4l2 -list_formats all -i /dev/video0 ffplay version 4.4.2 Copyright (c) 2003-2021 the FFmpeg developers built with OpenBSD clang version 13.0.0 configuration: --enable-shared --arch=amd64 --cc=cc --disable-debug --disable-indev=jack --disable-indev=oss --disable-outdev=oss --disable-outdev=sdl2 --enable-avresample --enable-fontconfig --enable-frei0r --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-nonfree --enable-openssl --enable-libvidstab --extra-cflags='-I/usr/local/include -I/usr/X11R6/include' --extra-libs='-L/usr/local/lib -L/usr/X11R6/lib' --extra-ldsoflags= --mandir=/usr/local/man --objcc=/usr/bin/false --optflags='-O2 -pipe -Wno-redundant-decls' libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat58. 76.100 / 58. 76.100 libavdevice58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc55. 9.100 / 55. 9.100 [video4linux2,v4l2 @ 0x69de87bc800] Compressed: mjpeg : MJPEG : 1920x1080 320x180 320x240 352x288 424x240 640x360 640x480 848x480 960x540 1280x720 [video4linux2,v4l2 @ 0x69de87bc800] Raw : yuyv422 : YUYV : 1920x1080 320x180 320x240 352x288 424x240 640x360 640x480 848x480 960x540 1280x720 /dev/video0: Immediate exit requestedB vq=0KB sq=0B f=0/0 nan: 0.000 fd= 0 aq=0KB vq=0KB sq=0B f=0/0 ffmpeg -f v4l2 -input_format mjpeg -video_size 1280x720 -i /dev/video0 ~/video.mkv ffmpeg version 4.4.2 Copyright (c) 2000-2021 the FFmpeg developers built with OpenBSD clang version 13.0.0 configuration: --enable-shared --arch=amd64 --cc=cc --disable-debug --disable-indev=jack --disable-indev=oss --disable-outdev=oss --disable-outdev=sdl2 --enable-avresample --enable-fontconfig --enable-frei0r --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libdav1d --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-nonfree --enable-openssl --enable-libvidstab --extra-cflags='-I/usr/local/include -I/usr/X11R6/include' --extra-libs='-L/usr/local/lib -L/usr/X11R6/lib' --extra-ldsoflags= --mandir=/usr/local/man --objcc=/usr/bin/false --optflags='-O2 -pipe -Wno-redundant-decls' libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat58. 76.100 / 58. 76.100 libavdevice58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc55. 9.100 / 55. 9.100 [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in image [mjpeg @ 0x4d6db15d800] Found EOI before any SOF, ignoring [mjpeg @ 0x4d6db15d800] No JPEG data found in