Bug 88842 - [BYT bisected]etqw-demo can’t fullscreen run with maximum resolution
Summary: [BYT bisected]etqw-demo can’t fullscreen run with maximum resolution
Status: CLOSED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: All Linux (All)
: high major
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 03:16 UTC by ye.tian
Modified: 2015-05-20 01:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg info (16.72 KB, text/plain)
2015-01-28 03:16 UTC, ye.tian
Details
Xorg info (19.23 KB, text/plain)
2015-01-29 07:07 UTC, ye.tian
Details
glxinfo info (19.07 KB, text/plain)
2015-01-30 07:28 UTC, ye.tian
Details
run etqw-demo info (2.02 KB, text/plain)
2015-01-30 07:29 UTC, ye.tian
Details
run etqw-demo error info (1.07 MB, text/plain)
2015-01-30 07:36 UTC, ye.tian
Details

Description ye.tian 2015-01-28 03:16:23 UTC
Created attachment 112900 [details]
Xorg info

[All bisected]etqw-demo can't fullscreen run with maximum resolution
System Environment:       
--------------------------------------------------------------
Kernel: (drm-intel-nightly)2c2cd37eb3b97bb8846ac3bf75dcb8b4948922d0
Libdrm: (master)libdrm-2.4.59-6-g28ee135a37e10b9a6cd62d67df0332e38ee0b85c
Mesa:   (master)f1a9252defb77f3986305c6a1fc9592093b5a4e5
Xserver: (master)xorg-server-1.16.99.902-3-gdf1b401f57ad4b4925bad66684445b476562f26f
Xf86_video_intel:  (master)2.99.917-59-gb8d52b0edd2ad6a2513d37001ee9d8f67c9acaa7
Cairo:   (master)cca8b1960b0091c53235d9dc4cde8a33010c5bbf
Libva:   (master)f9741725839ea144e9a6a1827f74503ee39946c3
Libva_intel_driver: (master)3d16cf07b6b65b9bd5c2dd855d97558264a12e79
 
Bug detailed description:
--------------------------------------------------
Etwq-demo can't fullscreen run with maximum resolution on all platforms, but it passed with rest resolution.
Error information: Segmentation fault (core dumped)
Please see Xrog.

It's Xf86-intel-video regression. By bisected, the first bad commit is (master) 684e921a5.

commit 684e921a5442c0d7afedd27b7b85719d8195c6ee
Author:     Chris Wilson <chris@chris-wilson.co.uk>
AuthorDate: Thu Jan 22 15:26:00 2015 +0000
Commit:     Chris Wilson <chris@chris-wilson.co.uk>
CommitDate: Thu Jan 22 21:03:24 2015 +0000

sna/dri2: Only preserve back buffers with the same pitch

Reproduce steps:
----------------------------
1, xinit& 
2, gnome-session
3, vbank_mode=0 ./etqw.x86 +set sys_VideoRam 64 +set  r_mode -1 +set in_tty 0 +exec etqw-pts.cfg +set r_customWidth 1920 +set r_customHeight 1080 +vid_restart
Comment 1 Chris Wilson 2015-01-28 08:35:19 UTC
Please test with master.
Comment 2 ye.tian 2015-01-29 06:10:34 UTC
Verified with the commit 6ee5effac1ac on master.
Comment 3 ye.tian 2015-01-29 07:06:07 UTC
(In reply to ye.tian from comment #2)
> Verified with the commit 6ee5effac1ac on master.

Etqw-demo can works well on all platforms except BYT, it can’t run with all resolution on BYT.
Error info:
pure virtual method called
terminate called recursively
Segmentation fault (core dumped)

Please see Xorg info.
Comment 4 ye.tian 2015-01-29 07:07:44 UTC
Created attachment 112928 [details]
Xorg info
Comment 5 Chris Wilson 2015-01-29 07:47:10 UTC
That would appear to be a client bug? Can you get the full stacktrace for the crash and please attach glxinfo.
Comment 6 ye.tian 2015-01-30 07:28:45 UTC
Created attachment 112962 [details]
glxinfo info
Comment 7 ye.tian 2015-01-30 07:29:53 UTC
Created attachment 112963 [details]
run etqw-demo info
Comment 8 ye.tian 2015-01-30 07:36:43 UTC
Created attachment 112964 [details]
run etqw-demo error info
Comment 9 Chris Wilson 2015-01-30 10:01:27 UTC
When it fails:

libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  33
  Current serial number in output stream:  34

but glxinfo looks fine. Build issue?
Comment 10 ye.tian 2015-01-30 10:09:02 UTC
Have no idea. but the other platform is good.
Comment 11 Ian Romanick 2015-02-01 13:55:23 UTC
Dylan, can you see if you can reproduce this?
Comment 12 Tapani Pälli 2015-02-02 06:50:14 UTC
maybe same issue as with bug #88862 ?
Comment 13 ye.tian 2015-02-03 08:51:34 UTC
This bug has disappeared on mesa(753c3271).


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.