Skip to content

[BUG] HEVC/H265 video files fail to display in browser under Hyprland #1411

@PrymalInstynct

Description

@PrymalInstynct

Describe the bug

This may be a personal issue more then something that needs to be addressed in the repo, but given I found a solution I thought I would report and if you want to integrate that would be great.

I am running Arch with Hyprland and your dot files on an AMD Ryzen 5700U base system. I have always had an issue with HEVC/H265 encoded video files rendering via a browser. I have tried Firefox, Chrome, Chromium, Zen Browser and Brave...all just displayed a black screen but the audio from the video file would play.

Steps to reproduce

Given it is possibly hardware dependent I dont know if the steps to reproduce matter, but attempt to play a H265 encoded video in a browser. I am using Plex as the source of the video, but Jellyfin can work as well.

Expected behavior

The video plays rendering the image and the audio

Screenshots

No response

Distribution

Arch Linux

If Other, specify

No response

Additional context

I found that by adding the below setting to my hyprland config the video and audio would play without issue.

I specifically put the setting in hypr/conf/misc.conf

render {
    direct_scanout = false
}

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions