Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amdgpu no hw acceleration on gnome3 ?? - workaround amdgpu disable DRI3 in xorg.conf and switch to DRI2 #72

Closed
rut78HR opened this issue Apr 27, 2021 · 9 comments
Labels
amdgpu amdgpu related problems

Comments

@rut78HR
Copy link

rut78HR commented Apr 27, 2021

Did anyone have a problem similar to mine with Gnome3. Namely, when starting, I have a big lag on loading that never goes away. If i switch betwen consoles only then is it seen that Gnome3 "works" . Other windows managers works OK (i try Mate/Xfce/Kde and i dont see any problem). HW acceleration works OK. Have tryed both 13-RELEASE and 14-current and same problem on both.

Is this mutter/gnome3 related problem or maye is something with drm-kmod-devel on amdgpu ??

rut@pila:~ % pciconf -lv
hostb0@pci0:0:0:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15d0 subvendor=0x1022 subdevice=0x15d0
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Root Complex'
class = bridge
subclass = HOST-PCI
none0@pci0:0:0:2: class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15d1 subvendor=0x1022 subdevice=0x15d1
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 IOMMU'
class = base peripheral
subclass = IOMMU
hostb1@pci0:0:1:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
class = bridge
subclass = HOST-PCI
pcib1@pci0:0:1:2: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x15d3 subvendor=0x1022 subdevice=0x1453
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 PCIe GPP Bridge [6:0]'
class = bridge
subclass = PCI-PCI
pcib2@pci0:0:1:7: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x15d3 subvendor=0x1022 subdevice=0x1453
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 PCIe GPP Bridge [6:0]'
class = bridge
subclass = PCI-PCI
hostb2@pci0:0:8:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x1452 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge'
class = bridge
subclass = HOST-PCI
pcib3@pci0:0:8:1: class=0x060400 rev=0x00 hdr=0x01 vendor=0x1022 device=0x15db subvendor=0x1022 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A'
class = bridge
subclass = PCI-PCI
intsmb0@pci0:0:20:0: class=0x0c0500 rev=0x61 hdr=0x00 vendor=0x1022 device=0x790b subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'FCH SMBus Controller'
class = serial bus
subclass = SMBus
isab0@pci0:0:20:3: class=0x060100 rev=0x51 hdr=0x00 vendor=0x1022 device=0x790e subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'FCH LPC Bridge'
class = bridge
subclass = PCI-ISA
hostb3@pci0:0:24:0: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e8 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 0'
class = bridge
subclass = HOST-PCI
hostb4@pci0:0:24:1: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e9 subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 1'
class = bridge
subclass = HOST-PCI
hostb5@pci0:0:24:2: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15ea subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 2'
class = bridge
subclass = HOST-PCI
hostb6@pci0:0:24:3: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15eb subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 3'
class = bridge
subclass = HOST-PCI
hostb7@pci0:0:24:4: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15ec subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 4'
class = bridge
subclass = HOST-PCI
hostb8@pci0:0:24:5: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15ed subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 5'
class = bridge
subclass = HOST-PCI
hostb9@pci0:0:24:6: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15ee subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 6'
class = bridge
subclass = HOST-PCI
hostb10@pci0:0:24:7: class=0x060000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15ef subvendor=0x0000 subdevice=0x0000
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2 Device 24: Function 7'
class = bridge
subclass = HOST-PCI
iwm0@pci0:1:0:0: class=0x028000 rev=0x93 hdr=0x00 vendor=0x8086 device=0x08b4 subvendor=0x8086 subdevice=0x8270
vendor = 'Intel Corporation'
device = 'Wireless 3160'
class = network
nvme0@pci0:2:0:0: class=0x010802 rev=0x00 hdr=0x00 vendor=0x144d device=0xa808 subvendor=0x144d subdevice=0xa801
vendor = 'Samsung Electronics Co Ltd'
device = 'NVMe SSD Controller SM981/PM981/PM983'
class = mass storage
subclass = NVM
vgapci0@pci0:3:0:0: class=0x030000 rev=0xc2 hdr=0x00 vendor=0x1002 device=0x15d8 subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Picasso'
class = display
subclass = VGA
hdac0@pci0:3:0:1: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1002 device=0x15de subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]'
device = 'Raven/Raven2/Fenghuang HDMI/DP Audio Controller'
class = multimedia
subclass = HDA
none1@pci0:3:0:2: class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15df subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 17h (Models 10h-1fh) Platform Security Processor'
class = encrypt/decrypt
xhci0@pci0:3:0:3: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e0 subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven USB 3.1'
class = serial bus
subclass = USB
xhci1@pci0:3:0:4: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e1 subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven USB 3.1'
class = serial bus
subclass = USB
none2@pci0:3:0:5: class=0x048000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e2 subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Raven/Raven2/FireFlight/Renoir Audio Processor'
class = multimedia
hdac1@pci0:3:0:6: class=0x040300 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15e3 subvendor=0x19e5 subdevice=0x3e14
vendor = 'Advanced Micro Devices, Inc. [AMD]'
device = 'Family 17h (Models 10h-1fh) HD Audio Controller'
class = multimedia
subclass = HDA

rut@pila:~ % pkg info | grep drm-
drm-devel-kmod-5.4.92.g20210419 DRM modules for the linuxkpi-based KMS components (development version)
libdrm-2.4.104,1 Userspace interface to kernel Direct Rendering Module services

To Reproduce
start gdm or gnome-session (latest from ports or binary pkg)

https://i.postimg.cc/9F6zDk3r/20210420-112811.jpg
https://i.postimg.cc/rpcmJtwT/20210420-112823.jpg
https://i.postimg.cc/SNCYf4fW/20210420-112842.jpg
https://i.postimg.cc/B6jBqy9M/20210420-113439.jpg

https://i.postimg.cc/MT1Jr9Pr/20210420-113120.jpg

last picture is from MATE where hw acceleration works OK .

@rut78HR
Copy link
Author

rut78HR commented Apr 27, 2021

i manage to find workaround for this problem .. in xorg.conf i have to disable DRI3 and use DRI2 to this freeezee/laggg go away ..

##Option "DRI3" "1"
Option "DRI" "2"

so is somthing broken with xorg / amdgpu / gnome3 to use DRI3 ??

rut@pila:/var/log % cat Xorg.0.log
[ 17.650] (--) Log file renamed from "/var/log/Xorg.pid-1260.log" to "/var/log/Xorg.0.log"
[ 17.653]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 17.653] Build Operating System: FreeBSD 14.0-CURRENT amd64
[ 17.653] Current Operating System: FreeBSD pila 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n246078-14d0cd7225e: Thu Apr 15 08:36:43 UTC 2021 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
[ 17.653] Build Date: 27 April 2021 10:37:33AM
[ 17.653]
[ 17.653] Current version of pixman: 0.40.0
[ 17.653] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 17.653] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 17.653] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 27 13:32:29 2021
[ 17.655] (==) Using config file: "/etc/X11/xorg.conf"
[ 17.655] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 17.657] (==) ServerLayout "X.org Configured"
[ 17.657] (
) |-->Screen "Screen0" (0)
[ 17.657] () | |-->Monitor "Monitor0"
[ 17.657] (
) | |-->Device "Card0"
[ 17.657] () |-->Input Device "Mouse0"
[ 17.657] (
) |-->Input Device "Keyboard0"
[ 17.657] (==) Automatically adding devices
[ 17.657] (==) Automatically enabling devices
[ 17.657] (==) Not automatically adding GPU devices
[ 17.657] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 17.658] (WW) The directory "/usr/local/share/fonts/misc/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/Type1/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/100dpi/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/75dpi/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/misc/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/Type1/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/100dpi/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] (WW) The directory "/usr/local/share/fonts/75dpi/" does not exist.
[ 17.658] Entry deleted from font path.
[ 17.658] () FontPath set to:
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
catalogue:/usr/local/etc/X11/fontpath.d,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 17.658] (
) ModulePath set to "/usr/local/lib/xorg/modules"
[ 17.658] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 17.658] (WW) Disabling Mouse0
[ 17.658] (WW) Disabling Keyboard0
[ 17.658] (II) Loader magic: 0x4359f0
[ 17.658] (II) Module ABI versions:
[ 17.658] X.Org ANSI C Emulation: 0.4
[ 17.658] X.Org Video Driver: 24.1
[ 17.658] X.Org XInput driver : 24.1
[ 17.658] X.Org Server Extension : 10.0
[ 17.659] (--) PCI:*(3@0:0:0) 1002:15d8:19e5:3e14 rev 194, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0xc0500000/524288, I/O @ 0x00001000/256, BIOS @ 0x????????/65536
[ 17.659] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 17.659] (II) LoadModule: "glx"
[ 17.660] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 17.667] (II) Module glx: vendor="X.Org Foundation"
[ 17.667] compiled for 1.20.11, module version = 1.0.0
[ 17.667] ABI class: X.Org Server Extension, version 10.0
[ 17.667] (II) LoadModule: "amdgpu"
[ 17.667] (II) Loading /usr/local/lib/xorg/modules/drivers/amdgpu_drv.so
[ 17.668] (II) Module amdgpu: vendor="X.Org Foundation"
[ 17.668] compiled for 1.20.9, module version = 19.1.0
[ 17.668] Module class: X.Org Video Driver
[ 17.668] ABI class: X.Org Video Driver, version 24.1
[ 17.668] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 17.668] (--) Using syscons driver with X support (version 2.0)
[ 17.668] (++) using VT number 9

