You are not logged in.

#1 2016-10-17 17:03:46

Aezriel
Member
Registered: 2016-10-13
Posts: 6

[SOLVED]Low FPS (Gnome) / Drop-down menus are broken (Wayland)

Hey there!
I start to really get used to Arch Linux right now and I love it. But the thing that annoys me the most right now are the really low FPS animations of gnome. Im pretty sure that my laptop (xps 9350) should be capable of doing better there. Also scrolling in browsers or in the application menu feels really laggy and imprecise. Is there anything I can do? Making the workspaces static, disable animations and using Impatience already helped a bit, but Id love to keep the animations and smoothen them....

Beside that, is there a good power saving application out there?

Here some informations:

~ » uname -a
Linux santadestroy 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux
~ » lspci -v
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 0, IRQ 282
	Memory at db000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
	Subsystem: Dell Device 0704
	Flags: fast devsel, IRQ 16
	Memory at dc320000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
	Subsystem: Dell Device 0704
	Flags: bus master, medium devsel, latency 0, IRQ 275
	Memory at dc310000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
	Subsystem: Dell Device 0704
	Flags: fast devsel, IRQ 18
	Memory at dc338000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at dc337000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at dc336000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 0, IRQ 276
	Memory at dc335000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 0704
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 277
	Memory at dc330000 (32-bit, non-prefetchable) [size=8K]
	Memory at dc334000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at dc333000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=01, subordinate=39, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: c4000000-da0fffff
	Prefetchable memory behind bridge: 00000000a0000000-00000000c1ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=3a, subordinate=3a, sec-latency=0
	Memory behind bridge: dc200000-dc2fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Bus: primary=00, secondary=3b, subordinate=3b, sec-latency=0
	Memory behind bridge: dc100000-dc1fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Device 9d18 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=3c, subordinate=3c, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: dc000000-dc0fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
	Subsystem: Dell Device 0704
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
	Subsystem: Dell Device 0704
	Flags: fast devsel
	Memory at dc32c000 (32-bit, non-prefetchable) [size=16K]
	Kernel driver in use: intel_pmc_core

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) (prog-if 80)
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 32, IRQ 279
	Memory at dc328000 (64-bit, non-prefetchable) [size=16K]
	Memory at dc300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: Dell Device 0704
	Flags: medium devsel, IRQ 16
	Memory at dc332000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

3a:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
	Subsystem: Intel Corporation Dual Band Wireless-AC 7265
	Flags: bus master, fast devsel, latency 0, IRQ 283
	Memory at dc200000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
	Subsystem: Dell Device 0704
	Flags: bus master, fast devsel, latency 0, IRQ 274
	Memory at dc100000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

