Цитата: dvpartizan от 01.10.2016 16:37:05Покажите неофиту, пожалуйста, тру-альтлинукс путь, как скомпилировать/собрать этот модуль ядра, попробую сам это сделать. Это сложный путь для начинающего:https://www.altlinux.org/Сборка_модулей_ядра
Покажите неофиту, пожалуйста, тру-альтлинукс путь, как скомпилировать/собрать этот модуль ядра, попробую сам это сделать.
[root@comp-atom-cpu-2a5e52 linux]# make -j2make -C /lib/modules/4.4.22-std-def-alt0.M80P.1/build SUBDIRS=/usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux modulesmake[1]: Вход в каталог `/usr/src/linux-4.4.22-std-def-alt0.M80P.1' CC [M] /usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux/crystalhd_lnx.o CC [M] /usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux/crystalhd_misc.o/usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux/crystalhd_lnx.c: In function ‘chd_pci_reserve_mem’:/usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux/crystalhd_lnx.c:541:2: error: implicit declaration of function ‘check_mem_region’ [-Werror=implicit-function-declaration]cc1: all warnings being treated as errorsmake[2]: *** [/usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux/crystalhd_lnx.o] Ошибка 1make[2]: *** Ожидание завершения заданий...make[1]: *** [_module_/usr/src/linux-4.4.22-std-def-alt0.M80P.1/kernel/sources/linux/crystalhd/driver/linux] Ошибка 2make[1]: Выход из каталога `/usr/src/linux-4.4.22-std-def-alt0.M80P.1'make: *** [all] Ошибка 2
@NTICompass I'm in the same boat as you but from a bit of research I think it's OK to comment out the if block that references that. It was removed from the kernel because it was racy - between checking the memory and doing the ioremap something else could have grabbed it.For full correctness it should probably be changed to request_mem_region before the iomap - I'll try and do a PR for this tomorrow, but it should work without it.
>mplayer -vc ffh264crystalhd Avatar_Creating_the_World_of_Pandora_1080p.mkv
Однако, на этом успокаиваться рано.Фильмы запускаются с аппаратным ускорением только из командной строки:Код: [Выделить]>mplayer -vc ffh264crystalhd Avatar_Creating_the_World_of_Pandora_1080p.mkvчто печально.
Не, не хочет. ;))на скриншоте показано, что написал, может, не так?