BUGZ

Материал из Слакваря

Перейти к: навигация, поиск

BlackMagic DeckLink HD Extreme control panel look und feel (maybe, some fonts missing or incorrectly used API) Файл:BM.png

bash-3.1# lsmod
Module                  Size  Used by
nvidia               9579908  26 
snd_hda_codec_realtek   188888  1 
ohci1394               29412  0 
i2c_piix4               8804  0 
snd_hda_intel          23880  3 
snd_hda_codec          53332  2 snd_hda_codec_realtek,snd_hda_intel
blackmagic            382404  1 
snd_hwdep               6456  1 snd_hda_codec
bash-3.1# lspci
05:00.0 Multimedia video controller: Unknown device bdbd:a11c
bash-3.1# ls -la /dev/blackmagic
total 0
drwxr-xr-x  2 root root       80 2009-10-10 18:33 .
drwxr-xr-x 18 root root    14620 2009-10-10 14:34 ..
crw-rw-rw-  1 root video  10, 59 2009-10-10 18:33 card0
crw-rw-rw-  1 root video 251,  0 2009-10-10 18:33 serial0


bash-3.1# ./DeviceList
No Blackmagic Design devices were found.
bash-3.1# ./BlackmagicFirmwareUpdater status
blackmagic0 [DeckLink HD Extreme 3]	12	12	PLEASE_UPDATE
bash-3.1# ./BlackmagicFirmwareUpdater update
Updating blackmagic-1: [-] [                                       ] 0.00% complete
Updating blackmagic-1: [-] [==================================     ] 86.69% complete
Firmware update completed successfully for device: 'blackmagic-1'. Please reboot your system now to activate new firmware

OK, reboot the iron.

bash-3.1# startx &
(EE) Screen(s) found
Fatal server error:
no screens found

WTF?!!!!! 2 minutes ago everything was on the fly!!!! Ok, looking dmesg/syslog:

Oct 10 15:14:36 zad122 kernel: vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
Oct 10 15:14:36 zad122 kernel: NVRM: failed to map registers!!
Oct 10 15:14:36 zad122 kernel: NVRM: RmInitAdapter failed! (0x10:0x32:1370)
Oct 10 15:14:36 zad122 kernel: NVRM: rm_init_adapter(0) failed
Oct 10 15:14:45 zad122 kernel: vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
Oct 10 15:14:45 zad122 kernel: NVRM: failed to map registers!!
Oct 10 15:14:45 zad122 kernel: NVRM: RmInitAdapter failed! (0x10:0x32:1370)
Oct 10 15:14:45 zad122 kernel: NVRM: rm_init_adapter(0) failed

OK! Adding some vmalloc size to lilo.conf, as it was prescribed by README:

    Multiple cards may not work very well on 32 bit platforms, 
    amount of kernel space memory (from the vmalloc).
append=" vt.default_utf8=0 vmalloc=392M"

We have 32bits kernel, yeh. And do not like 64 bits for now.

OK. Now, it works.

bash-3.1# bash-3.1# ./DeviceList
=============== DeckLink HD Extreme 3 ===============
Attribute list:
 Serial port present ?                    Yes
 Serial port name:                        /dev/blackmagic/serial0
 Number of audio channels:                16
 Input mode detection supported ?         No
 Internal keying supported ?              Yes
 External keying supported ?              Yes
 HD-mode keying supported ?               Yes
Supported video output display modes:
 NTSC                 	 720 x 486 	 29.97 FPS
 NTSC 23.98           	 720 x 486 	 23.976 FPS
 PAL                  	 720 x 576 	 25 FPS
 HD 1080p 23.98       	 1920 x 1080 	 23.976 FPS
 HD 1080p 24          	 1920 x 1080 	 24 FPS
 HD 1080i 50          	 1920 x 1080 	 25 FPS
 HD 1080i 59.94       	 1920 x 1080 	 29.97 FPS
 HD 1080i 60          	 1920 x 1080 	 30 FPS
 HD 1080p 50          	 1920 x 1080 	 50 FPS
 HD 1080p 59.94       	 1920 x 1080 	 59.9401 FPS
 HD 1080p 60          	 1920 x 1080 	 60 FPS
 HD 720p 50           	 1280 x 720 	 50 FPS
 HD 720p 59.94        	 1280 x 720 	 59.9401 FPS
 HD 720p 60           	 1280 x 720 	 60 FPS
 2K 23.98             	 2048 x 1556 	 23.976 FPS
 2K 24                	 2048 x 1556 	 24 FPS
 2K 25                	 2048 x 1556 	 25 FPS
Supported video output connections:
  SDI, HDMI, Component, Composite, S-Video
Supported video input connections:
  SDI, HDMI, Component, Composite, S-Video

OK. Trying SignalGenerator:

Файл:BMsg.png

Conclusion. BM design needs to put control panels to open source state. Why not? Or compile progs in static mode.

Ah!

And disable use of Qt, maybe (use Gtk for such small progs instead).

Trying to build samples of SDK:

make[1]: Entering directory `/home/local/src/SDI/Blackmagic DeckLink SDK 7.3.2/Linux/Samples/SignalGenerator'
make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'.  Stop.
make[1]: Leaving directory `/home/local/src/SDI/Blackmagic DeckLink SDK 7.3.2/Linux/Samples/SignalGenerator'
make: *** [all] Error 2

OK! Rebuild The signal generator by hands, as prescribed in README:

If you have Qt installed in a non-standard location type 'qmake -makefile' to regenerate the Makefile to match your ennviroment

Everything gonna be allright!!!!


Файл:BMsg1.png

Источник — «http://www.slackware.ru/wiki/BUGZ»
Личные инструменты