LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-07-2024, 10:13 AM   #1
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 722
Blog Entries: 2

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
mpv dont work properly with discrete gpu card wayland


mpv dont start in Wayland when trying to use discrete nvidia card.
works fine in x11.

If you have prime-run you can reproduce it:
Code:
prime-run mpv -hwdec=nvenc https://file-examples.com/storage/fe4e1227086659fa1a24064/2017/04/file_example_MP4_1920_18MG.mp4
From a fast search I did it doesnt look as easy fix...
I leave it here as information post and hopefully if more people are interest we might find some fix..
Some people say its nvidia`s problem, some other compositor problem, I think its mvp issue..
 
Old 06-07-2024, 01:18 PM   #2
giomat
Member
 
Registered: Jul 2017
Posts: 342

Rep: Reputation: 243Reputation: 243Reputation: 243
what compositor are you using? i saw in some of your posts you were using gnome, does it work in kde?
 
Old 06-07-2024, 01:47 PM   #3
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,764

Rep: Reputation: Disabled
Well I admit I haven't used mpv or read mpv manual, but this -hwdec=nvenc flag seems awfully suspicious to me.
Logic would suggest a decoder flag's expecting a decoder value, meaning nvdecoder and not nvencoder should be specified as a mpv decoder.
So I guess it's either -hwdec=nvdec or -hwenc=nvenc, not the other way around..
Other than that, I really don't know, don't have prime-run, or wayland, and my card don't support nvdec/nvenc.
 
Old 06-07-2024, 01:54 PM   #4
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 722

Original Poster
Blog Entries: 2

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
It not work to kde or gnome... only in wayland

EDIT I tried what @elcore suggest no luck
 
Old 06-07-2024, 02:03 PM   #5
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 722

Original Poster
Blog Entries: 2

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
can you please try something else in wayland no matter gpu:
Code:
mpv https://file-examples.com/storage/fe4e1227086659fa1a24064/2017/04/file_example_MP4_1920_18MG.mp4
can you resize properly the window?
for me its like no compositor is used!

Last edited by rizitis; 06-07-2024 at 02:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Intel has confirmed their plans for a discrete GPU to release in 2020 LXer Syndicated Linux News 0 06-12-2018 08:14 PM
[SOLVED] [INF] Still recommending mpv-0.27 after new mpv release and -current update 1337_powerslacker Slackware 16 12-31-2017 01:17 AM
Does blacklisting discrete GPU driver completely disables discrete GPU, or using acpi_call is better decision? SuperPrower Linux - Hardware 2 08-21-2017 08:32 PM
LXer: How to fix your discrete GPU temperatures LXer Syndicated Linux News 0 08-01-2012 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration