Re: Open Broadcast Software

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ make.log (text/x-log)
+ (text/plain)
Delete this message
Reply to this message
Author: Matthew Gibson
Date:  
To: Main PLUG discussion list
Subject: Re: Open Broadcast Software
Sigh.... linux-headers-generic is already installed. still get this error:
https://pastebin.com/fwb1mzLq
I've attached the make.log specified.

On Sun, Sep 9, 2018 at 11:28 AM Brian Cluff <> wrote:

> I've installed the blackmagic drivers on my machine (kubuntu 18.04) that
> is using the exact same kernel successfully, and without problems....
>
> Perhaps the driver is failing the DKMS driver compilation because you are
> missing the kernel headers.
>
> Try doing:
>
> sudo apt install linux-headers-generic
>
> That should allow the drivers to compile successfully.
>
> Hope that helps,
> Brian
>
> On 09/08/2018 01:03 PM, Matthew Gibson wrote:
>
> so, As I have been working on this problem. There are no snaps for the
> specified software: desktopvideo, desktopvideo-gui, mediaexpress. While
> attempting to install them via the deb, I get dependency problems revolving
> around dkms. While attempting an 'apt --fix-broken install' I get this
> output: https://pastebin.com/AtwWb8UR (note: paste will be up only 1 week
> from this email send date)
>
> So at this time All I want is to be able to use the capture device with
> OBS. I imagine I am attempting to go the long way to get to where I want to
> be.
> lspci -vv outputs: 02:00.0 Multimedia video controller: Blackmagic Design
> Intensity Pro
>     Subsystem: Blackmagic Design Intensity Pro
>     Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
> Stepping- SERR- FastB2B- DisINTx-
>     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
>     Interrupt: pin A routed to IRQ 255
>     Region 0: Memory at f7c00000 (32-bit, non-prefetchable) [disabled]
> [size=1M]
>     Region 1: Memory at f7b00000 (64-bit, non-prefetchable) [disabled]
> [size=1M]
>     Capabilities: <access denied>
> I'm going to start poking around for how to build a kernel module to
> enable the blackmagic design card

>
>
> On Fri, Sep 7, 2018 at 10:43 AM Matthew Gibson <
> > wrote:
>
>> None that I observed or detected. I will be working on it again tomorrow
>> morning.
>>
>> On Fri, Sep 7, 2018, 9:55 AM Brian Cluff <> wrote:
>>
>>> On 09/05/2018 01:34 PM, Matthew Gibson wrote:
>>> > The software debs I found at the blackmagic website will start to be
>>> > installed through ubuntus software management application, but no joy
>>> > as far as a runnable package.
>>>
>>> Did you get errors while installing? If so, what were they?
>>>
>>> Brian
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

DKMS make.log for blackmagic-io-10.3.7a4 for kernel 4.15.0-34-generic (x86_64)
Thu Sep 13 20:34:18 MST 2018
make -C /lib/modules/4.15.0-34-generic/build M=/var/lib/dkms/blackmagic-io/10.3.7a4/build
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-34-generic'
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_dev.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_driver.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_serial.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_export.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_locks.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.o
  CC [M]  /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_pci.o
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_locks.c:190:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bm_rmutex_lock’
 void __sched bm_rmutex_lock(struct bm_rmutex* mutex)
              ^~~~~~~~~~~~~~
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_locks.o' failed
make[2]: *** [/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_locks.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c: In function ‘bm_get_user_pages’:
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:105:24: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
   ret = get_user_pages(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write, 0, umem->pages, NULL);
                        ^~~~
In file included from /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:27:0:
./include/linux/mm.h:1398:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^~~~~~~~~~~~~~
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:105:30: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
   ret = get_user_pages(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write, 0, umem->pages, NULL);
                              ^~~~
In file included from /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:27:0:
./include/linux/mm.h:1398:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^~~~~~~~~~~~~~
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:105:76: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
   ret = get_user_pages(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write, 0, umem->pages, NULL);
                                                                            ^~~~
In file included from /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:27:0:
./include/linux/mm.h:1398:6: note: expected ‘struct page **’ but argument is of type ‘size_t {aka long unsigned int}’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^~~~~~~~~~~~~~
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:105:90: error: incompatible type for argument 5 of ‘get_user_pages’
   ret = get_user_pages(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write, 0, umem->pages, NULL);
                                                                                          ^~~~~
In file included from /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:27:0:
./include/linux/mm.h:1398:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘bool {aka _Bool}’
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^~~~~~~~~~~~~~
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:105:9: error: too many arguments to function ‘get_user_pages’
   ret = get_user_pages(task, task->mm, (unsigned long)address & PAGE_MASK, umem->length, write, 0, umem->pages, NULL);
         ^~~~~~~~~~~~~~
In file included from /var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.c:27:0:
./include/linux/mm.h:1398:6: note: declared here
 long get_user_pages(unsigned long start, unsigned long nr_pages,
      ^~~~~~~~~~~~~~
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.o' failed
make[2]: *** [/var/lib/dkms/blackmagic-io/10.3.7a4/build/bm_mm.o] Error 1
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.c: In function ‘bmio_open’:
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.c:95:40: error: ‘struct file’ has no member named ‘f_dentry’; did you mean ‘f_owner’?
  drv = bmio_driver_find_by_inode(filp->f_dentry->d_inode);
                                        ^~~~~~~~
                                        f_owner
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.c: In function ‘bmio_read’:
/var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.c:174:9: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
    if (!signal_pending(current))
         ^~~~~~~~~~~~~~
         timer_pending
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.o' failed
make[2]: *** [/var/lib/dkms/blackmagic-io/10.3.7a4/build/bmio_client.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/blackmagic-io/10.3.7a4/build' failed
make[1]: *** [_module_/var/lib/dkms/blackmagic-io/10.3.7a4/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-34-generic'
Makefile:47: recipe for target 'all' failed
make: *** [all] Error 2

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss