Bug 95066 - Intel HD with DRI 3 - laptop freezes
Summary: Intel HD with DRI 3 - laptop freezes
Status: CLOSED DUPLICATE of bug 94982
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 12:15 UTC by doaxan77
Modified: 2017-07-24 22:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
screen freeze (5.30 MB, text/plain)
2016-04-22 12:15 UTC, doaxan77
no flags Details
xorg log file with error (32.00 KB, application/x-trash)
2016-04-22 12:36 UTC, doaxan77
no flags Details

Description doaxan77 2016-04-22 12:15:22 UTC
Created attachment 123148 [details]
screen freeze

On xfce, Intel HD 4000 with DRI 3 - laptop freezes. Step to reproduce:
1) Enable DRI 3, add Option "DRI" "3" and Option "TearFree" "true" to xorg file.
2) Reboot
3) Install virtualgl. In terminal, open glxspheres64. Open chromium, take tab and start moving it quickly across the screen.
4) Screen freeze. Screenshot: http://s31.postimg.org/iauoa088p/20160422_132257.jpg

With "DRI" "2" system not freezes, but moving windows is delayed and there are white color graphic artifacts from the top(its not tearing, i know this), when you drive the cursor on the background of this video: https://www.youtube.com/watch?v=cuXsupMuik4(watch in 1080p60). With uxa everything ok.
Lenovo Y580, Intel HD4000, Intel core i7 3610qm. Kernel 4.4.8, 4.6rc4, mesa 11.2.1-1, xf86-video-intel 1:2.99.917+631+gf2a4645-0.1, xorg-server 1.17.4-2, manjaro xfce.
My xorg file:
Section "Device"
        Identifier  "Device0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
        Option      "AccelMethod" "sna"
        Option      "DRI"    "3"
        Option      "TearFree" "true"
EndSection


Section "DRI"
        Group  "video"
        Mode   0666
EndSection


Section "Extensions"
        Option "Composite" "Enable"
        Option "RENDER"    "Enable"
EndSection


Section "InputClass"
        Identifier          "Keyboard Defaults"
        MatchIsKeyboard     "yes"
        Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Comment 1 Chris Wilson 2016-04-22 12:25:40 UTC
commit 29b70ccdf67ee7afa19bed26de8678476ba94f6e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Apr 17 15:02:46 2016 +0100

    sna/present: Fix requeuing after interrupting TearFree
    
    Increment the target_msc by one, not the last known msc!
    
    Reported-by: Rafael Ristovski <rafael.ristovski@gmail.com>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>

commit 562ae1f29fd4946c5204bacc9eaa4ee13e809753
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Apr 18 20:56:05 2016 +0100

    sna/present: Postpone recursed vblank during TearFree by 1ms
    
    Avoid postponing until the next vblank to avoid continually recursing
    every TearFree update, and to minimise the presentation delay.
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=94982
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 doaxan77 2016-04-22 12:36:00 UTC
Created attachment 123149 [details]
xorg log file with error

Xorg log file with error
Comment 3 doaxan77 2016-04-22 14:12:51 UTC
In Antergos, Kernel 4.5.1, mesa 11.2.1-1, xf86-video-intel 1:2.99.917+636+g562ae1f-1, xorg-server 1.18.3-1, with Option "TearFree" "true" system NOT freezes.
Comment 4 Chris Wilson 2016-04-22 14:33:32 UTC

*** This bug has been marked as a duplicate of bug 94982 ***


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.