Radeon rx 550 linux

Arch Linux

My discrete card (Radeon RX 550/550X) have worse performance than integrate one ( Intel UHD Graphics 620). I’ve noticed that when I try to play CS:GO.

System: Host: ivan-e480 Kernel: 4.19.12-arch1-1-ARCH x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: i3 4.16-51-gbfba56b1 Distro: Arch Linux Machine: Type: Laptop System: LENOVO product: 20KN001NGE v: ThinkPad E480 serial: Mobo: LENOVO model: 20KN001NGE v: SDK0J40697 WIN serial: UEFI: LENOVO v: R0PET42W (1.19 ) date: 06/14/2018 Battery: ID-1: BAT0 charge: 18.2 Wh condition: 46.3/45.7 Wh (101%) model: SMP 01AV447 status: Discharging CPU: Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31880 Speed: 800 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 Graphics: Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 Device-2: Advanced Micro Devices [AMD/ATI] Lexa PRO [Radeon RX 550/550X] vendor: Lenovo driver: amdgpu v: kernel bus ID: 02:00.0 Display: x11 server: X.Org 1.20.3 driver: amdgpu,ati,intel unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.3.1 direct render: Yes Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 Sound Server: ALSA v: k4.19.12-arch1-1-ARCH Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: c000 bus ID: 03:00.0 IF: enp3s0 state: down mac: Device-2: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi v: kernel port: c000 bus ID: 05:00.0 IF: wlp5s0 state: up mac: Drives: Local Storage: total: 995.75 GiB used: 131.07 GiB (13.2%) ID-1: /dev/mmcblk0 model: SD16G size: 58.64 GiB ID-2: /dev/nvme0n1 vendor: Samsung model: MZVLW256HEHP-000L7 size: 238.47 GiB ID-3: /dev/sda vendor: Toshiba model: MQ01ABD075 size: 698.64 GiB Partition: ID-1: / size: 224.77 GiB used: 131.01 GiB (58.3%) fs: ext4 dev: /dev/dm-0 ID-2: swap-1 size: 8.80 GiB used: 64.5 MiB (0.7%) fs: swap dev: /dev/dm-1 Sensors: System Temperatures: cpu: 47.0 C mobo: N/A gpu: amdgpu temp: 42 C Fan Speeds (RPM): cpu: 0 Info: Processes: 289 Uptime: 1h 20m Memory: 23.31 GiB used: 4.09 GiB (17.6%) Init: systemd Compilers: gcc: 8.2.1 Shell: bash v: 4.4.23 inxi: 3.0.27

Last edited by iovanom (2019-01-13 19:36:33)

#2 2018-12-28 19:14:20

Re: [SOLVED] Radeon RX 550/550X bad performance

Welcome to the forum. Please edit your post to use [ code ] tags around the inxi output, and use a pastebin client for the Xorg log (google drive requires us to download the file, something most people will not do).

Читайте также:  Сколько весит арч линукс

How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

#3 2018-12-28 19:22:16

Re: [SOLVED] Radeon RX 550/550X bad performance

Welcome to the forum. Please edit your post to use [ code ] tags around the inxi output, and use a pastebin client for the Xorg log (google drive requires us to download the file, something most people will not do).

https://wiki.archlinux.org/index.php/Co … s_and_code
https://bbs.archlinux.org/help.php#bbcode
https://wiki.archlinux.org/index.php/Li … in_clients

#4 2018-12-30 12:38:43

Lone_Wolf Member From: Netherlands, Europe Registered: 2005-10-04 Posts: 11,063

Re: [SOLVED] Radeon RX 550/550X bad performance

xorg log doesn’t show problems in the graphical setup.

You have a hybrid graphics system using a PRIME setup .

Post xrandr —listproviders output .
If that looks similar to the example on the prime page, check it’s gpu offloading section .

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

(A works at time B) && (time C > time B ) ≠ (A works at time C)

#5 2019-01-03 09:03:17

Re: [SOLVED] Radeon RX 550/550X bad performance

xorg log doesn’t show problems in the graphical setup.

You have a hybrid graphics system using a PRIME setup .

