Bug 108349 - Xserver opengl problems on i5-8259U
Summary: Xserver opengl problems on i5-8259U
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-12 17:41 UTC by Cristian Aravena
Modified: 2019-01-21 06:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Cristian Aravena 2018-10-12 17:41:14 UTC
Hello,

Open bug in launchpad.net
https://bugs.launchpad.net/bugs/1797604

"I have installed 18.04.1 server on Intel NUC NUC8i5BEH with minimal xinit and xserver-xorg-video-intel. But it has 2 major issues:
1. Huge Xorg CPU usage with intel driver...more than 110% on glxgears without vsync (with modesetting driver Xorg has zero CPU usage and very good Opengl performance)
2. on DRI3 glxgears it skip most frames and display one frame every 60-70 frames but reported FPS is doubled than on DRI2

to reproduce a problem install fresh server image of 18.04 and then install minimal xinit+xserver-xorg-video-intel. Put 20-intel.conf to enable intel driver. Run X by startx and then run glxgears.

20-intel.conf:

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "TearFree" "true"
# Option "DRI" "3"
EndSection

P.S. Before 18.04 I tried 16.04 with HWE kernel...on stock Xserver and Intel driver it just crash. On latest HWE xserver and HWE Intel driver it works the same as 18.04 because it has the same versions. But with old 1.18 xserver and HWE intel driver it works in DRI2 mode...Xorg CPU usage just 10% instead of 110% on xserver 1.19...The only problem - poor OPENGL performance (glxgears 5400 fps vs 8000 fps on 1.19 xserver)"

Best regards,
--
Cristian Aravena Romero (caravena)
Comment 1 Chris Wilson 2018-10-12 19:39:18 UTC
commit e7bfc9065345085f767235eea8b148c356e5bd2b
Author: Liwei Song <liwei.song@windriver.com>
Date:   Thu Mar 15 23:14:18 2018 -0400

    Add Coffeelake PCI IDs for U Skus
    
    Add the Coffeelake PCI IDs based on the following kernel patch:
    
    commit d29fe702c9cb682df99146d24d06e5455f043101
    Author: Anusha Srivatsa <anusha.srivatsa@intel.com>
    Date:   Thu Jun 8 16:41:07 2017 -0700
    
        drm/i915/cfl: Add Coffee Lake PCI IDs for U Sku.
    
    Signed-off-by: Liwei Song <liwei.song@windriver.com>
Comment 2 Dmitry D 2018-10-12 20:09:55 UTC
Before 18.04 I tried  linux-image-4.18.13-041813 kernel on 16.04 with HWE Xserver but the same. If you want I can try any newest kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline that already have this patch.
Comment 3 Cristian Aravena 2018-10-12 23:28:20 UTC
@Dimitry,

Apparently, the problem is not precisely in the kernel(linux). The problem is in the Xorg-> Driver-> Intel. Because your computer is relatively very modern.

If you are very impatient, try the live-cd of the next version of Ubuntu (18.10):
http://releases.ubuntu.com/18.10/

To see if in this version your problem is solved.

Best regards,
--
Cristian Aravena Romero (caravena)
Comment 4 Dmitry D 2019-01-21 05:32:09 UTC
Hello

>If you are very impatient, try the live-cd of the next version of Ubuntu (18.10):
>http://releases.ubuntu.com/18.10/

I tried 18.10 but the same problem. I guess that live-cd use modesetting driver by default and it works. But modesetting does not have TearFree options and I can't use it.
Also intel driver has the same version (2.99.917+git20171229) for 18.04 & 18.10 and both have the same problems.
Comment 5 Dmitry D 2019-01-21 06:24:20 UTC
Finally I have fixed the problem by compiling and installed latest git xf86-video-intel driver. Now everything works fine. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.