Comments (8)
The latest commit on which a 32 bit kernel module for kernel 6.1 is buildable is b92e9ce
from v4l2loopback.
So, commit 9f51281 broke 32 bit
from v4l2loopback.
Does this:
diff --git a/drivers/media/v4l2-core/v4l2loopback.c b/drivers/media/v4l2-core/v4l2loopback.c
index 4659bdf7ebea..012bbcb11173 100644
--- a/drivers/media/v4l2-core/v4l2loopback.c
+++ b/drivers/media/v4l2-core/v4l2loopback.c
@@ -1541,7 +1541,7 @@ static int vidioc_reqbufs(struct file *file, void *fh,
{
struct v4l2_loopback_device *dev;
struct v4l2_loopback_opener *opener;
- int i;
+ int i, t;
MARK();
dev = v4l2loopback_getdevice(file);
@@ -1594,7 +1594,8 @@ static int vidioc_reqbufs(struct file *file, void *fh,
/* after we update dev->used_buffers, buffers in outbufs_list will
* correspond to dev->write_position + [0;b->count-1] range */
- i = dev->write_position % b->count;
+ t = dev->write_position;
+ i = do_div(t, b->count);
list_for_each_entry(pos, &dev->outbufs_list,
list_head) {
dev->bufpos2index[i % b->count] =
fix the issue?
from v4l2loopback.
No, it did not fix i686 builds
https://abf.io/build_lists/4681832
https://file-store.rosalinux.ru/api/v1/file_stores/7171b89d5a59138e3053993e5dc41928b58c60ce.log?show=true
DEBUG: ERROR: modpost: "__moddi3" [/builddir/build/BUILD/v4l2loopback-9ba7e294ea6f45410a15f192381d4918e8df4f02/v4l2loopback.ko] undefined!
from v4l2loopback.
Oh, sorry, I've just realised you are from Muscovy. Given you kill people in Ukraine, I'll not help you further.
Good luck.
from v4l2loopback.
Буду рад Вашему возвращению в здравоумие, если это когда-нибудь случится 🙂
from v4l2loopback.
@pfactum please stop this.
you are free to help or not help whomever you like, but please keep your reasons for yourself when you are posting on this issue tracker.
from v4l2loopback.
Thanks for the fix.
from v4l2loopback.
Related Issues (20)
- DKMS Won't Sign When Building HOT 3
- Dummy device made via v4l2loopback is busy HOT 6
- wont compile on 32bit armv7l HOT 3
- Caught SIGSEGV
- DKMS fails to build against 6.8-rc1 kernel due to use of strlcpy
- can't increase Read/Write buffers from 2 to 4 HOT 1
- resolution 2048x1 does not work HOT 5
- Fails to build against Kernel 6.8-rc6 HOT 3
- dkms build fails on kernel version >6.8.0 HOT 7
- Possible Missing Dependency? HOT 5
- getNextFrame no data errno:0 Success HOT 1
- getNextFrame no data errno:0 Success on v4l2rtspserver log with verbose HOT 2
- how create duplicate device0 and /dev/video1 who desn't have "Video Capture"? HOT 5
- modprobe: ERROR: could not insert 'v4l2loopback': Exec format error HOT 3
- Linux 6.8.4 seems to have broken v4l2loopback in several ways. HOT 6
- Linux 6.8.4 seems to have broken v4l2loopback in several ways.
- [Bug]: Can't create second device HOT 8
- make[1]: *** /lib/modules/6.6.9-amd64/build: No such file or directory. Stop. make: *** [Makefile:53: v4l2loopback.ko] Error 2 HOT 2
- It is not working on Jetson nano With jetpack 4.6 4.9.253-tegra HOT 1
- chrome cannot detect the dummy video device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v4l2loopback.