You are not logged in.

#1 2019-10-21 05:28:32

minze
Member
Registered: 2014-12-20
Posts: 24

[SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

I have a new DELL XPS 13 9380 with an intel graphics card

➜  ~ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake) (rev 02)

Since installation I am experiencing lags in GUI programs such as firefox. For example, youtube videos lag every 2-5 seconds and the screen freezes about 1 second. This does not only happen during video, also scrolling, typing etc and I have not found a way to work around it. On my older DELL XPS (about 2 years old) I had the same problem (I cannot recall when it started, roughly some months ago), I was able to get rid of the lag by changing the acceleration method to "uxa" (see https://wiki.archlinux.org/index.php/In … NA_issues) but this does not work for the 9380 DELL.

I have read through the whole intel video article on the arch wiki and tried different things, but nothing has worked. Now I am hoping that anyone with more clues, or someone who has experienced the same can help me or point me in the right direction.

I have the xf86-video-intel driver installed.

Thanks,

Ludvig

Last edited by minze (2019-10-21 11:26:02)

Offline

#2 2019-10-21 06:03:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

Uninstall the the intel video driver and use the native modesetting; it is much less flaky.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-10-21 06:46:57

minze
Member
Registered: 2014-12-20
Posts: 24

Re: [SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

jasonwryan wrote:

Uninstall the the intel video driver and use the native modesetting; it is much less flaky.

I read about that as well, but I could not figure out how to get it to work. I added

MODULES=(i915) 

and regenerated the initramfs. Then I uninstalled xf86-video-intel, but on `startx` it does not find any drivers anymore.

(EE) No drivers available

Any ideas?

Offline

#4 2019-10-21 07:04:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

Do you have an xorg.conf or any files in /etc/X11/xorg.conf.d?

Paste the full xorg log.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2019-10-21 11:07:45

minze
Member
Registered: 2014-12-20
Posts: 24

Re: [SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

Sure, here are the configuration and logfile

$ cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
    Identifier "eDP1"
    Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
    Option "PreferredMode" "1920x1080_60.00"
EndSection 

Section "Screen"
    Identifier "Screen0"
    Monitor "eDP1"
    DefaultDepth 24
    SubSection "Display"
            Modes "1920x1080_60.00"
    EndSubSection
EndSection

Section "Device"
    Identifier "Device0"
    Driver "intel"
EndSection
$ cat /etc/X11/xorg.conf.d/10-synaptics.conf
Section "InputClass"
    Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
            Option "TapButton1" "1"
            Option "TapButton2" "3"
            Option "TapButton3" "2"
        Option "VertEdgeScroll" "on"
        Option "HorizEdgeScroll" "on"
EndSection
$ cat /etc/X11/xorg.conf.d/20-intel.conf 
 Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
EndSection
$ cat .local/share/xorg/Xorg.0.log
[    29.447] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    29.448] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[    29.448] Build Operating System: Linux Arch Linux
[    29.448] Current Operating System: Linux yunglean 5.3.7-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64
[    29.448] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=91727345-3c99-4f44-9dce-d77431df12ac rw cryptdevice=/dev/nvme0n1p3:luks_root loglevel=3 quiet i915.enable_psr=0
[    29.448] Build Date: 30 June 2019  09:52:01AM
[    29.449]  
[    29.449] Current version of pixman: 0.38.4
[    29.449] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    29.449] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.450] (==) Log file: "/home/lsund/.local/share/xorg/Xorg.0.log", Time: Mon Oct 21 13:09:42 2019
[    29.455] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    29.455] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.461] (==) No Layout section.  Using the first Screen section.
[    29.461] (**) |-->Screen "Screen0" (0)
[    29.461] (**) |   |-->Monitor "eDP1"
[    29.462] (==) No device specified for screen "Screen0".
	Using the first device section listed.
[    29.462] (**) |   |-->Device "Device0"
[    29.463] (**) |   |-->GPUDevice "Intel Graphics"
[    29.463] (==) Automatically adding devices
[    29.463] (==) Automatically enabling devices
[    29.463] (==) Automatically adding GPU devices
[    29.463] (==) Automatically binding GPU devices
[    29.463] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.610] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    29.610] (==) ModulePath set to "/usr/lib/xorg/modules"
[    29.610] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    29.610] (II) Module ABI versions:
[    29.610] 	X.Org ANSI C Emulation: 0.4
[    29.610] 	X.Org Video Driver: 24.0
[    29.610] 	X.Org XInput driver : 24.1
[    29.610] 	X.Org Server Extension : 10.0
[    29.611] (++) using VT number 1

[    29.615] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    29.616] (II) xfree86: Adding drm device (/dev/dri/card0)
[    29.618] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[    29.625] (--) PCI:*(0@0:2:0) 8086:3ea0:1028:08af rev 2, Mem @ 0xdb000000/16777216, 0x50000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[    29.625] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    29.625] (II) LoadModule: "glx"
[    29.628] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    29.641] (II) Module glx: vendor="X.Org Foundation"
[    29.641] 	compiled for 1.20.5, module version = 1.0.0
[    29.641] 	ABI class: X.Org Server Extension, version 10.0
[    29.641] (II) LoadModule: "intel"
[    29.642] (WW) Warning, couldn't open module intel
[    29.642] (EE) Failed to load module "intel" (module does not exist, 0)
[    29.642] (EE) No drivers available.
[    29.642] (EE) 
Fatal server error:
[    29.642] (EE) no screens found(EE) 
[    29.642] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    29.642] (EE) Please also check the log file at "/home/lsund/.local/share/xorg/Xorg.0.log" for additional information.
[    29.642] (EE) 
[    29.717] (EE) Server terminated with error (1). Closing log file.

Last edited by minze (2019-10-21 11:12:03)

Offline

#6 2019-10-21 11:15:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,409

Re: [SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

Well remove the two files trying to explicitly load the intel driver. You are also setting the default monitor mode that's also unlikely to be necessary.

Offline

#7 2019-10-21 11:25:16

minze
Member
Registered: 2014-12-20
Posts: 24

Re: [SOLVED] Firefox and other GUI programs lag every 2-5s DELL XPS 13

That made X start and without x86-video-intel it does not seem to lag anymore.
I did not know that my configuration explicitly tried to load the intel driver. I learned something new, thanks guys!

The default monitor option is actually needed.

Marked as solved.

Last edited by minze (2019-10-21 11:29:34)

Offline

Board footer

Powered by FluxBB