3c:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller (rev 01) (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd Device a801
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at dc000000 (64-bit, non-prefetchable) [size=16K]
	I/O ports at e000 [size=256]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

Something I should also mention is that Im using Xorg  because I have a problem with my dropdown menus using Wayland: https://www.reddit.com/r/archlinux/comm … dropdowns/

Last edited by Aezriel (2016-10-18 09:05:29)

Offline

#2 2016-10-17 23:01:55

Aezriel
Member
Registered: 2016-10-13
Posts: 6

Re: [SOLVED]Low FPS (Gnome) / Drop-down menus are broken (Wayland)

Okay after researching a bit further I decided to uninstall xf86-videl-intel, using the xf86-video-modesetting now.
I also created a xorg.conf:

Section "Device"
    #your device configuration
    Driver      "modesetting"
EndSection

Good thing is: I really can feel an improvement! Bad thing: I only can boot into Wayland which brings back the dropdown problem I mentioned before.
I found a bugreport that fits to my problem: https://bugzilla.gnome.org/show_bug.cgi?id=771841

But its either my bad english or my newbieness but Im not able to understand what to do right now hmm.

Im grateful for any help.

Edit: To make clear what my problem is: I see the committed Attachments and it seems to me that I have to edit the files as shown there (for example: a/src/wayland/meta-wayland-xdg-shell.c). But I cant find those files...

Last edited by Aezriel (2016-10-18 02:11:24)

Offline

#3 2016-10-18 00:10:41

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: [SOLVED]Low FPS (Gnome) / Drop-down menus are broken (Wayland)

Welcome to the Arch Forums.  Please refrain from writing "Synapse isn't working anymore".  This is of no value to those trying to help you.  What happens when you start it?  Is there an error message?  Write down the *exact* message.  If no error and it just simply fails, try running synapse from terminal and copy and paste all of that in code tags here. 

Each thread should be directed at *one* issue.  Feel free to open other threads for synapse and libre, unless you feel they spring from the same error.

Does the bug you linked directly relate to your dropdown on a hidpi screen?  You can add those patches to the pkgbuild for the linux kernel via ABS. 

https://wiki.archlinux.org/index.php/Arch_Build_System
https://www.archlinux.org/packages/?name=linux <--select the architecture from core repo.  On right side, go to source files and grab them.  Save the patches from that bugreport in the same location.

Edit PKGBUILD to include the patch(es) in source=()
Don't worry about the sha256sums for now.

In prepare() {
after the cd line add

patch -p1 -i "${srcdir}/nameofyour.patch"

Run

updpkgsums

I'll post my patched intel drm nightly pkgbuild below for reference
http://ix.io/1x6t

If this is way over your head, feel free to continue reading on patching as well as self compiling in Arch.  It does come handy to write bug reports and be able to test the fixes the kernel devs send back.  Or you can use another DE (if this issue is blocking your usage) until the fix is merged in a stable release (sometimes can take a couple months or longer).

Last edited by frank604 (2016-10-18 00:19:40)

Offline

#4 2016-10-18 02:31:33

Aezriel
Member
Registered: 2016-10-13
Posts: 6

Re: [SOLVED]Low FPS (Gnome) / Drop-down menus are broken (Wayland)

Okay, the first time for me editing a PKGBUILD... Everything went fine till I wanted to make the pkg.

~/D/new » makepkg
==> Making package: linux 4.8.2-1 (Di 18. Okt 04:27:40 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found linux-4.8.tar.xz
  -> Found linux-4.8.tar.sign
  -> Found patch-4.8.2.xz
  -> Found patch-4.8.2.sign
  -> Found config
  -> Found config.x86_64
  -> Found linux.preset
  -> Found change-default-console-loglevel.patch
  -> Found patch1.patch
  -> Found patch2.patch
  -> Found patch3.patch
  -> Found patch4.patch
  -> Found patch5.patch
==> Validating source files with sha256sums...
    linux-4.8.tar.xz ... Passed
    linux-4.8.tar.sign ... Skipped
    patch-4.8.2.xz ... Passed
    patch-4.8.2.sign ... Skipped
    config ... Passed
    config.x86_64 ... Passed
    linux.preset ... Passed
    change-default-console-loglevel.patch ... Passed
    patch1.patch ... Passed
    patch2.patch ... Passed
    patch3.patch ... Passed
    patch4.patch ... Passed
    patch5.patch ... Passed
==> Verifying source file signatures with gpg...
    linux-4.8.tar ... Passed
    patch-4.8.2 ... Passed
==> Extracting sources...
  -> Extracting linux-4.8.tar.xz with bsdtar
  -> Extracting patch-4.8.2.xz with xz
==> Starting prepare()...
can't find file to patch at input line 20
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 60315f5a72741d0b6cdbe0ba19d771a922406bbb Mon Sep 17 00:00:00 2001
|From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|Date: Fri, 23 Sep 2016 17:15:56 +0800
|Subject: [PATCH] wayland/xdg-popup: Always use monitor of toplevel
|
|Always use the monitor of the toplevel surface's window, so that the
|popup menu and the parent will always have the same scale. This fixes
|the dimensions sent in the xdg_popup configure event.
|
|https://bugzilla.gnome.org/show_bug.cgi?id=771841
|---
| src/wayland/meta-wayland-xdg-shell.c |  1 +
| src/wayland/meta-window-wayland.c    | 24 ++++++++++++++++++------
| 2 files changed, 19 insertions(+), 6 deletions(-)
|
|diff --git a/src/wayland/meta-wayland-xdg-shell.c b/src/wayland/meta-wayland-xdg-shell.c
|index 84bf40d..ac40504 100644
|--- a/src/wayland/meta-wayland-xdg-shell.c
|+++ b/src/wayland/meta-wayland-xdg-shell.c
--------------------------
File to patch: 

I tried to find the files by myself, but they aren't in there. What am I doing wrong?

Offline

Board footer

Powered by FluxBB