I now have Cuda working on Freebsd using a Rocky Linux Podman container
This is the python command run inside the Podman container
And here's the output
CUDA Available: True
Device: NVIDIA GeForce GTX 1650
Output of nvidia-smi in the Podman container
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.58.03 Driver Version: 595.58.03 CUDA Version: 13.2 |
+-----------------------------------------+------------------------+----------------------+
I just installed Whisperx which uses Cuda in a Rocky Linux Podman container for the audio transcription
Heres the crazy part there is no Nvidia driver installed in the Podman container
i map the Linuxulator libraries from Freebsd into the container,
use devfs.rules and set up matching groups and ids so the container is running with exact same user and permissions as on the Freebsd host
as well as some other tricks to get it all working
And persistent storage as well, so files are stored on the Freebsd host and arent wiped when you restart the container
Im using Rocky Linux 9.3 which is the same version as in the Linuxulator so we have maximum compatibility
So far i have in the containers i have the following working
1) ffmpeg nvenv encoding
2) Firefox with widevine for drm playback with hardware accelerated video
wayland and pulseaudio sockets mounted from Freebsd into the container to create the window and audio with zero latency
downloads directory mounted from Freebsd inside the container
3) Whisperx using Cuda for audio transcription with speaker diarization
So the upshot of this is we now have Cuda on Freebsd using Podman
I can install any command line or gui application in a Rocky Linux Podman container
Including python applications that use torch
You can see the thread here which is about getting Firefox working widevine for drm playback in a Podman container
Freebsd Firefox Widevine for drm playback now working in a Rocky Linux Podman container
No Nvidia driver installed in the Podman container
works by mounting the Linuxulator directories for the Nvidia drivers from Freebsd to the Podman container
Hardware accelerated video playback
persistent Firefox settings stored on the Freebsd host so all your extensions,
bookmarks and settings are retained when you stop and restart the container
Wayland and Pulseaudio sockets for zero latency
The Podman container runs as the same user and id as on the Freebsd host
Downloads...
Im created a github repo for the podman containers
So im writing the theme tune and singing the theme tune
Little Britain reference
Screenshot of the subtitles created with Whisperx
This is the python command run inside the Podman container
python3 -c "import torch; print('CUDA Available:', torch.cuda.is_available()); print('Device:', torch.cuda.get_device_name(0) if torch.cuda.is_available() else 'None')And here's the output
CUDA Available: True
Device: NVIDIA GeForce GTX 1650
Output of nvidia-smi in the Podman container
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 595.58.03 Driver Version: 595.58.03 CUDA Version: 13.2 |
+-----------------------------------------+------------------------+----------------------+
I just installed Whisperx which uses Cuda in a Rocky Linux Podman container for the audio transcription
Heres the crazy part there is no Nvidia driver installed in the Podman container
i map the Linuxulator libraries from Freebsd into the container,
use devfs.rules and set up matching groups and ids so the container is running with exact same user and permissions as on the Freebsd host
as well as some other tricks to get it all working
And persistent storage as well, so files are stored on the Freebsd host and arent wiped when you restart the container
Im using Rocky Linux 9.3 which is the same version as in the Linuxulator so we have maximum compatibility
So far i have in the containers i have the following working
1) ffmpeg nvenv encoding
2) Firefox with widevine for drm playback with hardware accelerated video
wayland and pulseaudio sockets mounted from Freebsd into the container to create the window and audio with zero latency
downloads directory mounted from Freebsd inside the container
3) Whisperx using Cuda for audio transcription with speaker diarization
So the upshot of this is we now have Cuda on Freebsd using Podman
I can install any command line or gui application in a Rocky Linux Podman container
Including python applications that use torch
You can see the thread here which is about getting Firefox working widevine for drm playback in a Podman container
Freebsd Firefox Widevine for drm playback now working in a Rocky Linux Podman container
No Nvidia driver installed in the Podman container
works by mounting the Linuxulator directories for the Nvidia drivers from Freebsd to the Podman container
Hardware accelerated video playback
persistent Firefox settings stored on the Freebsd host so all your extensions,
bookmarks and settings are retained when you stop and restart the container
Wayland and Pulseaudio sockets for zero latency
The Podman container runs as the same user and id as on the Freebsd host
Downloads...
- NapoleonWils0n
- cuda ffmpeg freebsd nvenc podman
- Replies: 14
- Forum: Emulation and virtualization
Im created a github repo for the podman containers
So im writing the theme tune and singing the theme tune
Little Britain reference
Screenshot of the subtitles created with Whisperx

