ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

flatpak nvidia

Open failboat78 opened this issue 1 year ago • 10 comments

To enable nvidia encoding inside flatpak we need to build ffmpeg with cuda support. This needs the nvcc compiler - which is not easily obtainable via flatpak. The current freedesktop nvidia driver packages have the driver but are missing nvcc. In the future maybe there will be some sdk extension package that can be added to enable this.

But for now, we can add the hosts cuda folder to the flatpak build env and get it to work. I'm using arch which has a non-standard install location for cuda (/opt/cuda) - other distros might use different. NVCC is also fussy about it's gcc version - 13.2 is the max supported right now. But arch comes with gcc-14 so even without flatpak this requires extra settings. Flatpak actually makes this easier because the runtime used has 13.2 right now.

So the changes needed are quite small, we just copy cuda into the build folder, and update the pkgconfig to point to it. Then just set some env variables and the build works. Note that NVCC is only needed for the build, not at runtime.

Improvements that can be made: Print error if cuda not installed - or continue without nvidia support Detect where host has cuda installed, update paths to reflect

Testing: Works well for me with arch+flatpak steam+4090 555+kde plasma 6.1. Does this also work for amd users? Would there be an nvidia vs non-nvidia version needed?

failboat78 avatar Jun 24 '24 08:06 failboat78

能解决吗

12341234-yangboran avatar Jul 01 '24 06:07 12341234-yangboran

ws

zhangdaiscott avatar Jul 05 '24 04:07 zhangdaiscott

未复现,我这里没有多出来的字段fsupplyname AS ROW_ALIAS_1,你看看是不是其他数据集里面的,没有加上别名

数据集: image

报表sql拼接的: image

sqlserver 版本号: image

解析成功示意图: image

1298191366 avatar Jul 10 '24 09:07 1298191366

已修复,请等待新版本发布。

hoperunChen avatar Jul 17 '24 12:07 hoperunChen