You are not logged in.
Pages: 1
Hi,
I'm having odd graphics glitches or noise when running games or other programs using my discrete AMD GPU (via setting DRI_PRIME=1), as in the screenshot.
Everything else works fine and the performance is good but I haven't been able to pinpoint the nature of this problem. Setting TearFree doesn't seem to work. My GPU and driver situation is as follows (reported by `inxi -G`):
Please advise.
Mod Edit - Replaced oversized images with links.
CoC - Pasting pictures and code
Last edited by Slithery (2021-03-10 01:22:29)
Offline
Solved, although not fully understood: it turns out the issue was in that I wasn't using a compositor. The glitches have disappeared after run xcompmgr. Is this a known issue with the amdgpu driver?
Offline
DRI_PRIME requires good cooperation between the primary and secondary card & drivers.
please post
$ pacman -Qs xf86-video
$ glxinfo -B # comes with mesa-demos
$ DRI_PRIME=1 glxinfo -B
xorg log would also be helpful
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
There you go:
$pacman -Qs xf86-video
local/xf86-video-amdgpu 19.1.0-2 (xorg-drivers)
X.org amdgpu video driver
local/xf86-video-ati 1:19.1.0-2 (xorg-drivers)
X.org ati video driver
local/xf86-video-dummy 0.3.8-4 (xorg-drivers)
X.org dummy video driver
local/xf86-video-fbdev 0.5.0-2 (xorg-drivers)
X.org framebuffer video driver
local/xf86-video-intel 1:2.99.917+916+g31486f40-1 (xorg-drivers)
X.org Intel i810/i830/i915/945G/G965+ video drivers
local/xf86-video-nouveau 1.0.17-1 (xorg-drivers)
Open Source 3D acceleration driver for nVidia cards
local/xf86-video-openchrome 0.6.0-4 (xorg-drivers)
X.Org Openchrome drivers
local/xf86-video-qxl 0.1.5.r16.g52c421c-1 (xorg-drivers)
Xorg X11 qxl video driver
local/xf86-video-vesa 2.5.0-1 (xorg-drivers xorg)
X.org vesa video driver
local/xf86-video-vmware 13.3.0-2 (xorg-drivers)
X.org vmware video driver
local/xf86-video-voodoo 1.2.5-11 (xorg-drivers)
X.org 3dfx Voodoo1/Voodoo2 2D video driver
$glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2) (0x412)
Version: 20.3.4
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 4600 (HSW GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 20.3.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
$DRI_PRIME=1 glxinfo -B
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.40.0, 5.10.21-1-lts, LLVM 11.1.0) (0x67b1)
Version: 20.3.4
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 8171 MB, largest block: 8171 MB
VBO free aux. memory - total: 8169 MB, largest block: 8169 MB
Texture free memory - total: 8171 MB, largest block: 8171 MB
Texture free aux. memory - total: 8169 MB, largest block: 8169 MB
Renderbuffer free memory - total: 8171 MB, largest block: 8171 MB
Renderbuffer free aux. memory - total: 8169 MB, largest block: 8169 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 16384 MB
Currently available dedicated video memory: 8171 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon (TM) R9 390 Series (HAWAII, DRM 3.40.0, 5.10.21-1-lts, LLVM 11.1.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Offline
Sorry for late reply, I've been less active on forum lately and forgot I hadn't answered .
You have several unnecessary xf86-video- drivers, but most should be harmless .
remove xf86-video-intel , restart X and check .
post lspci -k output and xorg log from that start.
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
My primary card is Intel integrated, wouldn't removing xf86-video-intel cause problems with that?
Offline
On recent intel hardware (gen4 + ) xf86-video-intel tends to perform badly and generate problems.
Without it being present X will use its builtin modesetting driver.
If removing it doesn't help, just reinstall it.
Last edited by Lone_Wolf (2021-03-21 15:17:50)
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
After uninstalling xf86-video-intel Fluxbox failed to draw taskbar and other UI elements (sometimes they weren't drawn at all, sometimes garbled and unusable). For the time being, I added back the xf86-video-intel driver.
Last edited by mindbound (2021-03-28 09:06:42)
Offline
Pages: 1