The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » KDE Desktop - Discover says I'm offline » 2024-02-19 16:56:33

It's the same issue we had here. https://dev1galaxy.org/viewtopic.php?id=4726

Long story short, Devuan doesn't have an appstream database like Debian does to get package information in Discover or GNOME software.

#2 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2024-02-13 16:01:52

Sorry for the long wait, but I tried all of your suggestions as well as ones from other forums and unfortunately I've concluded that this EasyCap was a dud. I had already spend so much time on this one I'm embarrassed to admit that I bought a "UCEC" capture card that looks nearly identical (with a number of Linux users who gave good reviews) and it works like a charm. It even uses the same module (uvcvideo) too.

#3 Re: Installation » Image viewers: EOG vs EOM » 2024-02-13 15:25:16

You could try Ristretto which is the Xfce image viewer, as far as I know it should follow xfce4's settings more so than eom because of xfconf.

#4 Re: Desktop and Multimedia » [SOLVED] Not getting thumbnails in Mate » 2023-12-24 22:12:47

ffmpegthumbnailer is what I have installed and get thumbnails in Caja.

#5 Re: Devuan » The insanity continues... BSOD coming to a systemd near you? » 2023-11-30 22:51:13

It's hard to believe this was a real thing when I first heard of it several weeks ago.

#6 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-14 16:42:03

ralph.ronnquist wrote:

@hunter0one, did you verify read-write access to the USB device node concerned?

Yes, I'm sorry I didn't mention I tried that after the first time you asked:

crw-rw-r-- 1 root root 189, 14 Sep 12 19:40 /dev/bus/usb/001/015

I still don't understand how to tell what the sequence of "bits" means what in *nix (besides r is read and w is write) but it seems read-write access is allowed.

To be on the safe side I ran chmod +rw /dev/bus/usb/001/015 and it results in the same sequence:

crw-rw-r-- 1 root root 189, 14 Sep 12 19:40 /dev/bus/usb/001/015

#7 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-13 21:03:07

chris2be8 wrote:

Check your ID is in the video group. id should tell you. Post output from it if not sure.

uid=1000(hunter) gid=1000(hunter) groups=1000(hunter),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),105(netdev),113(lpadmin),121(scanner)

It does appear that I am.

alexkemp wrote:

Do you have a broken wire?

I have tried every combination that qv4l2 would let me to no avail. The wires don't appear broken. This adapter never really got used before so its almost like brand new, because about a year ago is when I first received it and gave it a try and it wouldn't even appear as a device in Linux. I never got around to checking out why but most likely I was missing the module. Now that I have the time to try it again, it appears in dmesg and generates video devices but unfortunately it seems to be a paperweight.

#8 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-13 00:53:14

For some reason the capture image format and image size can't be changed in QV4L2, when I select another option for the first time it changes to the default and won't let the option be picked again. For the format it is MJPG and the image size is 640x480 like v4l2-ctl shows. I've went on and tried as many options as I could as both root and regular user but still get a black screen. This is unfortunate.

#9 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 23:45:50

alexkemp wrote:

What are the results of v4l2-ctl --all + arecord -l or arecord -L or cat /proc/asound/cards?

This is v4l2-ctl --all:

Driver Info:
	Driver name      : uvcvideo
	Card type        : AV TO USB2.0
	Bus info         : usb-0000:01:00.0-6
	Driver version   : 6.5.2
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : AV TO USB2.0
	Serial           : 20150130
	Bus info         : usb-0000:01:00.0-6
	Media version    : 6.5.2
	Hardware revision: 0x00000121 (289)
	Driver version   : 6.5.2
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : AV TO USB2.0
	Function         : V4L2 I/O
	Flags            : default
	Pad 0x01000007   : 0: Sink
	  Link 0x0200000d: from remote pad 0x100000a of entity 'Processing 2' (Video Pixel Formatter): Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 640/480
	Pixel Format      : 'MJPG' (Motion-JPEG)
	Field             : None
	Bytes per Line    : 0
	Size Image        : 614400
	Colorspace        : sRGB
	Transfer Function : Rec. 709
	YCbCr/HSV Encoding: ITU-R 601
	Quantization      : Default (maps to Full Range)
	Flags             : 
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 640, Height 480
	Default     : Left 0, Top 0, Width 640, Height 480
	Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 640, Height 480, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 640, Height 480, Flags: 
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 30.000 (30/1)
	Read buffers     : 0

And arecord -l:

**** List of CAPTURE Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: MS210x [MS210x], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Pay attention to your user. Your ls -l results show that you will have permission errors unless you go root.

I tried to run ffmpeg with sudo but get the same exact /dev/video0: Input/output error. When I try /dev/video1 it results in not a video capture device

Or try the advice in the Wiki link: sudo chmod a+r /dev/video0. I'm pretty sure that that is why you are getting the 'input/output error'.

After issuing chmod a+r to video0 & video1 they both still give the same respective errors.

I used your revised script but it still gives the same output for both video0 and video1, albeit with the deprecated warning gone.

#10 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 20:17:36

I already told you that the error was the same input/output message that I get from ffmpeg by itself. I also said options like AUDIO_DEVICE did not work. Here's an example of what I had originally tried:

hunter@ryzen-rig:~$ encode_stream OUTPUT_NAME=test VIDEO_DEVICE=/dev/video0 AUDIO_DEVICE=hw:2,0 REGION=NTSC
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
[video4linux2,v4l2 @ 0x56175e071200] Cannot open video device AUDIO_DEVICE=hw:2,0: No such file or directory
AUDIO_DEVICE=hw:2,0: No such file or directory

When I try to do it with just the OUTPUT_NAME and REGION since all the defaults are correct except for the region:

hunter@ryzen-rig:~$ encode_stream OUTPUT_NAME=test REGION=NTSC
-vsync is deprecated. Use -fps_mode
Passing a number to -vsync is deprecated, use a string argument as described in the manual.
/dev/video0: Input/output error

An input/output error seems to be the biggest one I get across the board. What would cause it?

#12 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 14:05:30

hunter@ryzen-rig:~$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Sep 12 08:34 /dev/video0
crw-rw----+ 1 root video 81, 1 Sep 12 08:34 /dev/video1

#13 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 13:54:33

Thanks, I just tried that qv4l2 tool and followed the article but I get a black screen even with the VCR turned on. Screenshot-2023-09-12-08-49-16.png[
After the first try with YUYV as the capture format, it switches to Motion-JPEG and won't let me pick anything but that. MJPG doesn't show anything either though.

If anything, my device doesn't appear as usbtv but instead "Camera 1".

#14 Re: Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 13:25:49

ralph.ronnquist wrote:

I have that same USB dongle and successfully captured a stack of videos, but a year or so ago. So it was a different computer; probably beowulf but possibly ascii even.

And there was no I/O error?

From memory I used uvccapture or possibly ffmpeg directly. I have a vague memory that only one of its two /dev/videoN worked. Package v4l-utils is also useful, eg list devices with v4l2 --list-devices.

I got v4l2-utils to list the devices as well but I haven't gotten the uvccapture package. I tried ffmpeg directly but got the same input/output error.

This leads to a 404.

alexkemp wrote:

My copy on desktop machine of encode_stream script is dated Dec 21  2021, and I have not used it recently, but I know of zero reason why it should not work today.

Thanks. I tried your script but some of the options like AUDIO_DEVICE and REGION did not work, and I got an input/output error when given just the device and output file.

EDIT: Also tried uvccapture, but it doesn't work either. I looked at the man page and it only creates jpeg's.
EDIT #2: For those curious, trying to play /dev/video1 gives "Inappropriate ioctl for device". I cannot seem to select /dev/video1 in a program like OBS.

#15 Desktop and Multimedia » Input/output error with EasyCap capture card on VLC and OBS » 2023-09-12 02:50:47

hunter0one
Replies: 27

I have a little AV to USB capture card called a MacroSilicon MS210x according to lsusb. When plugged in, it generates a /dev/video0, /dev/video1, and /dev/media0 device and within OBS Studio it can be captured as "Camera 1". This leaves a black screen, even when a VCR or something similar is plugged in. When I try to access it in VLC by navigating to Media ->  Open Capture Device and opening /dev/video0, VLC buffers for a moment and then gives this error:

v4l2 error: cannot set format: Input/output error
v4l2 error: not a radio tuner device
v4l2 error: cannot set format: Input/output error

Interestingly, OBS shows the same errors when I checked its log.

People on Ubuntu had no problems and also an Artix user reported that they had the AV cord in Line In but my cords are plugged into the line out ports which are just the composite video and mono audio (the yellow and white), yet I get this input/output error. I've tried playing a tape in the VCR to see if it would show anything after a video starts playing but unfortunately not.

The dmesg output:

[ 2943.095846] usb 1-8: Product: AV TO USB2.0
[ 2943.095849] usb 1-8: Manufacturer: MACROSILICON
[ 2943.095851] usb 1-8: SerialNumber: 20150130
[ 2943.102906] usb 1-8: Found UVC 1.00 device AV TO USB2.0 (534d:0021)
[ 2943.107836] usb 1-8: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 2948.392268] usb 1-8: 2:2: failed to get current value for ch 0 (-110)
[ 2948.411902] usb 1-8: Warning! Unlikely big volume range (=8191), cval->res is probably wrong.
[ 2948.\411905] usb 1-8: [2] FU [Mic Capture Volume] ch = 1, val = 0/8191/1

I'm using a custom kernel which is 6.5.2. It uses the same config as the one from Devuan but I just enabled the rtl8xxxu untested drivers option since my wifi adapter needs this in order to work.

Any help would be appreciated.

#16 Re: Desktop and Multimedia » Sway with seatd » 2023-09-11 00:38:07

libpam-ck-connector is for Consolekit2 to communicate with PAM. Consolekit2 is a more Unix respecting alternative to elogind and seatd is used alongside it to cover Wayland sessions.

#17 Re: Devuan » Question for devs... Debian 12 can be installed without systemd » 2023-09-06 00:14:27

Until Debian has an ISO that come with multiple init systems and a menu to select the one you want I'll stick with Devuan. Also good luck removing systemd if you decide to change init systems after.

#18 Re: Devuan » Devuan without elogind » 2023-09-05 23:55:54

Hi again Iggy64. I know more about PCLOS than AntiX, though I've tried both because they make this list. They are both great fully systemd-free options, though I will say PCLOS is definitely not server oriented (also has a problem with dependency hell) and both add quite a lot of "bling" when I enjoy having most things shipped plain and vanilla. This is the main reason I've stuck with Devuan despite elogind being needed still if you want some convenience (things like automount or a trash can) like me.

It is asking a lot to work around elogind, as it has tentacles in so many key areas.  I was therefore surprised and excited to see the release notes for Daedalus mention the possiblity of avoiding elogind.

Agreed. PCLOS uses consolekit2 in place of elogind so that KDE, MATE, and Xfce work as intended but it sometimes requires heavy patches. For operating systems like FreeBSD, this is their only option when seat management is needed, but FBSD has far more port maintainers willing to make it happen. I can't blame the Devuan maintainers for not going any further than they have already, it takes baby steps with the kind of manpower they have. I unfortunately have no clue how to do Debian packaging, despite using Debian-based distros almost my entire time on Linux, or I would investigate making drop-in packages for elogind-dependent ones. :-)

Alternatively things like turnstile might make patching unnecessary in the future.

#19 Re: Devuan » Devuan without elogind » 2023-09-04 14:51:01

Trying to install dummy-logind conflicts with libpam-ck-connector, even on Xfce which should be the easiest conversion. It also removes a lot of things that it could potentially keep.

#20 Re: Installation » Daedalus ISOs don't boot » 2023-09-03 17:07:36

I have the same issue with the offline *desktop* iso, since I have to set up without any way to connect to the internet at first.

#21 Re: Devuan » Devuan without elogind » 2023-09-02 14:29:17

I also tried to use apt-get -s install task-mate-desktop libpam-ck-connector on my web server to see how it goes and had similar results:

The following packages have unmet dependencies:
 dummy-logind : Conflicts: libpam-ck-connector but 1.2.4-2 is to be installed
E: Unable to correct problems, you have held broken packages.

It seems in a pretty clean tty environment dummy-logind is what prevents most desktop environments from being installed. I have elogind blacklisted, but if I nullify the blacklist then it says default-logind or logind instead. Xfce can be installed with libpam-ck-connector, but then I lose udisks and thus gvfs.

#22 Re: Devuan » Devuan without elogind » 2023-09-01 16:43:47

Iggy64 wrote:

I have gravitated to using Devuan, as well as antiX.  The latter has gone so far as to essentially eliminate the use of elogind, a major component of systemd.

Agreed. We need better support for consolekit2 which is in fact still maintained and works well so long as other packages are built with it in mind. We don't have a lot of packages that sit well with it as of now (thinking udisks2/gvfs in particular)..

I also have the same questions so sorry for the little to no help.

- Are there any adverse side effects that might result from this process?
You will not be able to use all of the conventional features in most file managers today because udisks2 isn't without elogind and this leads to gvfs not being installable. Additionally, Network Manager can't be used but most Devuan users are probably just using ifupdown or connman.

#23 Re: Other Issues » Ceres AMD64 unable to install wine32 » 2023-07-27 15:17:48

boughtonp wrote:

You're running Ceres - the unstable development version.

One should not be using unstable developer tools if they are not willing+able to debug simple package dependency issues.

I migrated from Bookworm which is newer than Chimaera so I would only have the option of Daedulus or Ceres. Testing doesn't get security updates in a timely manner and it doesn't seem Daedulus will become stable soon (despite Bookworm already being here) so I went with Ceres.

boughtonp wrote:

Since the two problem packages do currently exist in ceres repository, it's possible the error message is correct - that this was a local issue caused by held packages - but it's also possible it was a temporary issue caused by the fact that Ceres is an unstable development version.

I already unheld the one held package and tried it again, it runs into the same issue.

#24 Re: Other Issues » Ceres AMD64 unable to install wine32 » 2023-07-26 22:46:15

Most applications people would want/need in WINE are 32-bit.

#25 Other Issues » Ceres AMD64 unable to install wine32 » 2023-07-26 21:04:43

hunter0one
Replies: 7

The 64-bit version of wine installs and works fine, but when attempting to install wine32, wine:i386, or wine32:i386 I get the following:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 e2fsprogs : PreDepends: libblkid1 (>= 2.36) but it is not installable
             Recommends: e2fsprogs-l10n but it is not going to be installed
 init : PreDepends: sysvinit-core but it is not going to be installed or
                    runit-init but it is not going to be installed
 libglib2.0-0 : Depends: libmount1 (>= 2.35.2-7~) but it is not installable
                Recommends: shared-mime-info
 util-linux : PreDepends: libblkid1 (>= 2.37.2) but it is not installable
              PreDepends: libmount1 (>= 2.38) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I have the i386 architecture enabled in dpkg. I found a similar thread but the output was completely different. Even using the WineHQ repository I get the same error trying to install those packages.

Board footer

Forum Software