Mailinglist Archive: opensuse-factory (421 mails)

< Previous Next >
Re: [opensuse-factory] CUDA on Tumbleweed and HEVC/H.265 decoding
Jan Engelhardt wrote:
On Thursday 2017-09-14 17:20, Bjoern Voigt wrote:

Is there a way to install Nvidia CUDA on Tumbleweed?

I tried the openSUSE 13.2 packages. They install, but it seems, that
they do not work.

$ mpv --hwdec=cuda hevc-testvideo.ts
(+) Video --vid=1 (hevc 1920x1080 50.000fps)
(+) Audio --aid=1 --alang=deu (aac_latm 6ch 48000Hz)
Audio --aid=2 --alang=fra (aac_latm 2ch 48000Hz)
Subs --sid=1 --slang=deu,deu,fra (dvb_teletext)
[ffmpeg/video] hevc_cuvid: ctx->cvdl->cuvidCreateDecoder(&cudec,
&cuinfo) failed -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
Could not open codec.
/dev/nvidia* writable by the user? Are you even able to run the cuda system
monitor program (nvidia-smi)?
Yes, these device files are writable:

myuser@mybox:~> test -w /dev/nvidia0 && test -w /dev/nvidiactl && test
-w /dev/nvidia-modeset && test -w /dev/nvidia-uvm && echo "$(echo
/dev/nvidia*) are writable"
/dev/nvidia0 /dev/nvidiactl /dev/nvidia-modeset /dev/nvidia-uvm are writable

nvidia-smi runs too:

myuser@mybox:~> nvidia-smi
Thu Sep 14 19:21:07 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.69 Driver Version: 384.69 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 750 Off | 00000000:01:00.0 On | N/A |
| 33% 38C P8 1W / 38W | 271MiB / 2000MiB | 4% Default |
+-------------------------------+----------------------+----------------------+


+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 4038 G /usr/bin/X 146MiB |
| 0 4768 G kwin_x11 1MiB |
| 0 4782 G /usr/bin/krunner 6MiB |
| 0 4785 G /usr/bin/plasmashell 55MiB |
| 0 4889 G /usr/bin/kalarm 1MiB |
| 0 4957 G /usr/bin/korgac 1MiB |
| 0 4978 G /usr/bin/akonadi_archivemail_agent 1MiB |
| 0 4987 G /usr/bin/akonadi_davgroupware_resource 1MiB |
| 0 4989 G /usr/bin/akonadi_davgroupware_resource 1MiB |
| 0 4992 G /usr/bin/akonadi_davgroupware_resource 1MiB |
| 0 4993 G /usr/bin/akonadi_davgroupware_resource 1MiB |
| 0 5011 G /usr/bin/akonadi_imap_resource 1MiB |
| 0 5045 G /usr/bin/akonadi_mailfilter_agent 1MiB |
| 0 5056 G /usr/bin/akonadi_newmailnotifier_agent 1MiB |
| 0 5092 G /usr/bin/akonadi_sendlater_agent 1MiB |
| 0 5299 G /usr/bin/kgpg 1MiB |
| 0 5655 G ...el-token=3E47AEA02A9FD842FEE7B1FF24E543E2 18MiB |
| 0 22352 G /op 14MiB |
+-----------------------------------------------------------------------------+

Greetings,
Björn

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >