[packman] AMD Radeon 600 series, Leap 15.4, VLC DVD player

Steven Swart steven.swart at gmail.com
Wed Jan 18 16:01:47 CET 2023


 Good day, Masaru, and Packmans!

Just a quick update. These power outages are challenging, and they have
been bad lately.

For my Tumbleweed machine, this is the video card info:

steven at linux-ll3r:~> inxi -Gaz
Graphics:
  Device-1: AMD Wani [Radeon R5/R6/R7 Graphics] driver: amdgpu v: kernel
    arch: GCN-3 code: Volcanic Islands process: TSMC 28nm built: 2014-19
ports:
    active: DP-1 empty: DP-2,DP-3 bus-ID: 00:01.0 chip-ID: 1002:9874
    class-ID: 0300
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
    dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48")
    s-diag: 1165mm (45.88")
  Monitor-1: DP-1 model: LG (GoldStar) Ultra HD serial: <filter> built: 2018
    res: 3840x2160 hz: 60 dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39")
    diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: AMD Radeon R5 Graphics (carrizo
    LLVM 15.0.6 DRM 3.49 6.1.4-1-default) direct render: Yes

There are two ways to install the Mesa drivers on Tumbleweed, the first is
building from source, and the second is to install them from the Packman
repo, as follows:

sudo zypper in opi
sudo opi codecs

This was the output of vdpauinfo, regardless of which way I used:

steven at linux-ll3r:~> vdpauinfo
display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420    16384 16384  NV12 YV12
422    16384 16384  UYVY YUYV
444    16384 16384  Y8U8V8A8 V8U8Y8A8
420_16 16384 16384
422_16 16384 16384
444_16 16384 16384

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                          --- not supported ---
MPEG2_SIMPLE                    3 65536  4096  4096
MPEG2_MAIN                      3 65536  4096  4096
H264_BASELINE                  52 65536  4096  4096
H264_MAIN                      52 65536  4096  4096
H264_HIGH                      52 65536  4096  4096
VC1_SIMPLE                      1 65536  4096  4096
VC1_MAIN                        2 65536  4096  4096
VC1_ADVANCED                    4 65536  4096  4096
MPEG4_PART2_SP                  3 65536  4096  4096
MPEG4_PART2_ASP                 5 65536  4096  4096
DIVX4_QMOBILE                  --- not supported ---
DIVX4_MOBILE                   --- not supported ---
DIVX4_HOME_THEATER             --- not supported ---
DIVX4_HD_1080P                 --- not supported ---
DIVX5_QMOBILE                  --- not supported ---
DIVX5_MOBILE                   --- not supported ---
DIVX5_HOME_THEATER             --- not supported ---
DIVX5_HD_1080P                 --- not supported ---
H264_CONSTRAINED_BASELINE       0 65536  4096  4096
H264_EXTENDED                  --- not supported ---
H264_PROGRESSIVE_HIGH          --- not supported ---
H264_CONSTRAINED_HIGH          --- not supported ---
H264_HIGH_444_PREDICTIVE       --- not supported ---
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      186 65536  4096  4096
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---
AV1_MAIN                       --- not supported ---
AV1_HIGH                       --- not supported ---
AV1_PROFESSIONAL               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
P010 P016 I8A8
R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
P010 P016 I8A8
R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
P010 P016 I8A8
B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
P010 P016 I8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     4096
VIDEO_SURFACE_HEIGHT             y        48     4096
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y

So, presumably, I managed to perform the build properly, and these are the
limits of my ATI card.

Installing from the packman repo is the quickest and easiest option, and
the way I recommend for anyone running Tumbleweed.

I tested both drivers with a few graphics-intensive applications. There was
a performance improvement for both, but it didn't seem to make much
difference whichever one I used. The main thing I noticed is that the Kodi
ProjectM music visualisation addon works better. It seems to be more
responsive in terms of beat sensitivity to the music. I think it's an
OpenGL application.

However, the Mesa drivers for Leap 15.4 are not (yet) available on the
Packman repo. Currently the only way to install them is from source. So, it
will still be worth writing up my HOWTO. I want to test the notes that I
have made by installing the drivers from source on my Leap 15.4 machine.
Then I will write it up.

Hardware acceleration isn't really needed on that machine, and I have
several other important things I need to do before I get to that, but will
attend to it ASAP.

Just FYI, I elected to use the drivers I had built from source on my
Tumbleweed machine, because they are a far more recent version than the
ones available from the Packman repo. They seem to work ok, I haven't
picked up any problems yet.

Kind regards,
Steven.

On Tue, 17 Jan 2023 at 02:04, Steven Swart <steven.swart at gmail.com> wrote:

> Good day, Masaru, Packmans!
>
> Thank you for your response, Masaru.
>
> To address several of your concerns.
>
> rpmbuild seems to delete several build targets, .a files, .so files, and
> rpms, when you rerun the build. But it doesn't delete the .o files. When I
> rebuilt it, it didn't recompile them, it just checked them.
>
> Then it ran through the linking phase and the rpm generation phase again.
>
> I kicked off a rebuild after I sent my last message, and it only took
> about 45 minutes to rebuild the rpms. I now have all the rpms built.
>
> I had to install quite a lot of dependencies before I could start the
> build. I made notes and I think I have most of them documented.
>
> My Xorg process seems to use both the libvdpau_radeonsi and the
> libvdpau_r600 drivers.
>
> I am busy waiting for 1300 odd updates to install now, then I will try to
> install the rpms.
>
> I am not sure when I will be able to write up that HOWTO, I have a busy
> day ahead of me tomorrow, but I will try to get to it ASAP.
>
> Will post the vdpauinfo result as soon as I have tested the new drivers.
>
> Kind regards,
> Steven.
>
>
> On Tue, 17 Jan 2023, 01:47 Masaru Nomiya <nomiya at galaxy.dti.ne.jp> wrote:
>
>> Hello,
>>
>> In the Message;
>>
>>   Subject    : Re: [packman] AMD Radeon 600 series, Leap 15.4, VLC DVD
>> player
>>   Message-ID : <
>> CALtYYow1MjK165+RrA_V1Ckm6yXBMvzorZOb8+iSCmH1-WacTQ at mail.gmail.com>
>>   Date & Time: Mon, 16 Jan 2023 19:46:27 +0200
>>
>> [SS] == Steven Swart <steven.swart at gmail.com> has written:
>>
>> SS>  Good day, Masaru, Packmans!
>>
>> SS>  Thank you very much for your suggestion, I will try that next.
>>
>> You don't need to look at it because it seems to build.
>>
>> SS>  Just a quick report-back about yesterday. These power outages have
>> been
>> SS>  challenging!
>>
>> SS>  I followed your previous instructions. The first source rpm built
>> SS>  successfully.
>>
>> I was wondering if libx264-devel and libx265-devel were installed, but my
>> fears were unfounded.
>>
>> [...]
>> SS>  This morning, I kicked off that build again, and it started from the
>> SS>  beginning! I couldn't find a way to tell rpmbuild to pick up where
>> it had
>> SS>  left off!
>>
>> I don't know that rpmbuld can be restarted from a suspended state.
>>
>> Anyway, I look forward to the results of vdpauinfo.
>>
>> SS>  We had to go out today, and we are scheduled for another power cut
>> soon,
>> SS>  but I will get back to you when I have something further to report.
>>
>> Just for the record, which Radeon driver are you using?
>> I've checked and there seem to be several.
>>
>> Regards.
>>
>> ---
>> ┏━━┓彡 野宮  賢                         mail-to: m.nomiya+pack @ gmail.com
>> ┃\/彡
>> ┗━━┛       "A bachelor’s degree still holds prestige as a ticket to the
>>                middle class, but its value has received increasing
>> scrutiny.
>>                In the last several years, rising tuition and student loan
>> debt
>>                have led more Americans to reconsider an investment in
>>                postsecondary education."
>>
>>                                                         -- Washington
>> Post --
>>
>> _______________________________________________
>> Packman mailing list
>> Packman at links2linux.de
>> https://lists.links2linux.de/cgi-bin/mailman/listinfo/packman
>
>


More information about the Packman mailing list