[Bug 92248] [KBL/SKL/BYT/BXT] igt/kms_plane_scaling fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 19 15:42:41 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=92248

--- Comment #20 from Matt Roper <matthew.d.roper at intel.com> ---
(In reply to Humberto Israel Perez Rodriguez from comment #19)
> (In reply to Matt Roper from comment #18)
...
> > 
> > Also, please check that "1080p-left.png" file is present and accessible by
> > the test program.  The output from Olivier's first comment here indicates
> > that the test program is unable to find the image file it uses.
> 
> i've put 1080p-left.png in tests folder, but looks like that i have the same
> issue 
...

Actually, the test calls igt_create_image_fb -> igt_paint_image ->
igt_fopen_data -> __igt_fopen_data which prepends a path to the beginning of
the filename.  It first tries to open the file from igt_datadir (which is
/usr/local/share/intel-gpu-tools in my setup) and then attempts igt_srcdir
(which is the path the test was built out of).  The current directory (".")
isn't attempted.  If you're doing something like building on one machine and
then rsync'ing the IGT source directory to another machine (in a different
path), then neither of these paths will match up and it will fail to load the
image.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160519/bbdfb089/attachment.html>


More information about the intel-gfx-bugs mailing list