Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] Linuxserver.io - Unraid DVB

Featured Replies

Either that, or we include a patch as part of your build process to just compile frame_vector as a loadable kernel module and include it in the bzmodules

  • Replies 1.7k
  • Views 355.3k
  • Created
  • Last Reply
Just now, ProGEEK said:

Either that, or we include a patch as part of your build process to just compile frame_vector as a loadable kernel module and include it in the bzmodules

 

I like that option, but running a compile now, I'll upload it when it's finished and we can check it works.

 

And to be honest patching is out of my expertise, but you want to work on it, I'm all ears.  My only concern with that approach is could there be anything else that's "missing" that others might need for their cards.  Wondering if it's safer to just package up bzimage for each build?

3 minutes ago, CHBMB said:

 

I like that option, but running a compile now, I'll upload it when it's finished and we can check it works.

 

And to be honest patching is out of my expertise, but you want to work on it, I'm all ears.  My only concern with that approach is could there be anything else that's "missing" that others might need for their cards.  Wondering if it's safer to just package up bzimage for each build?

I guess thats a call we'd have to make based on feedback from the public, if there is minimal, say 2-3 that are unrelated to frame_vector, then I think patch is the better road, if more, then yeah, complete kernel replacement - Have you had any other reports of cards suddenly not working as a result of the new unraid ?

Im already working on and testing a patch

EDIT: attached is my working patch to generate a frame_vector.ko in mm: mm/frame_vector.ko
As long as the patch exists in the root of the kernel tree before line 38 of you kernel-compile-module.sh script executes, it'll be patched

compile_frame_vector_as_module.patch

Edited by ProGEEK
Added Patch

To be honest, it's always difficult to get enough information to get to the bottom of cards that aren't working, most people can't debug an issue like you can! :D

Attached my patch to my previous post (You're too quick at replying! :P )

@Zan I've attached my frame_vector.ko file.

Can you please download this to your machine and run

insmod frame_vector.ko
modprobe videobuf2_memops
modprobe cx23885

and see if your tuner springs to life ?

I'd do this myself, but my server isnt in a state where it can run the RC of unRAID right now.

frame_vector.ko

@ProGEEK I've just gone back through the thread to remind myself of who was having issues and with what card, every single one has been a Hauppage user.  You my friend have just become the hero of the thread! 

Just now, CHBMB said:

@ProGEEK I've just gone back through the thread to remind myself of who was having issues and with what card, every single one has been a Hauppage user.  You my friend have just become the hero of the thread! 

Well i'm not one to toot my own horn.. ( Who are we kidding, Hell yes I am! )

Just now, ProGEEK said:

Well i'm not one to toot my own horn.. ( Who are we kidding, Hell yes I am! )

 

Good, because a rule I live my life by is never toot another man's horn..... :/

If you wanna provide a download to the bzimage when you're done (Should be all I need) i'll give it a spin and try to load the module

(You can try loading modules even if you dont have the hardware, the driver will load, it just wont do anything)

I've been doing all my devel in KVM which doesnt have the hardware xD

Same here. :D

 

Had an issue with earlier RCs that screwed my networking speed so I went back to bare metal, but working again on RC9f

Edited by CHBMB

@ProGEEK @Zan

 

Uploaded a new LibreELEC build with bzimage, if someone can confirm it works, we should be good.

 

root@matrix:~# dmesg | tail -n1
[   57.174478] cx23885: cx23885 driver version 0.0.4 loaded

@ProGEEK I'm up for the idea of the patch, one question, will this remain constant or will it require changing as Unraid changes kernel version?

6 minutes ago, CHBMB said:

@ProGEEK @Zan

 

Uploaded a new LibreELEC build with bzimage, if someone can confirm it works, we should be good.

 


root@matrix:~# dmesg | tail -n1
[   57.174478] cx23885: cx23885 driver version 0.0.4 loaded

@ProGEEK I'm up for the idea of the patch, one question, will this remain constant or will it require changing as Unraid changes kernel version?

It will work until either you edit the .config or the kernel changes for file mm/Kconfig

I could split the patch so each file is patched separately. or drop the .config from the patch and you just edit your .config to have CONFIG_FRAME_VECTOR=m
Then the patch would work until mm/Kconfig is updated, as the patch changes frame_vector to be able to be compiled as a module

 

Edited by ProGEEK

Hmmm, kernel changes with every Unraid release, and  i generate a new .config each time. 

 

Might be easier to replace CONFIG_FRAME_VECTOR=y with CONFIG_FRAME_VECTOR=m to be honest.

 

Should be relatively easy to achieve that in bash.

44 minutes ago, ProGEEK said:

@Zan I've attached my frame_vector.ko file.

Can you please download this to your machine and run


insmod frame_vector.ko
modprobe videobuf2_memops
modprobe cx23885

and see if your tuner springs to life ?

I'd do this myself, but my server isnt in a state where it can run the RC of unRAID right now.

frame_vector.ko

With the libreelec build, I get this:

root@Tower:~# insmod /boot/frame_vector.ko 
insmod: ERROR: could not insert module /boot/frame_vector.ko: Invalid module format
root@Tower:~# insmod /boot/frame_vector.ko 
insmod: ERROR: could not insert module /boot/frame_vector.ko: Invalid module format

I'll try your libreelec build now, @CHBMB

New build working for me

31 minutes ago, ProGEEK said:

New build working for me

 

And me. Thanks @CHBMB!

55 minutes ago, CHBMB said:

Hmmm, kernel changes with every Unraid release, and  i generate a new .config each time. 

 

Might be easier to replace CONFIG_FRAME_VECTOR=y with CONFIG_FRAME_VECTOR=m to be honest.

 

Should be relatively easy to achieve that in bash.

Might be just easier if you rebuild the bzimage every time.
So long as the code in /usr/src/whatever is the source that the unraid dev team use to build their kernel, it should be fine to use and we wont have to bother with the patch.

Edited by ProGEEK

4 hours ago, ProGEEK said:

Might be just easier if you rebuild the bzimage every time.
So long as the code in /usr/src/whatever is the source that the unraid dev team use to build their kernel, it should be fine to use and we wont have to bother with the patch.

 

Isn't it better to ask @limetechto include it as a module? Then you don't have to rebuild the B image. 

They probably won't, since it's not required for anything relating to unRAID. As far as I know, it's only used by media modules

1 hour ago, ProGEEK said:

They probably won't, since it's not required for anything relating to unRAID. As far as I know, it's only used by media modules

 

As long as it's in the kernel source and doesn't add much in size they usually add stuff. It for sure doesn't hurt to ask ;-)

 

 

 

 

Uploaded a new LibreELEC build with bzimage, if someone can confirm it works, we should be good.

 

Tried that new version with my 950q and it didn't work for me. On my first reboot, I had the tuner plugged into the same bus that my flash drive is plugged into and unRaid was almost unusable. It took forever to get the GUI up. Rebooted with the tuner in a different USB port but the tuner still wasn't recognized. I ran out of time last night and had to get a working system back up, so I didn't investigate further.

 

 

 

 

2 hours ago, DMcK said:

 

 

 

 

 

Tried that new version with my 950q and it didn't work for me. On my first reboot, I had the tuner plugged into the same bus that my flash drive is plugged into and unRaid was almost unusable. It took forever to get the GUI up. Rebooted with the tuner in a different USB port but the tuner still wasn't recognized. I ran out of time last night and had to get a working system back up, so I didn't investigate further.

 

 

 

 

 

Yeah, that is going to need some looking at, reading about the 950q it has all it's drivers included in the kernel, so shouldn't present a problem, and not sure why you're getting issues.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.