Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.
Cover the old-driver notice with missing driver version, card name and CUDA API boundaries
Bowen Xue7396816c17ed
diff --git a/freevideo_engine/bootstrap.py b/freevideo_engine/bootstrap.pyindex e9d0297..6d010b4 100644--- a/freevideo_engine/bootstrap.py+++ b/freevideo_engine/bootstrap.py@@ -571,8 +571,9 @@ def plan(args, *, local_progress=None, stage=None):if cuda_api < 13000 if cuda_api is not None else (major and int(major.group()) < 580):# The card names the graphics card too; brackets would end its pattern early.model = re.sub(r'[()\r\n]', '', str(snapshot['selected_gpu'].get('name') or '')).strip()- errors.append('NVIDIA driver %s%s is older than 580, the minimum for the CUDA 13 encoder; update the driver first.'- % (driver, ' (%s)' % model if model else ''))+ # The CUDA fallback reads no driver version; leave it out instead of printing a gap.+ errors.append('NVIDIA driver%s%s is older than 580, the minimum for the CUDA 13 encoder; update the driver first.'+ % (' ' + driver if driver else '', ' (%s)' % model if model else ''))compatibility = hardware.cuda_compatibility()if compatibility['error']:errors.append(compatibility['error'])diff --git a/freevideo_engine/failure_details.py b/freevideo_engine/failure_details.pyindex fec07b6..d8babe8 100644--- a/freevideo_engine/failure_details.py+++ b/freevideo_engine/failure_details.py@@ -558,7 +558,7 @@ def launcher_failure(value, *, zh=False, other_disk=False, disk_name='', can_rep('If this computer has an NVIDIA graphics card, install NVIDIA driver 580 or newer, ''restart the computer, then click Retry installation.','如果这台电脑有 NVIDIA 显卡,请安装 580 或更新版本的 NVIDIA 显卡驱动,重启电脑后点击“重试安装”。')),- (r'NVIDIA driver [\w.]+(?: \([^)]*\))? is older than 580', 'gpu-driver-old',+ (r'NVIDIA driver(?: [\w.]+)?(?: \([^)]*\))? is older than 580', 'gpu-driver-old',('The NVIDIA driver is too old', 'NVIDIA 显卡驱动版本过低'),('Update the NVIDIA driver to version 580 or newer, restart the computer, then click "Retry installation".','请将 NVIDIA 显卡驱动更新到 580 或更新版本,重启电脑后点击“重试安装”。')),@@ -664,14 +664,19 @@ def launcher_failure(value, *, zh=False, other_disk=False, disk_name='', can_repaction = WITHOUT_REPAIR[kind].get(unavailable) or WITHOUT_REPAIR[kind].get('none', WITHOUT_REPAIR_NONE)detail = ''if kind == 'gpu-driver-old':- version, model = re.search(r'NVIDIA driver ([\w.]+)(?: \(([^)]*)\))? is older than 580', text, re.I).groups()- if model:+ version, model = re.search(r'NVIDIA driver(?: ([\w.]+))?(?: \(([^)]*)\))? is older than 580', text, re.I).groups()+ if model and version:detail = ('检测到:%s,驱动 %s' if zh else 'Detected: %s, driver %s') % (model, version)- else:+ elif model:+ # The CUDA fallback names the card but reads no driver version.+ detail = ('检测到:%s' if zh else 'Detected: %s') % model+ elif version:detail = ('当前驱动版本:' if zh else 'Installed driver: ') + version+ else:+ detail = ''# The launcher's failure card shows the action only when there is no detail, so the# instruction goes under the detected driver instead of being hidden by it.- return dict(title=title[zh], detail=detail + '\n' + action[zh], action='', kind=kind)+ return dict(title=title[zh], detail=(detail + '\n' if detail else '') + action[zh], action='', kind=kind)if kind == 'gpu-architecture':found = re.search(r'\[CUDA_ARCH_UNSUPPORTED\]\s+(.+?)\s+\(SM\w+; compute capability ([\d.]+);', text)if found: