When I open a file with VLC, it will never close. It remain in the tray, and never close in anyway.
Even if I try with Ksysguard to terminate the process, it will never close.
The worst thing is that I can even open other files with it. It remain stuck.

You will have to be less cryptic to get help....
What kind of files, music, video, file extension? Can you reproduce with a new, clean user? When did this start? What is the VLC output when started from cli when this occurs?

Very strange thing with an mp4 video file. Opening from Dolphin folder, it play correctly but then never close it in the tray. Otherwise from CLI it close correctly.
From CLI I can see some error:
glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
glconv_vaapi_drm gl error: vaInitialize: resource allocation failed
glconv_vaapi_drm gl error: vaInitialize: operation failed
[mpeg4 @ 0x7f38d4c41440] Failed setup for format vdpau: hwaccel initialisation returned error.
avcodec decoder error: existing hardware acceleration cannot be reused

  • demm replied to this.
    11 days later

    This is when it hangs:
    uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8848c4edc0] moov atom not found
    [00007f8848001150] avformat demux error: Could not open /run/media/massi/Storage/recup_dir.4/f847167488.mp4: Unknown error 1094995529
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f883cc021c0] moov atom not found
    [00007f883c001330] avformat demux error: Could not open /run/media/massi/Storage/recup_dir.4/f847167488.mp4: Unknown error 1094995529
    uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition faile

    Looks like a permission issue, are you sure your user has rights to access files in /run/media/massi/Storage/recup_dir.4/ ?
    Have you tried opening such files after copying them to your home directory?

    No. First time the file playing without problem. Then I close, but it really doesn't close it. The VLC icon remain in the tray. Then trying to opening other files, they doesn't play anymore.
    I try to put the file in my home directory, but no way.

    mrcrowley with an mp4 video file

    Is it just one file? Can you reproduce with multiple files?

    5 days later

    I have tried also to disable the hardware acceleration, but nothing.

    @mrcrowley# -- I try to put the file in my home directory, but no way.

    Surely if you cannot put a file in your home directory there is a deeper problem. Start Looking there first.

    No. I can put the file on my home, but VLC still hangs after some time.

    5 years later

    how did you sort this?

    demm locked the discussion .