[ 17.678] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 17.682] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 17.682] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[ 17.682] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 17.682] (==) AMDGPU(0): Default visual is TrueColor
[ 17.682] () AMDGPU(0): Option "SWcursor" "true"
[ 17.682] (
) AMDGPU(0): Option "DRI" "2"
[ 17.682] () AMDGPU(0): Option "TearFree" "true"
[ 17.682] (==) AMDGPU(0): RGB weight 888
[ 17.682] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[ 17.682] (--) AMDGPU(0): Chipset: "AMD Radeon(TM) Vega 8 Graphics" (ChipID = 0x15d8)
[ 17.682] (II) Loading sub module "fb"
[ 17.682] (II) LoadModule: "fb"
[ 17.682] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 17.683] (II) Module fb: vendor="X.Org Foundation"
[ 17.683] compiled for 1.20.11, module version = 1.0.0
[ 17.683] ABI class: X.Org ANSI C Emulation, version 0.4
[ 17.683] (II) Loading sub module "dri2"
[ 17.683] (II) LoadModule: "dri2"
[ 17.683] (II) Module "dri2" already built-in
[ 17.890] (II) Loading sub module "glamoregl"
[ 17.890] (II) LoadModule: "glamoregl"
[ 17.890] (II) Loading /usr/local/lib/xorg/modules/drivers/libglamoregl.so
[ 17.906] (II) Module glamoregl: vendor="X.Org Foundation"
[ 17.906] compiled for 1.20.11, module version = 1.0.1
[ 17.906] ABI class: X.Org ANSI C Emulation, version 0.4
[ 17.927] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon(TM) Vega 8 Graphics (RAVEN, DRM 3.35.0, 14.0-CURRENT, LLVM 10.0.1)
[ 17.927] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 17.927] (
) AMDGPU(0): TearFree property default: on
[ 17.927] (==) AMDGPU(0): VariableRefresh: disabled
[ 17.927] (II) AMDGPU(0): KMS Pageflipping: enabled
[ 17.927] (II) AMDGPU(0): Output eDP using monitor section Monitor0
[ 17.927] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[ 17.945] (II) AMDGPU(0): EDID for output eDP
[ 17.945] (II) AMDGPU(0): Manufacturer: CMN Model: 8201 Serial#: 0
[ 17.945] (II) AMDGPU(0): Year: 2018 Week: 25
[ 17.945] (II) AMDGPU(0): EDID Version: 1.4
[ 17.945] (II) AMDGPU(0): Digital Display Input
[ 17.945] (II) AMDGPU(0): 8 bits per channel
[ 17.945] (II) AMDGPU(0): Digital interface is DisplayPort
[ 17.945] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 28 vert.: 18
[ 17.945] (II) AMDGPU(0): Gamma: 2.20
[ 17.945] (II) AMDGPU(0): No DPMS capabilities specified
[ 17.945] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4
[ 17.945] (II) AMDGPU(0): First detailed timing is preferred mode
[ 17.945] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[ 17.945] (II) AMDGPU(0): redX: 0.642 redY: 0.333 greenX: 0.304 greenY: 0.613
[ 17.945] (II) AMDGPU(0): blueX: 0.153 blueY: 0.054 whiteX: 0.313 whiteY: 0.329
[ 17.945] (II) AMDGPU(0): Manufacturer's mask: 0
[ 17.945] (II) AMDGPU(0): Supported detailed timing:
[ 17.945] (II) AMDGPU(0): clock: 206.0 MHz Image Size: 275 x 183 mm
[ 17.945] (II) AMDGPU(0): h_active: 2160 h_sync: 2208 h_sync_end 2240 h_blank_end 2320 h_border: 0
[ 17.945] (II) AMDGPU(0): v_active: 1440 v_sync: 1443 v_sync_end 1453 v_blanking: 1480 v_border: 0
[ 17.945] (II) AMDGPU(0): Monitor name: P130ZFA-BA1
[ 17.945] (II) AMDGPU(0): EDID (in hex):
[ 17.945] (II) AMDGPU(0): 00ffffffffffff000dae018200000000
[ 17.945] (II) AMDGPU(0): 191c0104a51c1278025c75a4554d9d27
[ 17.945] (II) AMDGPU(0): 0d505400000001010101010101010101
[ 17.945] (II) AMDGPU(0): 0101010101017a5070a080a028503020
[ 17.945] (II) AMDGPU(0): 3a0013b7100000180000000000000000
[ 17.945] (II) AMDGPU(0): 00000000000000000000000000000000
[ 17.945] (II) AMDGPU(0): 000000000000000000000000000000fc
[ 17.945] (II) AMDGPU(0): 00503133305a46412d4241310a0a0001
[ 17.945] (II) AMDGPU(0): Printing probed modes for output eDP
[ 17.945] (II) AMDGPU(0): Modeline "2160x1440"x60.0 206.02 2160 2208 2240 2320 1440 1443 1453 1480 -hsync -vsync (88.8 kHz eP)
[ 17.945] (II) AMDGPU(0): Modeline "1920x1200"x60.0 206.02 1920 2208 2240 2320 1200 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1920x1080"x60.0 206.02 1920 2208 2240 2320 1080 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1600x1200"x60.0 206.02 1600 2208 2240 2320 1200 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1680x1050"x60.0 206.02 1680 2208 2240 2320 1050 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1280x1024"x60.0 206.02 1280 2208 2240 2320 1024 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1440x900"x60.0 206.02 1440 2208 2240 2320 900 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1280x800"x60.0 206.02 1280 2208 2240 2320 800 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1280x720"x60.0 206.02 1280 2208 2240 2320 720 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "1024x768"x60.0 206.02 1024 2208 2240 2320 768 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "800x600"x60.0 206.02 800 2208 2240 2320 600 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): Modeline "640x480"x60.0 206.02 640 2208 2240 2320 480 1443 1453 1480 -hsync -vsync (88.8 kHz e)
[ 17.945] (II) AMDGPU(0): EDID for output DisplayPort-0
[ 17.945] (II) AMDGPU(0): Output eDP connected
[ 17.945] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[ 17.945] (II) AMDGPU(0): Using exact sizes for initial modes
[ 17.945] (II) AMDGPU(0): Output eDP using initial mode 2160x1440 +0+0
[ 17.945] (II) AMDGPU(0): mem size init: gart size :bfb98000 vram size: s:3e437000 visible:e845000
[ 17.945] (==) AMDGPU(0): DPI set to (96, 96)
[ 17.945] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[ 17.946] (II) AMDGPU(0): [DRI2] Setup complete
[ 17.946] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 17.946] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 17.974] (II) AMDGPU(0): Front buffer pitch: 8704 bytes
[ 17.975] () AMDGPU(0): DRI3 disabled
[ 17.975] (==) AMDGPU(0): Backing store enabled
[ 17.975] (II) AMDGPU(0): Direct rendering enabled
[ 17.994] (II) AMDGPU(0): Use GLAMOR acceleration.
[ 17.994] (II) AMDGPU(0): Acceleration enabled
[ 17.994] (==) AMDGPU(0): DPMS enabled
[ 17.994] (==) AMDGPU(0): Silken mouse enabled
[ 17.994] (II) AMDGPU(0): Set up textured video (glamor)
[ 18.011] (II) Initializing extension Generic Event Extension
[ 18.012] (II) Initializing extension SHAPE
[ 18.012] (II) Initializing extension MIT-SHM
[ 18.013] (II) Initializing extension XInputExtension
[ 18.014] (II) Initializing extension XTEST
[ 18.014] (II) Initializing extension BIG-REQUESTS
[ 18.015] (II) Initializing extension SYNC
[ 18.015] (II) Initializing extension XKEYBOARD
[ 18.015] (II) Initializing extension XC-MISC
[ 18.016] (II) Initializing extension SECURITY
[ 18.016] (II) Initializing extension XFIXES
[ 18.017] (II) Initializing extension RENDER
[ 18.017] (II) Initializing extension RANDR
[ 18.018] (II) Initializing extension COMPOSITE
[ 18.019] (II) Initializing extension DAMAGE
[ 18.019] (II) Initializing extension MIT-SCREEN-SAVER
[ 18.019] (II) Initializing extension DOUBLE-BUFFER
[ 18.020] (II) Initializing extension RECORD
[ 18.020] (II) Initializing extension DPMS
[ 18.021] (II) Initializing extension Present
[ 18.021] (II) Initializing extension DRI3
[ 18.021] (II) Initializing extension X-Resource
[ 18.022] (II) Initializing extension XVideo
[ 18.022] (II) Initializing extension XVideo-MotionCompensation
[ 18.022] (II) Initializing extension GLX
[ 18.029] (II) AIGLX: Loaded and initialized radeonsi
[ 18.029] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 18.029] (II) Initializing extension XFree86-VidModeExtension
[ 18.029] (II) Initializing extension XFree86-DGA
[ 18.030] (II) Initializing extension XFree86-DRI
[ 18.030] (II) Initializing extension DRI2
[ 18.038] (II) AMDGPU(0): Setting screen physical size to 571 x 381
[ 18.272] (II) config/udev: Adding input device System mouse (/dev/input/event0)
[ 18.272] (
) System mouse: Applying InputClass "evdev pointer catchall"
[ 18.272] () System mouse: Applying InputClass "libinput pointer catchall"
[ 18.272] (II) LoadModule: "libinput"
[ 18.273] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 18.278] (II) Module libinput: vendor="X.Org Foundation"
[ 18.278] compiled for 1.20.9, module version = 0.30.0
[ 18.278] Module class: X.Org XInput Driver
[ 18.278] ABI class: X.Org XInput driver, version 24.1
[ 18.278] (II) Using input driver 'libinput' for 'System mouse'
[ 18.278] (
) System mouse: always reports core events
[ 18.278] () Option "Device" "/dev/input/event0"
[ 18.278] (
) Option "_source" "server/udev"
[ 18.284] (II) event0 - System mouse: is tagged by udev as: Mouse
[ 18.284] (II) event0 - System mouse: device is a pointer
[ 18.285] (II) event0 - System mouse: device removed
[ 18.285] () Option "config_info" "udev:/dev/input/event0"
[ 18.285] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 6)
[ 18.285] (
) Option "AccelerationScheme" "none"
[ 18.285] () System mouse: (accel) selected scheme none/0
[ 18.285] (
) System mouse: (accel) acceleration factor: 2.000
[ 18.285] () System mouse: (accel) acceleration threshold: 4
[ 18.286] (II) event0 - System mouse: is tagged by udev as: Mouse
[ 18.286] (II) event0 - System mouse: device is a pointer
[ 18.286] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event1)
[ 18.286] (
) System keyboard multiplexer: Applying InputClass "evdev keyboard catchall"
[ 18.286] () System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 18.286] (
) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 18.286] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 18.286] () System keyboard multiplexer: always reports core events
[ 18.286] (
) Option "Device" "/dev/input/event1"
[ 18.286] () Option "_source" "server/udev"
[ 18.287] (II) event1 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 18.287] (II) event1 - System keyboard multiplexer: device is a keyboard
[ 18.288] (II) event1 - System keyboard multiplexer: device removed
[ 18.288] (
) Option "config_info" "udev:/dev/input/event1"
[ 18.288] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 7)
[ 18.288] () Option "xkb_rules" "evdev"
[ 18.435] (II) event1 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 18.435] (II) event1 - System keyboard multiplexer: device is a keyboard
[ 18.436] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 18.436] (
) Power Button: Applying InputClass "evdev keyboard catchall"
[ 18.436] () Power Button: Applying InputClass "Evdev keyboard"
[ 18.436] (
) Power Button: Applying InputClass "libinput keyboard catchall"
[ 18.436] (II) Using input driver 'libinput' for 'Power Button'
[ 18.436] () Power Button: always reports core events
[ 18.436] (
) Option "Device" "/dev/input/event2"
[ 18.436] () Option "_source" "server/udev"
[ 18.436] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 18.437] (II) event2 - Power Button: device is a keyboard
[ 18.437] (II) event2 - Power Button: device removed
[ 18.437] (
) Option "config_info" "udev:/dev/input/event2"
[ 18.437] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 18.437] () Option "xkb_rules" "evdev"
[ 18.438] (II) event2 - Power Button: is tagged by udev as: Keyboard
[ 18.438] (II) event2 - Power Button: device is a keyboard
[ 18.438] (II) config/udev: Adding input device AT keyboard (/dev/input/event3)
[ 18.438] (
) AT keyboard: Applying InputClass "evdev keyboard catchall"
[ 18.438] () AT keyboard: Applying InputClass "Evdev keyboard"
[ 18.438] (
) AT keyboard: Applying InputClass "libinput keyboard catchall"
[ 18.438] (II) Using input driver 'libinput' for 'AT keyboard'
[ 18.438] () AT keyboard: always reports core events
[ 18.438] (
) Option "Device" "/dev/input/event3"
[ 18.438] () Option "_source" "server/udev"
[ 18.439] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 18.439] (II) event3 - AT keyboard: device is a keyboard
[ 18.439] (II) event3 - AT keyboard: device removed
[ 18.439] (
) Option "config_info" "udev:/dev/input/event3"
[ 18.439] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 9)
[ 18.439] () Option "xkb_rules" "evdev"
[ 18.440] (II) event3 - AT keyboard: is tagged by udev as: Keyboard
[ 18.440] (II) event3 - AT keyboard: device is a keyboard
[ 18.441] (II) config/udev: Adding input device Control Method Lid Switch (/dev/input/event4)
[ 18.441] (II) No input driver specified, ignoring this device.
[ 18.441] (II) This device may have been added with another device file.
[ 18.441] (II) config/udev: Adding input device Logitech USB Optical Mouse (/dev/input/event5)
[ 18.441] (
) Logitech USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 18.441] () Logitech USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[ 18.441] (II) Using input driver 'libinput' for 'Logitech USB Optical Mouse'
[ 18.441] (
) Logitech USB Optical Mouse: always reports core events
[ 18.441] () Option "Device" "/dev/input/event5"
[ 18.441] (
) Option "_source" "server/udev"
[ 18.442] (II) event5 - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 1: is tagged by udev as: Mouse
[ 18.442] (II) event5 - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 1: device is a pointer
[ 18.442] (II) event5 - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 1: device removed
[ 18.442] () Option "config_info" "udev:/dev/input/event5"
[ 18.442] (II) XINPUT: Adding extended input device "Logitech USB Optical Mouse" (type: MOUSE, id 10)
[ 18.442] (
) Option "AccelerationScheme" "none"
[ 18.442] () Logitech USB Optical Mouse: (accel) selected scheme none/0
[ 18.442] (
) Logitech USB Optical Mouse: (accel) acceleration factor: 2.000
[ 18.442] () Logitech USB Optical Mouse: (accel) acceleration threshold: 4
[ 18.443] (II) event5 - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 1: is tagged by udev as: Mouse
[ 18.443] (II) event5 - Logitech USB Optical Mouse, class 0/0, rev 2.00/72.00, addr 1: device is a pointer
[ 18.444] (II) config/udev: Adding input device ELAN2602:05 04F3:3109 Mouse (/dev/input/event6)
[ 18.444] (
) ELAN2602:05 04F3:3109 Mouse: Applying InputClass "evdev pointer catchall"
[ 18.444] () ELAN2602:05 04F3:3109 Mouse: Applying InputClass "libinput pointer catchall"
[ 18.444] (II) Using input driver 'libinput' for 'ELAN2602:05 04F3:3109 Mouse'
[ 18.444] (
) ELAN2602:05 04F3:3109 Mouse: always reports core events
[ 18.444] () Option "Device" "/dev/input/event6"
[ 18.444] (
) Option "_source" "server/udev"
[ 18.445] (II) event6 - ELAN2602:05 04F3:3109 Mouse: is tagged by udev as: Mouse
[ 18.445] (II) event6 - ELAN2602:05 04F3:3109 Mouse: device is a pointer
[ 18.445] (II) event6 - ELAN2602:05 04F3:3109 Mouse: device removed
[ 18.445] () Option "config_info" "udev:/dev/input/event6"
[ 18.445] (II) XINPUT: Adding extended input device "ELAN2602:05 04F3:3109 Mouse" (type: MOUSE, id 11)
[ 18.445] (
) Option "AccelerationScheme" "none"
[ 18.445] () ELAN2602:05 04F3:3109 Mouse: (accel) selected scheme none/0
[ 18.445] (
) ELAN2602:05 04F3:3109 Mouse: (accel) acceleration factor: 2.000
[ 18.445] () ELAN2602:05 04F3:3109 Mouse: (accel) acceleration threshold: 4
[ 18.446] (II) event6 - ELAN2602:05 04F3:3109 Mouse: is tagged by udev as: Mouse
[ 18.446] (II) event6 - ELAN2602:05 04F3:3109 Mouse: device is a pointer
[ 18.447] (II) config/udev: Adding input device ELAN2602:05 04F3:3109 TouchPad (/dev/input/event7)
[ 18.447] (
) ELAN2602:05 04F3:3109 TouchPad: Applying InputClass "evdev pointer catchall"
[ 18.447] () ELAN2602:05 04F3:3109 TouchPad: Applying InputClass "evdev touchpad catchall"
[ 18.447] (
) ELAN2602:05 04F3:3109 TouchPad: Applying InputClass "libinput pointer catchall"
[ 18.447] () ELAN2602:05 04F3:3109 TouchPad: Applying InputClass "libinput touchpad catchall"
[ 18.447] (II) Using input driver 'libinput' for 'ELAN2602:05 04F3:3109 TouchPad'
[ 18.447] (
) ELAN2602:05 04F3:3109 TouchPad: always reports core events
[ 18.447] () Option "Device" "/dev/input/event7"
[ 18.447] (
) Option "_source" "server/udev"
[ 18.447] (II) event7 - ELAN2602:05 04F3:3109 TouchPad: is tagged by udev as: Mouse Touchpad
[ 18.450] (II) event7 - ELAN2602:05 04F3:3109 TouchPad: device is a touchpad
[ 18.450] (II) event7 - ELAN2602:05 04F3:3109 TouchPad: device removed
[ 18.451] () Option "config_info" "udev:/dev/input/event7"
[ 18.451] (II) XINPUT: Adding extended input device "ELAN2602:05 04F3:3109 TouchPad" (type: TOUCHPAD, id 12)
[ 18.452] (
) Option "AccelerationScheme" "none"
[ 18.453] () ELAN2602:05 04F3:3109 TouchPad: (accel) selected scheme none/0
[ 18.453] (
) ELAN2602:05 04F3:3109 TouchPad: (accel) acceleration factor: 2.000
[ 18.453] (**) ELAN2602:05 04F3:3109 TouchPad: (accel) acceleration threshold: 4
[ 18.454] (II) event7 - ELAN2602:05 04F3:3109 TouchPad: is tagged by udev as: Mouse Touchpad
[ 18.455] (II) event7 - ELAN2602:05 04F3:3109 TouchPad: device is a touchpad
[ 22.030] (II) AMDGPU(0): EDID vendor "CMN", prod id 33281
[ 22.030] (II) AMDGPU(0): Printing DDC gathered Modelines:
[ 22.030] (II) AMDGPU(0): Modeline "2160x1440"x0.0 206.02 2160 2208 2240 2320 1440 1443 1453 1480 -hsync -vsync (88.8 kHz eP)
[ 53.583] (II) AMDGPU(0): EDID vendor "CMN", prod id 33281
[ 53.583] (II) AMDGPU(0): Printing DDC gathered Modelines:
[ 53.583] (II) AMDGPU(0): Modeline "2160x1440"x0.0 206.02 2160 2208 2240 2320 1440 1443 1453 1480 -hsync -vsync (88.8 kHz eP)

@rut78HR rut78HR changed the title amdgpu no hw acceleration on gnome3 ?? amdgpu no hw acceleration on gnome3 ?? - workaround amdgpu disable DRI3 in xorg.conf and switch to DRI2 Apr 27, 2021
@evadot
Copy link
Contributor

evadot commented Jun 9, 2022

Mind checking again with 5.10 ?
Cheers,

@rut78HR
Copy link
Author

rut78HR commented Jun 9, 2022

Hi .. i compile 5.10 and test it .. same problem still persist. (lag .. need to swith off/on CTRL+ALT+F9 to get some rendering on screen - look at attached pic)

xorg.conf : Option "DRI" "3"

drm-510-kmod-5.10.113_1 DRM drivers modules
libdrm-2.4.110,1 Userspace interface to kernel Direct Rendering Module services

https://i.postimg.cc/gjW9cvyh/20220609-170958.jpg
https://i.postimg.cc/wjbSRKcg/20220609-170927.jpg
https://i.postimg.cc/gjVW3Mc4/20220609-171019.jpg

Xorg log : https://pastebin.com/z9y2QPyE

Tnx

@evadot evadot added the amdgpu amdgpu related problems label Jun 21, 2022
@grahamperrin
Copy link
Contributor

@grahamperrin

This comment was marked as outdated.

@grahamperrin
Copy link
Contributor

I worked around as outlined at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253746#c12.

@grahamperrin
Copy link
Contributor

grahamperrin commented Mar 28, 2024

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253746#c20 (2024-02-17):

… i do run GNOME now for a long time and have no issues so far.

Regarding that i would like to close this issue if its fine.

@rut78HR is this issue #72 reproducible with graphics/drm-515-kmod or greater?

@rut78HR
Copy link
Author

rut78HR commented Mar 28, 2024 via email

@evadot
Copy link
Contributor

evadot commented Apr 17, 2024

Closing as OP said it's fixed.

@evadot evadot closed this as completed Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amdgpu amdgpu related problems
Projects
None yet
Development

No branches or pull requests

3 participants