[Intel-gfx] System freeze apparently due to GPU memory exhaustion - why?
Adam Nielsen
a.nielsen at shikadi.net
Mon Apr 4 13:13:38 UTC 2016
> > Have you tried running the I-G-T testing suite on your hardware?
>
> No I haven't - do I just install intel-gpu-tools and find some test
> program to run?
I cloned the git repo for this and tried to run the tests as best I
could understand from the readme, but no luck:
intel-gpu-tools/tests$ ../scripts/run-tests.sh
Fatal Error: Cannot overwrite existing folder without the -o/--overwrite option being set.
intel-gpu-tools/tests$ ../scripts/run-tests.sh -o
Unknown option: -o
So I tried running piglit - the README says "./piglit" but for me
it was "./piglit/piglit" instead:
intel-gpu-tools$ ./piglit/piglit
Traceback (most recent call last):
File "./piglit/piglit", line 165, in <module>
main()
File "./piglit/piglit", line 160, in main
returncode = parsed.func(args)
AttributeError: 'Namespace' object has no attribute 'func'
Thinking it might not be Python 3 compatible, I tried as Python 2:
intel-gpu-tools$ python2 ./piglit/piglit run igt output
./piglit/framework/test/base.py:76: UserWarning: Timeouts are not available
warnings.warn('Timeouts are not available')
Traceback (most recent call last):
File "./piglit/piglit", line 165, in <module>
main()
File "./piglit/piglit", line 160, in main
returncode = parsed.func(args)
File "./piglit/framework/exceptions.py", line 50, in _inner
func(*args, **kwargs)
File "./piglit/framework/programs/run.py", line 280, in run
profile = framework.profile.merge_test_profiles(args.test_profile)
File "./piglit/framework/profile.py", line 444, in merge_test_profiles
profile = load_test_profile(profiles.pop())
File "./piglit/framework/profile.py", line 422, in load_test_profile
os.path.splitext(os.path.basename(filename))[0]))
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "./piglit/tests/igt.py", line 177, in <module>
populate_profile()
File "./piglit/tests/igt.py", line 174, in populate_profile
add_subtest_cases(test)
File "./piglit/tests/igt.py", line 150, in add_subtest_cases
universal_newlines=True)
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1231, in _execute_child
self.pid = os.fork()
OSError: [Errno 12] Cannot allocate memory
Not sure why fork() is throwing an error - the system isn't *that*
broken...
Any suggestions what to try next, assuming you want these tests run
after the GPU error has occurred?
Thanks,
Adam.
More information about the Intel-gfx
mailing list