You are not logged in.
Today after installing the nvidia driver (version 418.43) I get no hardware decoding and this error using mpv:
[vo/gpu/cuda-nvdec] cu->cuGLGetDevices(&device_count, &display_dev, 1, CU_GL_DEVICE_LIST_ALL) failed -> CUDA_ERROR_UNKNOWN: unknown error
[vo/gpu/cuda-nvdec] cu->cuCtxPopCurrent(&dummy) failed -> CUDA_ERROR_INVALID_CONTEXT: invalid device contextAll output:
Playing: Videos/Star Wars - The Last Jedi - Teaser.mp4
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
(+) Video --vid=1 (*) (h264 1920x816 23.961fps)
Video --vid=2 [P] (mjpeg)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
File tags:
Artist: Lucasfilm
Date: 2017
Genre: Trailer
Title: Star Wars: The Last Jedi
[vo/gpu/cuda-nvdec] cu->cuGLGetDevices(&device_count, &display_dev, 1, CU_GL_DEVICE_LIST_ALL) failed -> CUDA_ERROR_UNKNOWN: unknown error
[vo/gpu/cuda-nvdec] cu->cuCtxPopCurrent(&dummy) failed -> CUDA_ERROR_INVALID_CONTEXT: invalid device context
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1920x816 yuv420p/etc/mpv/mpv.confprofile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
vo=gpu
hwdec=cuda
#hwdec-codecs=allI didn't think it would be any problem updating the nvidia driver. I was hoping for some improvement to be honest. Am I forgetting something? Am I doing something wrong?
The update information said something about this and that one should run the nvidia-modprobe command, but nvidia-modprobe don't seam to do anything on my system.
Last edited by Bluemango (2019-02-25 02:40:10)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Welcome to the Arch Linux forums. Could you possibly try this with another video and see if you still have problems? I don't expect it to be any different, but ....
I am a bit uncomfortable with the video title and that is is an mp4, presumably lacking DRM. We do not support efforts to circumvent copyright, nor do we want to provide any indication that we do. When you have a different file, we will be glad to try to help. Thanks for your understanding.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
?
Last edited by Bluemango (2019-02-24 23:49:58)
Offline
Welcome to the Arch Linux forums. Could you possibly try this with another video and see if you still have problems? I don't expect it to be any different, but ....
I am a bit uncomfortable with the video title and that is is an mp4, presumably lacking DRM. We do not support efforts to circumvent copyright, nor do we want to provide any indication that we do. When you have a different file, we will be glad to try to help. Thanks for your understanding.
Thank you for the warm welcoming. It's a movie trailer video, no DRM.
Last edited by Bluemango (2019-02-24 23:51:29)
Offline
Great! Carry on ![]()
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
UPDATE
I now have hardware decoding working (did two changes in mpv.conf); it will use nvdec-copy, but the cuda error message is still there.
/etc/mpv/mpv.confprofile=gpu-hq
scale=ewa_lanczossharp
cscale=ewa_lanczossharp
video-sync=display-resample
interpolation
tscale=oversample
gpu-api=auto
vo=gpu
hwdec=auto
hwdec-codecs=allmpv output:
laying: Videos/Star Wars - The Last Jedi - Teaser.mp4
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set
(+) Video --vid=1 (*) (h264 1920x816 23.961fps)
Video --vid=2 [P] (mjpeg)
(+) Audio --aid=1 --alang=eng (*) (aac 2ch 44100Hz)
File tags:
Artist: Lucasfilm
Date: 2017
Genre: Trailer
Title: Star Wars: The Last Jedi
[vo/gpu/cuda-nvdec] cu->cuGLGetDevices(&device_count, &display_dev, 1, CU_GL_DEVICE_LIST_ALL) failed -> CUDA_ERROR_UNKNOWN: unknown error
[vo/gpu/cuda-nvdec] cu->cuCtxPopCurrent(&dummy) failed -> CUDA_ERROR_INVALID_CONTEXT: invalid device context
Using hardware decoding (nvdec-copy).
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1920x816 nv12 nvdec-copy is not the same as the cuda (nvdec-copy don't seam to decode vp9), but will the cuda error cause some other problem that I don't know about? Or can one let it be?
Last edited by Bluemango (2019-02-25 02:44:10)
Offline
If https://bbs.archlinux.org/viewtopic.php … 2#p1833612 is anything to go by, your are currently simply not actually running on your nvidia card, make sure you monitor is plugged in the proper output and intel disabled.
Offline