LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-26-2019, 10:21 AM   #1
bjur
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Rep: Reputation: Disabled
intel hd620 graphichs and high Xorg CPU usage


Hello all, it's my first post here. I'm having some troubles with my intel hd620 (kaby lake i5-8350 cpu). Every action related to 'movement' (scrolling page (~40%cpu), moving windows, or even moving the mouse over stuff eats 15% of cpu) results in high CPU usage. The same tasks on Windows use about 3%. I tried a few distros and kernels already, as well as X and Wayland.
Here's some commands output:

current distro: fedora 29, KDE. Tried also Ubuntu 18.10, Xubuntu, fedora with gnome and few others. Xorg and kwin_x11 processes eats a lot for no reason. Browsers make it even worse.

Code:
glxinfo | grep render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, 
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2)
Code:
# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
Code:
# uname -a
Linux localhost.localdomain 4.20.3-200.fc29.x86_64 #1 SMP Thu Jan 17 15:19:35 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
whole xorg.0.log:
https://pastebin.com/gmueXRM3

And maybe chrome://gpu
Code:
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Enabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Any ideas?

Last edited by bjur; 01-26-2019 at 02:51 PM.
 
Old 01-27-2019, 08:15 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What is output from:
Code:
inxi -GxxSM
run in Konsole or an XTerm?

The log indicates repeated trouble with the wayland touchpad. Maybe there is a missing driver, poorly selected driver, or a driver conflict that needs to be resolved. Maybe an Xorg session would work better. I don't recall hearing any favorable stories from anyone running Plasma on Wayland. I have two well working Kaby Lakes, but no touchpad on either, nor Wayland.

Edit: https://wayland.freedesktop.org/libi...ng_cursor.html suggests you should report a bug at bugzilla.redhat.com.

Last edited by mrmazda; 01-27-2019 at 02:29 PM. Reason: additional information re touchpad errors in Xorg.0.log
 
Old 01-27-2019, 01:57 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I have the even suckier HD4000, and a suckier (i3) cpu, but the cpu doesn't sweat over graphics here. Mind you, I'm not a gamer. Explain your loading - watching youtube, whatever. The cpu load is probably coming from 'software rendering', transferring the gpu workload to your cpu.

You need xf86-video-intel and the intel-vaapi-driver. VAAPI is an inferior form of VDPAU, which is some graphics format to make things sing. Many programs use VDPAU, but not vaapi. Intel gpus can't do vaapi, because they suck. VLC for one uses vaapi if it's there. Plasma may not use it at all. A search for 'plasma performance intel gpu' is not encouraging. Check this avenue out before you start fixing something that may not be broken and post whether or not your Intel gpu is fully supported on plasma.

EDIT: I'm running Slackware64 on X11 with XFCE, a 'low cholesterol' WM. No eye candy here.

Last edited by business_kid; 01-27-2019 at 01:58 PM.
 
Old 01-27-2019, 02:13 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by business_kid View Post
You need xf86-video-intel
Almost certainly not. The xf86-video-intel package is on life support only. It hasn't had an official release in 4 years, since long before UHD 620 or Kaby Lake existed. Intel has been paying its driver writers to focus on the modesetting driver included in the server package.
 
Old 01-28-2019, 01:41 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by bjur View Post
Code:
kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libi...g-cursors.html for details
over and over again.
i'd start by reading that web page.
 
Old 01-28-2019, 03:19 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by mrmazda View Post
Almost certainly not. The xf86-video-intel package is on life support only. It hasn't had an official release in 4 years, since long before UHD 620 or Kaby Lake existed. Intel has been paying its driver writers to focus on the modesetting driver included in the server package.
Ok. I gather it was a cul-de-sac, but I really did not think of the modesetting driver as a replacement. I have a vague notion of looking it up & deciding my GPU was too old for it, but I've been knocked about health-wise a lot since, and couldn't be sure.

That said, the xf86-video-intel works well for me. Modesetting is not an issue. I have the Ivy Bridge. You appear to have driver issues, and software rendering; That's a driver issue. I would at least try it , among other options.

I would search for a driver that claims to do things for your you.

EDIT: I've researched this a bit, and you're right about xf86-video-intel, just bugfixes since 2014. Slackware doesn't supply modesetting AFAICT. Some distros have gone over to modesetting by default (Debian, Ubuntu, Fedora) but you heed to shoehorn & tweak it from what I gather. I ran into loads of people crashing on the Modesetting driver, with conf files secretly pointing at the intel driver. Watch for that. It's difficult to find recent stuff on it. I had to use google's advanced search with 'in the last year' as a condition.

Last edited by business_kid; 01-28-2019 at 05:08 AM.
 
Old 01-28-2019, 03:52 AM   #7
bjur
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ok, thanks for responses. I've seen this wayland touchpad issue, but I thought it doesn't matter when I'm on x11.
Anyway, here's the inxi output:

Code:
inxi -GxxSM
System:    Host: localhost.localdomain Kernel: 4.20.3-200.fc29.x86_64 x86_64 bits: 64 compiler: gcc v: 8.2.1 
           Desktop: KDE Plasma 5.14.4 tk: Qt 5.11.3 wm: kwin_x11 dm: SDDM 
           Distro: Fedora release 29 (Twenty Nine) 
Machine:   Type: Laptop System: Dell product: Latitude 5490 v: N/A serial: <root required> Chassis: type: 10 
           serial: <root required> 
           Mobo: Dell model: 0DH2HV v: A00 serial: <root required> UEFI: Dell v: 1.7.0 date: 12/25/2018 
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:5917 
           Display: x11 server: Fedora Project X.org 1.20.3 driver: modesetting unloaded: fbdev,vesa 
           compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.2.8 compat-v: 3.0 
           direct render: Yes
 
Old 01-29-2019, 05:18 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,286

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
In a separate post about my own graphics, I gather modesetting is included in xorg-server and is run automatically in the absence of xorg.conf stuff.
https://www.linuxquestions.org/quest...er-4175647103/

So let me unsay anything contrary to those guys.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid 3 near 100% cpu usage and high RAM usage piman Linux - Software 1 11-16-2013 02:20 AM
mysql server not responding with high cpu usage and high load avgs landysaccount Linux - Server 2 09-15-2013 03:46 AM
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 09:24 AM
High load and high cpu kernel usage enid Linux - Server 8 09-30-2010 03:33 AM
High Xorg CPU usage in Ubuntu ImpactDNI Linux - Software 1 10-21-2006 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration