VLC is not working with AMD gpu in 18.04

Clash Royale CLAN TAG#URR8PPP up vote
2
down vote
favorite
Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command
DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4
the output I am getting is this-
output.png
But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?
vlc amd-graphics 18.04 video-driver
add a comment |Â
up vote
2
down vote
favorite
Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command
DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4
the output I am getting is this-
output.png
But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?
vlc amd-graphics 18.04 video-driver
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command
DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4
the output I am getting is this-
output.png
But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?
vlc amd-graphics 18.04 video-driver
Recently I have updated my Ubuntu distribution to 18.04 LTS. Since then I can't play videos in VLC using the AMD graphics card. Though it was fine in 17.04. When I am running the command
DRI_PRIME=1 vlc Waking.Life.2001.1080p.BluRay.H264.AAC-RARBG.mp4
the output I am getting is this-
output.png
But if I don't use DRI_PRIME=1, i.e. using the Intel graphics card the output is normal. Does anyone know how to fix this?
vlc amd-graphics 18.04 video-driver
edited May 4 at 18:48
asked May 4 at 17:16
pie
113
113
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
This is related to hardware video acceleration.
The issue is caused by (at least) one of these alternatives:
- VLC is misconfigured.
- Hardware acceleration is not set up properly for your AMD graphics card.
Quick Fix
Turn off hardware acceleration:
- Go to
VLC > Tools > Preferences > Input & Codecs Settings. - Set
Hardware-accelerated decodingtoDisable.
This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.
Check Setup
Install the packages vdpauinfo and vainfo.
These two are of great help when debugging hardware acceleration related issues.
Now open a terminal and run
vdpauinfo
as well as
vainfo
This gives a lot of insight to your current setup.
Fix
I can't get into details here, there's way too many possibilities.
Take the output from the previous section as an indication which route to take.
Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.
Here's a valuable page to get some more info: VLX GPU Decoding
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
This is related to hardware video acceleration.
The issue is caused by (at least) one of these alternatives:
- VLC is misconfigured.
- Hardware acceleration is not set up properly for your AMD graphics card.
Quick Fix
Turn off hardware acceleration:
- Go to
VLC > Tools > Preferences > Input & Codecs Settings. - Set
Hardware-accelerated decodingtoDisable.
This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.
Check Setup
Install the packages vdpauinfo and vainfo.
These two are of great help when debugging hardware acceleration related issues.
Now open a terminal and run
vdpauinfo
as well as
vainfo
This gives a lot of insight to your current setup.
Fix
I can't get into details here, there's way too many possibilities.
Take the output from the previous section as an indication which route to take.
Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.
Here's a valuable page to get some more info: VLX GPU Decoding
add a comment |Â
up vote
2
down vote
This is related to hardware video acceleration.
The issue is caused by (at least) one of these alternatives:
- VLC is misconfigured.
- Hardware acceleration is not set up properly for your AMD graphics card.
Quick Fix
Turn off hardware acceleration:
- Go to
VLC > Tools > Preferences > Input & Codecs Settings. - Set
Hardware-accelerated decodingtoDisable.
This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.
Check Setup
Install the packages vdpauinfo and vainfo.
These two are of great help when debugging hardware acceleration related issues.
Now open a terminal and run
vdpauinfo
as well as
vainfo
This gives a lot of insight to your current setup.
Fix
I can't get into details here, there's way too many possibilities.
Take the output from the previous section as an indication which route to take.
Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.
Here's a valuable page to get some more info: VLX GPU Decoding
add a comment |Â
up vote
2
down vote
up vote
2
down vote
This is related to hardware video acceleration.
The issue is caused by (at least) one of these alternatives:
- VLC is misconfigured.
- Hardware acceleration is not set up properly for your AMD graphics card.
Quick Fix
Turn off hardware acceleration:
- Go to
VLC > Tools > Preferences > Input & Codecs Settings. - Set
Hardware-accelerated decodingtoDisable.
This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.
Check Setup
Install the packages vdpauinfo and vainfo.
These two are of great help when debugging hardware acceleration related issues.
Now open a terminal and run
vdpauinfo
as well as
vainfo
This gives a lot of insight to your current setup.
Fix
I can't get into details here, there's way too many possibilities.
Take the output from the previous section as an indication which route to take.
Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.
Here's a valuable page to get some more info: VLX GPU Decoding
This is related to hardware video acceleration.
The issue is caused by (at least) one of these alternatives:
- VLC is misconfigured.
- Hardware acceleration is not set up properly for your AMD graphics card.
Quick Fix
Turn off hardware acceleration:
- Go to
VLC > Tools > Preferences > Input & Codecs Settings. - Set
Hardware-accelerated decodingtoDisable.
This is just a cure of the symptoms, helps to see any video at all. Remember to enable the setting again, when fixing the real cause of the problem.
Check Setup
Install the packages vdpauinfo and vainfo.
These two are of great help when debugging hardware acceleration related issues.
Now open a terminal and run
vdpauinfo
as well as
vainfo
This gives a lot of insight to your current setup.
Fix
I can't get into details here, there's way too many possibilities.
Take the output from the previous section as an indication which route to take.
Most likely, you need to install drivers. Drivers related to VDPAU and/or VA-API.
Here's a valuable page to get some more info: VLX GPU Decoding
edited Aug 6 at 10:44
answered Aug 6 at 10:32
wedeluxe
214
214
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1032083%2fvlc-is-not-working-with-amd-gpu-in-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password