Summary: | Tonga UVD 4Kx4K = failed to allocate a buffer | ||
---|---|---|---|
Product: | Mesa | Reporter: | Andy Furniss <adf.lists> |
Component: | Drivers/Gallium/radeonsi | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | Default DRI bug account <dri-devel> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
4082 fails
4080 works |
Description
Andy Furniss
2016-03-10 00:21:27 UTC
Hi Andy, sounds like the estimated bitstream buffer size doesn't fit into a 32bit integer any more. Where can I download such a stream for testing? Thanks, Christian. (In reply to Christian König from comment #1) > Hi Andy, > > sounds like the estimated bitstream buffer size doesn't fit into a 32bit > integer any more. > > Where can I download such a stream for testing? I wondered that myself so I made one with ffmpeg/libx264. Further testing shows that 4080x4080 works and >= 4082x4082 fails. I tried getting libx264 to make constrained baseline but no difference. These 2 were made like ffmpeg -i a-2160p60.mkv -vf scale=w=4080:h=4080 -c:v libx264 -vframes 10 x264-4080.mkv as they are only 10 frames tested like - mpv --speed=0.1 -fs --hwdec=vdpau x264-4080.mkv While here a shameless bump of a similar VCE issue :-) I don't know the precise fail point for VCE but 3840x2160 fails 2560x1440 works. https://bugs.freedesktop.org/show_bug.cgi?id=91281 Created attachment 122202 [details]
4082 fails
Created attachment 122203 [details]
4080 works
Of course those are square - It is possible to get height 4096 working as long as width is lower than 4082. Mesa commit commit 51227b41c6b026f5b0a3925093b91800cdfcc923 Author: Indrajit Das <indrajit-kumar.das@amd.com> Date: Fri May 27 18:27:15 2016 +0530 radeon/uvd: fix overflow error while calculating bit stream buffer size gets rid of the errors and so mpv/mplayer will attempt to use uvd, but no video is displayed, just a black screen. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1230. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.