You are not logged in.

#1 2018-03-05 19:23:32

ezaccount
Member
Registered: 2018-03-05
Posts: 2

Hybrid laptop graphics

I'm using Arch linux on DELL Latitude E5570 with discrete AMD Radeon R7 M360 card.
It seems like system doesn't recognize discrete card. I was fine with Intel Graphics for last year, but now I need to use some graphics-intensive apps.
I've installed the open-source driver amdgpu but radeon card is not listed.

$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x7c cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 7 associated providers: 1 name:Intel
Provider 1: id: 0x41 cap: 0x5, Source Output, Source Offload crtcs: 2 outputs: 0 associated providers: 1 name:modesetting
$ pacman -Q | grep mesa
lib32-mesa 17.3.6-1
mesa 17.3.6-1
mesa-demos 8.4.0-1
$ pacman -Q | grep amd
xf86-video-amdgpu 1.4.0-1

I want to use https://wiki.archlinux.org/index.php/PRIME but kinda confused with driver for AMD card.

Last edited by ezaccount (2018-03-05 19:24:15)

Offline

#2 2018-03-05 20:35:33

Taijian
Member
Registered: 2016-04-10
Posts: 74

Re: Hybrid laptop graphics

What kind of output does

DRI_PRIME=1 glxinfo | grep OpenGL

give you?

Offline

#3 2018-03-05 21:14:14

ezaccount
Member
Registered: 2018-03-05
Posts: 2

Re: Hybrid laptop graphics

$ DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: AMD OLAND (DRM 2.50.0 / 4.15.6-1-ARCH, LLVM 5.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 17.3.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 17.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

Offline

#4 2018-03-05 21:54:08

Taijian
Member
Registered: 2016-04-10
Posts: 74

Re: Hybrid laptop graphics

Well, there you go. The card gets recognized just fine, all you have to do is launch the stuff that you want to run on it with DRI_PRIME=1 (as it says in the wiki article that you referenced).

Offline

#5 2018-03-06 13:26:51

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,893

Re: Hybrid laptop graphics

xrandr --listproviders shows the name of the driver used, not the the actual hardware details .

Combining glxinfo & xrandr output i expect your card is using the radeon kernel module, mesa radeonsi driver and X modesetting.
You also have xf86-video-intel installed.

If you want to know more, post lspci -k and xorg logs.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB