freebsd / drm-kmod

drm driver for FreeBSD
148 stars 68 forks source link

i915kms rendering slows down as soon as several additional GPU accelerated windows are mapped #184

Closed protamail closed 2 years ago

protamail commented 2 years ago

When using "autoscrolling" on Firefox everything is very smooth until couple more windows (presumably using GPU acceleration) are open. At which point scrolling becomes jerky. Once extra windows minimized, everything back to normal. This happens only when other windows are from programs like Firefox, Chromium, konsole, and does not happen with others like dolphin file manager.

FreeBSD version FreeBSD op-desktop 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212b GENERIC amd64

PCI Info

pciconf -lv hostb0@pci0:0:0:0: class=0x060000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9b53 subvendor=0x1849 subdevice=0x9b53 vendor = 'Intel Corporation' device = 'Comet Lake-S 6c Host Bridge/DRAM Controller' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x9bc8 subvendor=0x1849 subdevice=0x9bc8 vendor = 'Intel Corporation' device = 'CometLake-S GT2 [UHD Graphics 630]' class = display subclass = VGA pchtherm0@pci0:0:18:0: class=0x118000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06f9 subvendor=0x1849 subdevice=0x06f9 vendor = 'Intel Corporation' device = 'Comet Lake PCH Thermal Controller' class = dasp xhci0@pci0:0:20:0: class=0x0c0330 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06ed subvendor=0x1849 subdevice=0x06ed vendor = 'Intel Corporation' device = 'Comet Lake USB 3.1 xHCI Host Controller' class = serial bus subclass = USB none0@pci0:0:20:2: class=0x050000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06ef subvendor=0x1849 subdevice=0x06ef vendor = 'Intel Corporation' device = 'Comet Lake PCH Shared SRAM' class = memory subclass = RAM none1@pci0:0:22:0: class=0x078000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06e0 subvendor=0x1849 subdevice=0x06e0 vendor = 'Intel Corporation' device = 'Comet Lake HECI Controller' class = simple comms ahci0@pci0:0:23:0: class=0x010601 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06d2 subvendor=0x1849 subdevice=0x06d2 vendor = 'Intel Corporation' device = 'Comet Lake SATA AHCI Controller' class = mass storage subclass = SATA isab0@pci0:0:31:0: class=0x060100 rev=0x00 hdr=0x00 vendor=0x8086 device=0x0685 subvendor=0x1849 subdevice=0x0685 vendor = 'Intel Corporation' class = bridge subclass = PCI-ISA hdac0@pci0:0:31:3: class=0x040300 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06c8 subvendor=0x1849 subdevice=0x1204 vendor = 'Intel Corporation' device = 'Comet Lake PCH cAVS' class = multimedia subclass = HDA ichsmb0@pci0:0:31:4: class=0x0c0500 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06a3 subvendor=0x1849 subdevice=0x06a3 vendor = 'Intel Corporation' device = 'Comet Lake PCH SMBus Controller' class = serial bus subclass = SMBus none2@pci0:0:31:5: class=0x0c8000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x06a4 subvendor=0x1849 subdevice=0x06a4 vendor = 'Intel Corporation' device = 'Comet Lake PCH SPI Controller' class = serial bus em0@pci0:0:31:6: class=0x020000 rev=0x00 hdr=0x00 vendor=0x8086 device=0x0d4d subvendor=0x1849 subdevice=0x0d4d vendor = 'Intel Corporation' device = 'Ethernet Connection (11) I219-V' class = network subclass = ethernet

DRM KMOD version Tried it on recent 5.10-lts and 5.7-stable branches

To Reproduce After reboot, open firefox with enabled "autoscroll" option. Try autoscrolling long page and observe hopefully smooth scrolling. Open couple more FF windows by selecting menu-> new window. Switch to original FF window and try autoscroll again.

protamail commented 2 years ago

Sorry, looks like it's KDE5 specific and happens on Linux as well. So not i915kms related.