- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I getting this error
intel_do_flush_locked failed: No such file or directory
The environment is the following:
1.- I'm using intel media server to decode h264 stream. This is working OK.
2.- I want to share the surface with the decoded info and render it using openGL. This is failing.
I'm using QtAV for that, passing the VASurface (VAAPI) id. The error is shown when vaCopySurfaceGLX is called. Basically this function want to copy the VASurface into a GLX surface.
Searching I found the code in MESA where I think the problem is being generated. the file is intel_batchbuffer.c
do_flush_locked(struct intel_context *intel) { struct intel_batchbuffer *batch = &intel->batch; int ret = 0; ret = drm_intel_bo_subdata(batch->bo, 0, 4*batch->used, batch->map); if (!intel->intelScreen->no_hw) { if (ret == 0) { if (unlikely(INTEL_DEBUG & DEBUG_AUB) && intel->vtbl.annotate_aub) intel->vtbl.annotate_aub(intel); ret = drm_intel_bo_mrb_exec(batch->bo, 4 * batch->used, NULL, 0, 0, I915_EXEC_RENDER); } } if (unlikely(INTEL_DEBUG & DEBUG_BATCH)) do_batch_dump(intel); if (ret != 0) { fprintf(stderr, "intel_do_flush_locked failed: %s\n", strerror(-ret)); exit(1); } intel->vtbl.new_batch(intel); return ret; }
The problem must be in drm_intel_bo_subdata or drm_intel_bo_mrb_exec.
If I add this enviroment variable LIBGL_ALWAYS_SOFTWARE = 1 rendering works perfectly, but it is using software and CPU use is very high.
any clue about why that error is being shown?
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Fernando,
I need to check with some people to get help with your question. I am will get back to you soon.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Still trying to get an answer. This forum is for game development on Intel Graphics focused on Windows (we have a separate Android forum). We don't deal with Linux issues here. Getting an answer will take time.
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Fernando, I belong to Intel's Mesa team. For questions and issues with the Mesa driver, your best options are:
- File a bug in Mesa's public bug tracker: https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa . In the component field, select Drivers/DRI./i965.
- Send a message to Mesa's development mailing list http://lists.freedesktop.org/mailman/listinfo/mesa-dev .
- Most of the Intel Mesa developers are on IRC in irc://irc.freenode.net/#intel-gfx or irc://irc.freenode.net/#dri-devel. People there are very helpful.
I suggest that you open a Bugzilla ticket with the information in this post. The team will probably then ask you a lot of clarifying questions (OS? gpu pci id? Mesa version? etc etc).
Also, it's often helpful to directly contact the owner of the Mesa package for your Linux distribution. Sometimes the package owner is very familiar with frequent bugs that are specific to that distribution. On RPM based distros, such as Fedora, you can find the packager by examining the package's changelog with this command: `rpm -q --changelog mesa-libGL`. On Debian based distros, such as Ubuntu, I think the apt-cache command gives you the needed info.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page