The officially official Devuan Forum!

You are not logged in.

#26 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.

#27 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.

#28 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.

#29 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.

#30 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.

#31 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.

#32 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.

#33 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.

#34 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.

#35 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.

#36 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.

#37 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.

#38 Re: Other Issues » Package update cuts off peripheral input » 2023-07-25 14:47:50

okkvltisch wrote:

So did you just pin the version of it to 237? How long would you guess it takes for a fix to be made?

I just held it, though pinning works too. This one is a biggie and it's because this is a blunt attempt to force the systemd-free distros to use the systemd udev (which is what Debian does if you choose another init system later). It will take a while to find an alternative to eudev unless someone manages to update it - I think it's about 10 versions behind. At every step of the way we are at the mercy of the systemd overlords - eudev, elogind, libgudev. Pick your poison.

jacksprat wrote:

the response I got included
"that's conspiracy theory BS. eudev is already """systemd"  becuase it is a forked portion of systemd-udev"

That's Void for you. The devs are open to the idea of using systemd instead of runit. If you don't think their slow push towards more and more systemd components is good they just call you a conspiracy theorist.

I never heard of mdevd until now, that's pretty cool. Maybe there is hope.

#41 Freedom Hacks » Eudev broken on Ceres (maybe Daedulus) » 2023-07-24 18:56:07

hunter0one
Replies: 5

Those on Unstable may have had a rude awakening upgrading yesterday/the day before to all inputs being frozen, with no way to access the TTY. I faced this and had to use magic sysrq to restart, boot with nomodeset, and restore my system to an earlier point in time.

https://sysdfree.wordpress.com/2023/07/08/372/

It seems to specifically be a problem with libgudev version 238+ looking for a newer version of systemd-udev while eudev is a few major versions behind, why they chose to do this the world may never know. Be sure to

apt-mark hold libgudev-1.0-0 

and maybe eudev as well if you want to be 100% safe until a better solution comes along.

#42 Re: Desktop and Multimedia » Guake drop down monitor error with Python3.11 » 2023-06-30 16:35:45

Install gnome-themes-extra. It's looking for the Adwaita theme.

#43 Re: Off-topic » Lennart Poettering (Systemd) Lands at Microsoft After Leaving Red Hat » 2023-05-11 00:20:45

zapper wrote:

Which one is that?

Is it usable only with free software?

rtl8188fu. I wish but it needs firmware to function. Its supported by Linux 6.2 if CONFIG_RTL8XXXU_UNTESTED=y. Rather than using dkms I have built a 6.2+ kernel with support for it and placed the firmware in /lib/firmware/rtlwifi.

#44 Re: Off-topic » Lennart Poettering (Systemd) Lands at Microsoft After Leaving Red Hat » 2023-04-21 19:55:27

If it wasn't for this Wifi dongle that only recently got supported in the Linux kernel (its one of those nasty Realtek ones) I would still be using FreeBSD now. (Not throwing any shade on Devuan smile )

#46 Re: Other Issues » Featured in Discover (KDE Plasma) not working » 2023-03-21 19:54:44

In Ceres (Unstable) which is on Plasma 5.27.2 now, Discover will no longer load categories with the following output:

fetch ratings! false
adding empty sources model QStandardItemModel(0x564b37dfbfc0)
no component found for "org.devuan.devuan"

Of course, this time I have only the apt backend. If I had the flatpak backend, apps from that should load.

#47 Re: Desktop and Multimedia » Who has the better Wayland support? Mate or KDE Plasma? » 2023-02-22 18:35:26

Yeah, Klipper (the KDE clipboard) can be pretty annoying. I'm not a fan of Plasma but TDE, the equivalent to KDE that MATE is to GNOME, still uses Qt3 and so it looks a bit jarring compared to the applications you use. I don't use TDE these days. MATE is rather good but I fluctuate between it and Xfce, both of which are awaiting more Wayland support. Maybe one day.

#48 Re: Desktop and Multimedia » [SOLVED] yt-dlp updated on GitHub but not Devuan » 2023-02-22 15:25:56

I just install it via Pip to keep up with the latest version. Pip should be installed if you have Python.

#49 Re: Desktop and Multimedia » Who has the better Wayland support? Mate or KDE Plasma? » 2023-02-21 15:15:11

jue-gen wrote:

Do I see it right that you can only use KDE Plasma in Devuan if you want Wayland for security reasons?

I believe you can use GNOME on Devuan (which uses Wayland by default) but I don't think you want that. LOL.

If you want to use KDE with Wayland, I would recommend waiting for Daedulus or using Ceres because 5.26+ has far better support than 5.20. Its still buggy, but far less than the version in Chimaera.

#50 Re: Desktop and Multimedia » Who has the better Wayland support? Mate or KDE Plasma? » 2023-02-21 00:39:38

MATE is not usable as a Wayland session. Initial support for Wayland was added in 1.26.0 (the version in Chimaera is 1.24) but only for a handful of MATE applications. See here: https://mate-desktop.org/blog/2021-08-0 … -released/:

We added Wayland support for Atril, System Monitor, Pluma, Terminal and other components of the Desktop.

Board footer

Forum Software