You are not logged in.
Unless you use GPU passthrough, the performance should be like crap, shouldn't?
i especially refer to video play \ html5 video play \ webgl performance \ light 3d software performance (ex google earth)
Offline
anyone with ati 7870 can suggest the best driver solution for my system?
$ uname -a && glxinfo | grep ri OpenGL vendor string: VMware, Inc.
I wonder what does this string mean because I see
OpenGL vendor string: X.Org
ChemBro wrote:Unless you use GPU passthrough, the performance should be like crap, shouldn't?
i especially refer to video play \ html5 video play \ webgl performance \ light 3d software performance (ex google earth)
The "radeon" driver plays Blu-Ray video disk fine on a slightly older and slower videocard.
Last edited by beroal (2016-08-28 19:04:42)
we are not condemned to write ugly code
Offline
$ uname -a && glxinfo | grep ri OpenGL vendor string: VMware, Inc.
I wonder what does this string mean because I see
OpenGL vendor string: X.Org
He is using a virtual machine, which tanks the performance.
P.S. Isn't your avatar from that web"game"? Brings back memories... (Sorry for offtopic)
Last edited by ChemBro (2016-08-28 19:50:11)
Offline
sorry but I am not using any virtual machine, I am temporarily under linux mint and that is what I have from glxinfo
Offline
sorry but I am not using any virtual machine, I am temporarily under linux mint and that is what I have from glxinfo
Then tell exactly where did you get the distribution, how did you install it, and how do you run it.
we are not condemned to write ugly code
Offline
I will do a clean install of arch linux before continuing, honestly it is useless to waste anymore time since I am going to install arch in any case. I will ask again when a clean arch install will be on my system
Offline
Anyoane know if Radeon R9 280X is supported by AMDGPU-PRO ? Ty
Offline
280x is rebranded Radeon HD 7970 GHz Edition, gcn 1.0, and AFAIK it's not supported by amdgpu. Heard rumor that it will be added to 4.9 kernel, but then I _believe_ AMD would have to realase new amdgpu-pro libs to cover support on this (blob) side.
Anyhow I tested amdgpu-pro also on amd-staging-4.7 kernel and it behaves much better than in normal 4.7 or 4.8rc because freezes are not freezing pc completelly, music started before freeze keeps plying in the background, I can ssh to my pc. But every command related to restart X or reboot causes complete freeze. It's crappy yes, but it leaves a space for future debugging. I don't have time for it right now becasue I'm packing for short vacations but after come back I will contact amd with this bugreport.
In the meantime I checked clean amdgpu driver (also from amd-staging-4.7) and it's great, fast and stable. Sure it doesn't have opencl and vulkan (with radv) is lagging behind amdgpu-pro but games are running great - Bioshock Infinite was almost as fast as on amdgpu-pro, and definitelly faster than on catalyst, cs:go works much better than on both blobs .
Last edited by Vi0L0 (2016-09-03 07:42:25)
Offline
Vi0L0, can I take from your last comments that it is safe for me to ditch my 'stable' Arch + R9 290 + Catalyst set up and venture forward with Arch + AMDGPU and get the same if not better performance and be able to use the latest kernel + Xorg?
Thanks again,
Diesel1.
*EDIT*
Okay I took the leap and all seems well with the amdgpu driver but there is some tearing as I am trying to find the best way to enable hardware acceleration with vdpau or va-api.
I remember this needing some settings last time I changed the driver. I will read back and check.
Diesel1.
Last edited by diesel1 (2016-09-06 00:53:18)
Registered GNU/Linux user #140607.
Offline
Has anyone noticed any regression when moving from 4.5 / 4.6 to 4.7 kernel?
When I upgrade my compositor (compiz) locks fps to30 (vsync). The loss of performance is noticeable for me in game also (league of legends, cs:go...)
On a gcn 1.0 card (firepro m4000 - 7700m) with radeonsi/ mesa to latest non testing version.
Offline
Does Catalyst/FGLRX load it's own Firmware? If so, how can I try it? I'm trying to resolve this bug which is probably in the firmware: https://github.com/ValveSoftware/Source … ssues/1943
If it ain't broke, you haven't tweaked it enough...
Offline
Hi all,
I am struggling to find the correct combination of back end drivers for hardware acceleration to use with the AMDGPU.
Do I use the AMD opensource or proprietary advice from https://wiki.archlinux.org/index.php/Ha … celeration in the wiki?
Diesel1.
*EDIT*
I have removed all the VDPAU VA-API 'stuff' and it has caused some issues with ffmpeg now!
Everything I can find about this relates to Radeon or Fglrx drivers. Any help will be greatly appreciated.
Last edited by diesel1 (2016-09-11 17:54:06)
Registered GNU/Linux user #140607.
Offline
@Vi0L0 would it have any negative effects to add the control file of catalyst 15.9 to the 15.12 build, which receives a bit of further maintenance?
My system is trinity based (4555m/7600g), which means NI, and is not working with stock 15.12 (nor amdgpu) but with the control file from 15.9 (and i assume this applies to all other gpus ≥ hd5k which were dropped in 15.12).
I stayed that bridgman confirmed 15.12 linux driver was still supporting pre-gcn?
EDIT: also, while I am here.. Is it even normal manjaro on 4.7 works with catalyst (15.9 though) even without no specific patch?
Last edited by mirh (2016-09-11 21:39:32)
Offline
Does Catalyst/FGLRX load it's own Firmware? If so, how can I try it? I'm trying to resolve this bug which is probably in the firmware: https://github.com/ValveSoftware/Source … ssues/1943
For sure it's loading some kind of firmware, but I never heard about attempts of extracting it.
I have removed all the VDPAU VA-API 'stuff' and it has caused some issues with ffmpeg now!
I only installed vdpau libs and smplayer(mpv) seems to work fine on amdgpu/amdgpu-pro when picking vdpau hw accell and video output, but i never looked at it closer (like at cpu usage).
I had to enable kde kwin's v-sync to avoid tearing, tho.
Yet I've seen many comments from pre-gcn users who claimed that 15.9's control file saved their day.
EDIT: also, while I am here.. Is it even normal manjaro on 4.7 works with catalyst (15.9 though) even without no specific patch?
Must be some kind of black magic . Can see that 4.6 support is covered by a sed's cut, but nothing for 4.7.
cpu_has_pge used by fglrx was removed from 4.7, and it has to be covered in some way otherwise build will fail, maybe manjaro did it in other way (?).
Offline
diesel1 wrote:I have removed all the VDPAU VA-API 'stuff' and it has caused some issues with ffmpeg now!
I only installed vdpau libs and smplayer(mpv) seems to work fine on amdgpu/amdgpu-pro when picking vdpau hw accell and video output, but i never looked at it closer (like at cpu usage).
I had to enable kde kwin's v-sync to avoid tearing, tho.
Are you meaning mesa-vdpau or libvdpau-va-gl?
Diesel1
Registered GNU/Linux user #140607.
Offline
Mesa:
pacman -Qs vdpau
local/lib32-libvdpau 1.1.1-2
Nvidia VDPAU library
local/lib32-mesa-git 84796.a1e49be-1 (mesagit)
an open-source implementation of the OpenGL specification (32-bit) (git version)
local/libva-vdpau-driver 0.7.4-2
VDPAU backend for VA API
local/libvdpau 1.1.1-2
Nvidia VDPAU library
local/mesa-git 84796.a1e49be-1 (mesagit)
an open-source implementation of the OpenGL specification (git version)
local/vdpauinfo 1.0-2
Command line utility for querying the capabilities of a VDPAU device.
(mesa-git package provides mesa-vdpau - I'm using packages from lordheavy's [mesa-git] repo)
Interesting part is that amdgpu is by default using radeonsi to bring vdpau support, /var/log/Xorg.0.log says:
[ 7.246] (II) AMDGPU(0): [DRI2] Setup complete
[ 7.246] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 7.246] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 7.246] (II) AMDGPU(0): Front buffer pitch: 10240 bytes
[ 7.246] (II) AMDGPU(0): SYNC extension fences enabled
[ 7.246] (II) AMDGPU(0): Present extension enabled
[ 7.246] (==) AMDGPU(0): DRI3 enabled
also on both drivers/modules - amdgpu and radeonsi (booted pc twice to be sure) - vdpauinfo output looks exactly the same:
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
Decoder capabilities:
name level macbs width height
----------------------------------------------------
MPEG1 --- not supported ---
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_SIMPLE 1 9216 2048 1152
VC1_MAIN 2 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152
MPEG4_PART2_SP 3 9216 2048 1152
MPEG4_PART2_ASP 5 9216 2048 1152
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 --- not supported ---
H264_EXTENDED --- not supported ---
H264_PROGRESSIVE_HIGH --- not supported ---
H264_CONSTRAINED_HIGH --- not supported ---
H264_HIGH_444_PREDICTIVE --- not supported ---
HEVC_MAIN --- not supported ---
HEVC_MAIN_10 --- not supported ---
HEVC_MAIN_STILL --- not supported ---
HEVC_MAIN_12 --- not supported ---
HEVC_MAIN_444 --- not supported ---
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8
R8G8B8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8
R10G10B10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 I8A8
B10G10R10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A8I8 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 2048
VIDEO_SURFACE_HEIGHT y 48 1152
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 no hevc/x265 support
smplayer(mpv) log said that it used vdpau hwaccel and vo succesfully, and ate less than 1% of cpu usage (nice score!) when watching some x264 1080p 8.5Gb, Duration: 2 h 2 min, Video Bit rate: 8 614 kb/s movie .
On the other hand when watching hevc coded movie it ate ~10% of cpu (movie was x265 1080p 5.3Gb, Duration: 3 h 47 min, mediainfo didn't show bitrate info) - so as vdpauinfo said - no hwaccel for hevc
cpu is i7 3770k@4.4ghz
Last edited by Vi0L0 (2016-09-13 17:42:24)
Offline
The next message talks about differences between a previous beta version and the release.
Are there different versions available?
On another note, I also think that the windows crimson release doesn’t support my gpu either, so…
EDIT: on windows 15.9 (15.201.1151) doesn’t auto update but there is 16.2.1 Beta (15.301.1901) which seems to be windows only (its installer doesn’t work for me but the driver does)
Last edited by optiligence (2016-09-13 22:17:59)
Offline
Thank you for the excellent information Vi0L0. I will get on it pronto!
Diesel1.
*EDIT*
Given that I am using an R9 290 card, am I correct in using the AMDGPU driver on its own?
I added lordheavy's repo and installed/updated all the mesa/vdpau stuff from your post but vdpauinfo returns this...
vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
Last edited by diesel1 (2016-09-13 23:46:22)
Registered GNU/Linux user #140607.
Offline
Hello I am an rx480 owner (will be shipped in a couple of days). I'd like to ask: what is the most 'painless' way to make this card work on Arch? In the past there was opensourse and binary driver. Now it's more complicated with this new hybrid driver. My priorities are good desktop experience on KDE, with Firefox, OpenCL support (Ideally 2.0, but I can live with 1.2). Also hw video acceleration would be nice. I don't care about gaming performance. Thanks.
Offline
The next message talks about differences between a previous beta version and the release.
Are there different versions available?
There was 15.11, but it was not interesting iirc. If you want to check it there's old src file here: https://drive.google.com/drive/folders/ … 3dkdVEySk0
You would have to add patches ie from catalyst-test@AUR if you want to use it with newer kernel.
Given that I am using an R9 290 card, am I correct in using the AMDGPU driver on its own?
I got 290x, so same chip. Here's the list of packages that I installed:
# LANG=C pacman -Sl mesa-git | grep -i install
mesa-git clang-svn 281305-1 [installed]
mesa-git clang-tools-extra-svn 281305-1 [installed]
mesa-git lib32-libdrm-git 5922.2d00869-1 [installed]
mesa-git lib32-llvm-libs-svn 281314-1 [installed]
mesa-git lib32-llvm-svn 281314-1 [installed]
mesa-git lib32-mesa-git 84796.a1e49be-1 [installed]
mesa-git lib32-mesa-libgl-git 84796.a1e49be-1 [installed]
mesa-git libclc-git 326.201609131041-1 [installed]
mesa-git libdrm-git 5922.2d00869-1 [installed]
mesa-git llvm-libs-svn 281305-1 [installed]
mesa-git llvm-ocaml-svn 281305-1 [installed]
mesa-git llvm-svn 281305-1 [installed]
mesa-git mesa-git 84796.a1e49be-1 [installed]
mesa-git mesa-libgl-git 84796.a1e49be-1 [installed]
mesa-git opencl-mesa-git 84796.a1e49be-1 [installed]
mesa-git vulkan-radeon-git 85347.3189e2a-1 [installed]
mesa-git wine-nine 1.9.15-2 [installed]
mesa-git xf86-video-amdgpu-git 225.0f8df85-1 [installed]
Does opengl works fine for you? glxinfo looks fine?
Hope you didn't forget to add CONFIG_DRM_AMDGPU_CIK=y into your kernel config before building it?
+ i'm always blacklisting radeon when using amdgpu, just in case
# cat /etc/modprobe.d/blacklist.conf | grep rad
blacklist radeon
As said before I'm using kernel from here https://cgit.freedesktop.org/~agd5f/lin … taging-4.7 (you can use it simply by taking ie. linux-git@AUR and changing source to git://people.freedesktop.org/~agd5f/linux#branch=amd-staging-4.7)
Yesterday I recompiled this kernel again and saw that CONFIG_DRM_AMDGPU_SI is available , in experimental stage just like CIK, but this means that now whole GCN family should be supported by amdgpu
Edit: just noted that changes in this fresh recompiled kernel did brake my multihead config (monitor via dvi + tv via hdmi), it boots fine with single monitor though - keep it in mind
Also other less or more interesting feature like CONFIG_DRM_AMD_DAL is available.
Oh, vulkan-radeon-git package listed above brings vulkan support also for amdgpu, can't test it on dota2 as it always throwing UI error, but vulkaninfo shoiws that some features are supported (by RADV driver)
Edit: darn, looks like fresh mesa-git/lib32-mesa-git in version 84866/84869 brings some performance dropdown and glitches ie in csgo, downgrade to 84796 solved problems.
OpenCL support (Ideally 2.0, but I can live with 1.2).
https://aur.archlinux.org/packages/amdgpu-pro is your way. You can check it it on default arch kernel as it's build with CONFIG_DRM_AMDGPU.
It makes my desktop freeze so I can't use it, but maybe it's because CIK support is still expereimental. If it does freeze on your side buld this pack with amdgpu-pro-dkms and install it. Didn't test it personally but I will try within weekend, especially that latelly guys did add patches for newer kernels
edit: ah, Corngood said on amdgpu-pro comments:
Firmwares and DKMS driver are now installed by default. I suggest installing them both or neither.
Using the DKMS driver fixes the fence errors in Vulkan (e.g. in Vulkan smoketest).
Last edited by Vi0L0 (2016-09-14 20:32:36)
Offline
Okay ViOLO,
I have got the kernel packages made but mkinitcpio gives this...
==> dkms install -m amdgpu-pro-16.30.3 -v 315407 -k 4.7.0-af8331c
Error! Bad return status for module build on kernel: 4.7.0-af8331c (x86_64)
This is the error log for the amdgpu-pro module...
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_object.h: In function ‘amdgpu_mem_type_to_domain’:
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_gds.h:34:24: error: ‘TTM_PL_PRIV0’ undeclared (first use in this functi
on)
#define AMDGPU_PL_GDS TTM_PL_PRIV0
^
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_object.h:49:7: note: in expansion of macro ‘AMDGPU_PL_GDS’
case AMDGPU_PL_GDS:
^~~~~~~~~~~~~
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_gds.h:34:24: note: each undeclared identifier is reported only once for
each function it appears in
#define AMDGPU_PL_GDS TTM_PL_PRIV0
^
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_object.h:49:7: note: in expansion of macro ‘AMDGPU_PL_GDS’
case AMDGPU_PL_GDS:
^~~~~~~~~~~~~
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_gds.h:35:24: error: ‘TTM_PL_PRIV1’ undeclared (first use in this functi
on)
#define AMDGPU_PL_GWS TTM_PL_PRIV1
^
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_object.h:51:7: note: in expansion of macro ‘AMDGPU_PL_GWS’
case AMDGPU_PL_GWS:
^~~~~~~~~~~~~
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_gds.h:36:23: error: ‘TTM_PL_PRIV2’ undeclared (first use in this functi
on)
#define AMDGPU_PL_OA TTM_PL_PRIV2
^
/var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/../amdgpu/amdgpu_object.h:53:7: note: in expansion of macro ‘AMDGPU_PL_OA’
case AMDGPU_PL_OA:
^~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:290: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu/amdgpu_drv.o] Error 1
make[1]: *** [scripts/Makefile.build:440: /var/lib/dkms/amdgpu-pro-16.30.3/315407/build/amd/amdgpu] Error 2
make: *** [Makefile:1457: _module_/var/lib/dkms/amdgpu-pro-16.30.3/315407/build] Error 2
make: Leaving directory '/usr/lib/modules/4.7.0-af8331c/build'
By the way, if you feel I need too much help and cannot spare the time/effort to guide me then just say so and I will return to 1.17 and fglrx.
Diesel1.
Last edited by diesel1 (2016-09-15 19:14:31)
Registered GNU/Linux user #140607.
Offline
Like said I was never looking at amdgpu-pro dkms, but theres a chance that I will try to run it within weekend.
Is it failing also on standard ARCH kernel, or lets say linux-lts kernel (ubuntu 16.4 was released with 4.4 kernel so it should fit well)?
I'm always happy to help, feel free to ask especially when problem doesn't look trivial. Sometimes i'm catching bigger lags but, you know, it's caused by other activites and lack of free time.
BTW why you decided to switch to pro? opencl support has won?
Last edited by Vi0L0 (2016-09-15 20:12:42)
Offline
Cheers ViOLO,
No I didn't decide to switch to pro, I think I might be a little mixed up with just what I am doing!
It is failing when I run sudo pacman -U on the (modified) linux-git pakages.
It is many years since I compiled a kernel and have very little recent experience but I am willing to learn and try.
Diesel1.
Last edited by diesel1 (2016-09-15 20:22:50)
Registered GNU/Linux user #140607.
Offline
You don't need any part of amdgpu-pro driver when using amdgpu. You only need:
- kernel with CONFIG_DRM_AMDGPU_CIK enabled - I assume that your kernel is fine, but later after getting back from work I'll post a build of amd-staging-4.7 x86_64 kernel that I did some time ago which works most stable and best for me [1],
- mesa (for x86_64 also lib32-mesa) and it's dependencies (mainly libdrm, llvm) - I'm using those provided by [mesa-git], newest from yesterday are working fine again, without glitches
- xf86-video-amdgpu video driver - xf86-video-amdgpu-git when using [mesa-git]
- optionally vdpau, vulkan, opencl libraries
After installing packages you only have to prepare bootloader entries for your kernel that won't contain and kind of nomodeset options.
It's good to create xorg.conf or at least /etc/X11/xorg.conf.d/20-amdgpu.conf with:
Section "Device"
Identifier "AMD"
Driver "amdgpu"
EndSection
+ like said in previous post I'm blacklisting radeon
and that's all, reboot, and should work just fine.
[1] Here are kernel packages: https://drive.google.com/open?id=0B-S6e … 2plVE9GRzQ compiled on 28.08.2016, with DAL, without CONFIG_DRM_AMDGPU_SI as it was not available then.
Last edited by Vi0L0 (2016-09-16 18:28:09)
Offline
Fabulous ViOLO,
I definitely had a mismatch of different packages. It looks straightforward now.
Diesel1.
Registered GNU/Linux user #140607.
Offline