Post xrandr —listproviders output .
If that looks similar to the example on the prime page, check it’s gpu offloading section .

This is the output from xrandr —listproviders command:

$ xrand --listproviders Providers: number : 2 Provider 0: id: 0x6d cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 5 associated providers: 1 name:Intel Provider 1: id: 0x44 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 5 outputs: 0 associated providers: 1 name:Radeon 500 Series @ pci:0000:02:00.0
$ glmark2 ======================================================= glmark2 2017.07 ======================================================= OpenGL Information GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) GL_VERSION: 3.0 Mesa 18.3.1 ======================================================= [build] use-vbo=false: FPS: 2392 FrameTime: 0.418 ms [build] use-vbo=true: FPS: 2583 FrameTime: 0.387 ms [texture] texture-filter=nearest: FPS: 2469 FrameTime: 0.405 ms [texture] texture-filter=linear: FPS: 2433 FrameTime: 0.411 ms [texture] texture-filter=mipmap: FPS: 2317 FrameTime: 0.432 ms [shading] shading=gouraud: FPS: 2130 FrameTime: 0.469 ms [shading] shading=blinn-phong-inf: FPS: 2154 FrameTime: 0.464 ms [shading] shading=phong: FPS: 1975 FrameTime: 0.506 ms [shading] shading=cel: FPS: 2011 FrameTime: 0.497 ms [bump] bump-render=high-poly: FPS: 1312 FrameTime: 0.762 ms [bump] bump-render=normals: FPS: 2309 FrameTime: 0.433 ms [bump] bump-render=height: FPS: 2230 FrameTime: 0.448 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 1732 FrameTime: 0.577 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 938 FrameTime: 1.066 ms [pulsar] light=false:quads=5:texture=false: FPS: 2280 FrameTime: 0.439 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 823 FrameTime: 1.215 ms [desktop] effect=shadow:windows=4: FPS: 1392 FrameTime: 0.718 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 584 FrameTime: 1.712 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 460 FrameTime: 2.174 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 648 FrameTime: 1.543 ms [ideas] speed=duration: FPS: 1380 FrameTime: 0.725 ms [jellyfish] : FPS: 1492 FrameTime: 0.670 ms [terrain] : FPS: 167 FrameTime: 5.988 ms [shadow] : FPS: 1478 FrameTime: 0.677 ms [refract] : FPS: 344 FrameTime: 2.907 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 2077 FrameTime: 0.481 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 1891 FrameTime: 0.529 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 1484 FrameTime: 0.674 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 1496 FrameTime: 0.668 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 1739 FrameTime: 0.575 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 2200 FrameTime: 0.455 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 2302 FrameTime: 0.434 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 2292 FrameTime: 0.436 ms ======================================================= glmark2 Score: 1682 =======================================================
$ DRI_PRIME=1 glmark2 ======================================================= glmark2 2017.07 ======================================================= OpenGL Information GL_VENDOR: X.Org GL_RENDERER: Radeon 500 Series (POLARIS12, DRM 3.27.0, 4.20.0-arch1-1-ARCH, LLVM 7.0.0) GL_VERSION: 4.5 (Compatibility Profile) Mesa 18.3.1 ======================================================= [build] use-vbo=false: FPS: 419 FrameTime: 2.387 ms [build] use-vbo=true: FPS: 469 FrameTime: 2.132 ms [texture] texture-filter=nearest: FPS: 534 FrameTime: 1.873 ms [texture] texture-filter=linear: FPS: 541 FrameTime: 1.848 ms [texture] texture-filter=mipmap: FPS: 513 FrameTime: 1.949 ms [shading] shading=gouraud: FPS: 524 FrameTime: 1.908 ms [shading] shading=blinn-phong-inf: FPS: 512 FrameTime: 1.953 ms [shading] shading=phong: FPS: 500 FrameTime: 2.000 ms [shading] shading=cel: FPS: 519 FrameTime: 1.927 ms [bump] bump-render=high-poly: FPS: 443 FrameTime: 2.257 ms [bump] bump-render=normals: FPS: 540 FrameTime: 1.852 ms [bump] bump-render=height: FPS: 543 FrameTime: 1.842 ms [effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 527 FrameTime: 1.898 ms [effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 496 FrameTime: 2.016 ms [pulsar] light=false:quads=5:texture=false: FPS: 540 FrameTime: 1.852 ms [desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 446 FrameTime: 2.242 ms [desktop] effect=shadow:windows=4: FPS: 494 FrameTime: 2.024 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 335 FrameTime: 2.985 ms [buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 344 FrameTime: 2.907 ms [buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 368 FrameTime: 2.717 ms [ideas] speed=duration: FPS: 538 FrameTime: 1.859 ms [jellyfish] : FPS: 459 FrameTime: 2.179 ms [terrain] : FPS: 270 FrameTime: 3.704 ms [shadow] : FPS: 495 FrameTime: 2.020 ms [refract] : FPS: 344 FrameTime: 2.907 ms [conditionals] fragment-steps=0:vertex-steps=0: FPS: 538 FrameTime: 1.859 ms [conditionals] fragment-steps=5:vertex-steps=0: FPS: 552 FrameTime: 1.812 ms [conditionals] fragment-steps=0:vertex-steps=5: FPS: 560 FrameTime: 1.786 ms [function] fragment-complexity=low:fragment-steps=5: FPS: 561 FrameTime: 1.783 ms [function] fragment-complexity=medium:fragment-steps=5: FPS: 566 FrameTime: 1.767 ms [loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 565 FrameTime: 1.770 ms [loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 565 FrameTime: 1.770 ms [loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 564 FrameTime: 1.773 ms ======================================================= glmark2 Score: 490 =======================================================

Last edited by iovanom (2019-01-03 12:03:31)

Источник

Читайте также:  Server migration in linux

Getting Radeon RX 550 to work under Debian Stretch

There are three things that need to be updated in Debian Stretch in order to get the Radeon RX 550 running properly (or at all): kernel, mesa and proprietary binary firmware (bummer, I know).

First thing, make sure you have stretch-backports in your apt-sources with all the relevant components.

$ deb http://ftp.debian.org/debian stretch-backports main contrib non-free

Now, the kernel that currently comes with stretch (4.9.0-8) is missing some important configurations: CONFIG_DRM_AMDGPU_SI , and CONFIG_DRM_AMDGPU_CIK . So you will need to install the latest one from the backports which does have the correct configuration.

$ sudo apt install -t stretch-backports linux-image-amd64

Next thing is getting the proper firmware

$ sudo apt install -t stretch-backports firmware-linux-nonfree

This will also update the firmware-amd-graphics which provides the binary blobs that are needed by the amdgpu driver to work properly. The old version does not support the new Polaris 12 architecture used by the RX 550, while the version from the backports ( 20180825 ) does support Polaris 12.

Now comes the part of upgrading mesa. There are a bunch binary packages that are derived from the mesa source package and we need to upgrade each one of them to version 18 (or later, but 18 is what is provided by the backports). The following two commands will upgrade any mesa related package already installed and then re-mark them as automatically installed (just to keep things tidy as they were).

sudo apt install -t stretch-backports $(grep-status -S mesa -a -FStatus "install ok installed" -s Package -n | sort -u) sudo apt-mark auto $(grep-status -S mesa -a -FStatus "install ok installed" -s Package -n | sort -u)

(credit for the last two lines). Now you can restart your computer and the RX 550 should work. You can test it using

Читайте также:  Tp link tl wn725n nano linux

$ DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon 500 Series (POLARIS12, DRM 3.26.0, 4.18.0-0.bpo.1-amd64, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.1.6

The DRI_PRIME=1 is necessary, else glxinfo would use the integrated card.

This is not necessary, but if lspci does not properly display the RX 550, you will need to update the PCI IDs that are used to translate IDs to actual human-readable names.

Final word, if you are using TLP for power management, it may not play nice with the RX 550. With TLP enabled I get pretty horrible performance out of it (regardless of being on AC or battery).

Источник

Оцените статью
Adblock
detector