Показаны сообщения с ярлыком drivers. Показать все сообщения
Показаны сообщения с ярлыком drivers. Показать все сообщения

среда, 29 января 2025 г.

PocketHandyBox Portable Linux (Debian with NVIDIA drivers OOTB)

PocketHandyBox portable Linux distribution (based on Debian and Devuan) with NVIDIA drivers OOTB. Designed for hardware testing, servicing PCs and laptops.

Available versions based on Debian 12 "Bookworm" (Devuan "Daedalus") and Debian 13 "Trixie" (Devuan "Excalibur")

Download .iso images:
github.com/PocketHandyBox/pocket-handybox/releases

Provides the Xfce desktop, and applications such as CPU-X, GSmartControl, GParted, Partimage, Partclone, TestDisk, ddrescue, WHDD.

Linux kernel versions: 6.12 and 5.10 for x86_64, 6.1 for i686. OpenZFS modules is included for x86_64 kernels. Kernel 5.10 is patched with intel-nvme-remap (from EndlessOS) to support NVMe SSDs if the "Intel RST Premium With Optane" option is enabled in UEFI setup (relevant for 6th-10th generation Intel Core). Broadcom WL 802.11n WiFi driver is included, run bcmwload script to enable it.

Versions of NVIDIA proprietary drivers included: 580.x, and legacy 470.x, 390.x, 340.x. GPU detection is implemented in initrd. Module with supported driver will be loaded automatically. For legacy 340.x driver, select kernel 5.10.

The distribution size is optimized for use in copy2ram mode (make possible to remove the USB drive / network cable after booting). Only the used .squashfs modules will be copied to RAM, not the entire .iso image.

Initrd is based on the Porteus code adapted for Debian and OverlayFS by the DogLinux project. Use the SysVinit, pup-volume-monitor (instead of gvfs and udisks2) and ALSA for sound output. The ntfs3 driver is used by default (for 6.12 and 6.1 kernels), ntfs-3g is also included.

Provides the mod-get script for download applications from their websites, and create .squashfs modules with it: DMDE, Hard Disk Sentinel Linux Edition, R-TT R-Linux, Geeks3D FurMark2 and GpuTest, Unigine Heaven and Valley. Save the additional .squashfs modules to folders phb/modules and phb/modules32 (for i686 version) on USB drive and it will be automatically loaded during startup.

For laptops with switchable GPUs, the gpu-switch-launcher script helps to run FurMark2, GpuTest, Unigine Heaven and Valley on dGPU. The script supports NVIDIA drivers, and Mesa drivers (for AMD and Intel GPUs). For legacy 390.x и 340.x drivers (because lack of PRIME render offload support) only NVIDIA GPU will be used.

Additional software can be installed from the Debian repositories using apt-get or synaptic. Tools for creating .squashfs modules apt2squashfs and changes2sfs are included. Additional .squashfs modules can be activated using the loadmodule script or the Activate module custom action of the Thunar file manager.

Shell scripts and config files will be automatically copied from the phb/rootcopy folder during boot. And they will be applied without the need to rebuild the .iso image and modules.

Both UEFI and Legacy/CSM supported. Boot the .iso image from Ventoy / grub2 / grub4dos.
Supported boot from USB/SATA/NVMe devices, from FAT32/exFAT/Ext2/3/4/NTFS filesystems.
Network PXE boot with NFS is supported.
Secure Boot is not supported and must be disabled. Boot from ZFS is not supported.

PocketHandyBox Wiki:
github.com/PocketHandyBox/pocket-handybox/wiki

пятница, 7 июля 2023 г.

Автоматическая загрузка драйвера Intel RST VMD для Windows 10/11 средствами Ventoy

На многих платформах с мобильными процессорами Intel начиная с 11 поколения по умолчанию включен VMD контроллер. И при установке Windows из оригинального образа, для того чтобы система увидела NVMe SSD - требуется подгрузка соответствующего драйвера. Это можно делать вручную, но можно и автоматизировать с помощью функции Injection в Ventoy.

Скачиваем установщик драйвера SetupRST.exe с сайта intel.com / intel.ru.
Текущая версия 19.5.2.1049. Для распаковки нужно запустить:

SetupRST.exe -extractdrivers RST

Драйвер находится в папке RST\production\Windows10-x64\15063\Drivers\VMD

Создадим файл VentoyAutoRun.bat следующего содержания:

if "%PROCESSOR_ARCHITECTURE%"=="AMD64" drvload "X:\VMD\iaStorVD.inf"

Запакуем папку VMD и файл VentoyAutoRun.bat в архив IRST-VMD-19.7z и скопируем его на флешку с Ventoy.

Далее на флешке нужно создать или отредактировать конфиг ventoy.json в папке ventoy.

{
    "injection": [
        {
            "parent": "/win1011",
            "archive": "/IRST-VMD-19.7z"
        }
    ]
}

Здесь мы указываем Ventoy при загрузке образов которые находятся в папке win1011 применять архив IRST-VMD-19.7z

Теперь при загрузке .ISO образов Windows 10/11 из папки win1011 драйвер будет загружаться автоматически незаметно для пользователя.

Выкладываю готовый архив с драйвером и конфиг IRST-VMD-19-ventoy.

пятница, 28 ноября 2008 г.

Курьёз с поддержкой оборудования в GNU/Linux и Windows, звуковая карта M-Audio Revolution 5.1

Не так давно купил звуковую карту M-Audio Revolution 5.1. Эта мультимедийная карта, при своей низкой цене обладает качественным ЦАП AKM 4358 (такой же ЦАП стоит в профессиональных картах ESI Juli@ и M-Audio Audiophile192), и на мой взгляд является (в паре с достойной акустикой разумеется) лучшим выбором для любителя послушать музыку. Но речь не об этом.

Пришёл домой, вытащил пожилой Creative SB Live! 5.1. Использую Debian GNU/Linux lenny. Ядро тогда было 2.6.25. Воткнул новую звуковуху. Включаю комп, запускаю QMPDClient, звук есть только из правой колонки, что и указано здесь "The left stereo channel is always muted on boot.". Лечится изменением громкости (в любом микшере).
К этому времени ядро 2.6.26 как раз появилось в lenny, обновился. Перезагружаюсь, включаю музыку и всё отлично - играют обе колонки.

Дошли руки до установки драйвера в Windows XP SP2, заметьте - установки, в Debian ничего устанавливать не пришлось. Скачал последнюю версию драйвера, на тот момент 5.10, с поддержкой Windows XP SP3. Устанавливаю, перезагружаюсь, запускаю foobar2000 и что я слышу - играет только правая колонка! Лечится также подёргиванием ползунка изменения громкости, при том, только в фирменном микшере, изменение громкости в панели управления звуком никакого эффекта не производит.

И после этого жалуются на поддержку оборудования в Linux, в то время как у создателей этого оборудования руки растут неизвестно откуда.

Что ж M-Audio всегда славилась кривизной своих драйверов. Удалил драйвер, поставил с диска версию 1.0, и всё стало нормально (как в Linux).