All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 73200] New: vdpau-GL interop fails due to different screen objects
@ 2014-01-01  5:41 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-01  5:41 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2070 bytes --]

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

          Priority: medium
            Bug ID: 73200
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: vdpau-GL interop fails due to different screen objects
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: ystreet00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
          Hardware: Other
            Status: NEW
           Version: 10.0
         Component: Drivers/DRI/nouveau
           Product: Mesa

Basically I'm trying out the GL_NV_vdpau_interop extension and it's failing
with GL_INVALID_OPERATION inside mesa/state_tracker/st_vdpau.c:121
st_vdpau_map_surface() because the GL screen and the vdpau screen are
different.

Things I've tried:
 - Straight vdpau/x11 (no GL) - works nicely
 - #if 0 the screen equal check - Fails with 'Kernel rejected pushbuf'.  From
this I made the assumption that the screen represents some gpu context and thus
the object space that is addressable.  Also what I gathered from the libdrm
code.
 - Copying the fd hash table from the radeon_drm_winsys_create() into
nouveau_drm_screen_create().  That fails to work because vl_screen_create() and
dri2CreateScreen() both create seperate drm fds resulting in different entries
in the hash table (that's not the same - see next point)
 - static screen singleton (ignoring subsequent drm fds) however
nouveau_drm_screen_create is duplicated in both
/usr/lib/vdpau/libvdpau_nouveau.so and /usr/lib/xorg/modules/dri/nouveau_dri.so
and thus have different locations.

So all of my attempts to get the screens the same have so far failed and I am
not all that familiar with mesa internals to suggest a solution :)

Versions:
$ uname -a
Linux matt-arch 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013
x86_64 GNU/Linux
$ pacman -Si mesa | grep Version
Version        : 10.0.1-1
$ pacman -Si libdrm | grep Version
Version        : 2.4.50-1

Some logs follow.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3322 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2014-01-01  5:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-01-01  6:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-01  5:43 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 323 bytes --]

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

--- Comment #1 from Matthew Waters <ystreet00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 91381
  --> https://bugs.freedesktop.org/attachment.cgi?id=91381&action=edit
gdb log

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1183 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2014-01-01  5:43   ` [Bug 73200] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-01  6:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-01-01  6:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-01  6:34 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 936 bytes --]

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

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
It would help if you attached a sample app that shows the failure. I don't
think there are any NV_vdpau_interop piglit tests.

Something needs to be done in the src/gallium/targets/*-nouveau/* logic. Radeon
(somehow, I haven't traced it all through yet) seems to use
auxiliary/vl/vl_winsys_dri.c. Nouveau has a drm_configuration for dri-nouveau
but not vdpau-nouveau -- perhaps that needs to be copied over as well? I have
no idea what it does, but it has something about sharing fd's in the code --
could be relevant to the problem at hand.

[Frankly I'm not entirely sure how this is supposed to work given megadrivers,
but I'm sure it's just a lack of understanding on my part rather than a
shortcoming of the system.]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1692 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2014-01-01  5:43   ` [Bug 73200] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-01-01  6:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-01  6:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-01-25  3:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-01  6:56 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 729 bytes --]

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

--- Comment #3 from Matthew Waters <ystreet00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
The only 'app' I have is a gstreamer launch line with gstreamer-vaapi (git
master for some serious perf improvements) which looks like this:

LIBVA_DRIVER_NAME=vdpau gst-launch-1.0 playbin uri=file:///path/to/file.avi
video-sink='vaapisink use-glx=1'

The use-glx=1 flag is the thing that uses the NV_vdpau_interop path.

or with gst-plugins-gl (still requires gstreamer-vaapi for decoding) from git
(fd.o):

LIBVA_DRIVER_NAME=vdpau gst-launch-1.0 playbin uri=file:///path/to/file.avi
video-sink='glimagesink'

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1484 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2014-01-01  6:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-01-25  3:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-06 10:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-01-25  3:35 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 607 bytes --]

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

--- Comment #4 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
AFAIK the whole issue is that nouveau does have 1:1 relation between screen and
a context.

For a number of reasons we would like support for multiple contexts per screen,
which afaics will allow us (or is a decent starting point) to allow a context
to be shared between the vdpau and the gl state trackers.

I may be a bit off with the above assumptions, so don't quote me on that :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1365 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2014-01-25  3:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-06 10:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-06 11:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-06 10:56 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 322 bytes --]

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

--- Comment #5 from Maarten Lankhorst <bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org> ---
The screen is hashed based on inode major/minor, if we copy that logic we
should be able to do the same.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1085 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (4 preceding siblings ...)
  2014-02-06 10:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-06 11:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-06 16:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-06 11:30 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 435 bytes --]

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

--- Comment #6 from Maarten Lankhorst <bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org> ---
Created attachment 93520
  --> https://bugs.freedesktop.org/attachment.cgi?id=93520&action=edit
cache dri fd

Based on the radeon version, cache inode major/minor to only create a single
screen.

Does this fix things?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1397 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (5 preceding siblings ...)
  2014-02-06 11:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-06 16:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-06 20:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-06 16:36 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1150 bytes --]

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

--- Comment #7 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #6)
> Created attachment 93520 [details] [review]
> cache dri fd
> 
> Based on the radeon version, cache inode major/minor to only create a single
> screen.
> 
> Does this fix things?

Haven't tested it, but noticed a couple of interesting things

* util_hash_table_create can fail
    fd_tab = util_hash_table_create(hash_fd, compare_fd);
+    assert(fd_tab);


* if screen fails, we are at the mercy of the compiler if we null ptr deref or
not

+    if (screen)
+        util_hash_table_set(fd_tab, intptr_to_pointer(fd), screen);
+    return &screen->base;

+    if (!screen)
+        return NULL;
+    util_hash_table_set(fd_tab, intptr_to_pointer(fd), screen);
+    return &screen->base;

* nouveau_drm_screen_unref might need a prototype to build.

* drop the fd_tab check in nouveau_drm_screen_unref. it must be non NULL at
this point

* fold nouveau_drm_screen_unref uses into nouveau_screen_fini()

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (6 preceding siblings ...)
  2014-02-06 16:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-06 20:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-08  5:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-06 20:10 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]

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

--- Comment #8 from Matthew Waters <ystreet00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #6)
> Created attachment 93520 [details] [review]
> cache dri fd
> 
> Based on the radeon version, cache inode major/minor to only create a single
> screen.
> 
> Does this fix things?

No :).

Tracing through, both times that nouveau_drm_screen_create is called, fd_tab is
NULL.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1622 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (7 preceding siblings ...)
  2014-02-06 20:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-08  5:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-08  5:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-08  5:24 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 609 bytes --]

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

--- Comment #9 from Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 93639
  --> https://bugs.freedesktop.org/attachment.cgi?id=93639&action=edit
[PATCH] winsys/nouveau: set nouveau_drm_screen_create as public

(In reply to comment #8)
[snip]
> Tracing through, both times that nouveau_drm_screen_create is called, fd_tab
> is NULL.

Is the nouveau_drm_screen_create func public ? If not give this patch at try on
top of Maarten's work.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1657 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (8 preceding siblings ...)
  2014-02-08  5:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-08  5:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-08  9:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-08  5:25 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 441 bytes --]

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

Emil Velikov <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93639|0                           |1
           is patch|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1083 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (9 preceding siblings ...)
  2014-02-08  5:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-08  9:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-08 22:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-08  9:12 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 685 bytes --]

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

--- Comment #10 from Matthew Waters <ystreet00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to comment #9)
> Created attachment 93639 [details] [review]
> [PATCH] winsys/nouveau: set nouveau_drm_screen_create as public
> 
> (In reply to comment #8)
> [snip]
> > Tracing through, both times that nouveau_drm_screen_create is called, fd_tab
> > is NULL.
> 
> Is the nouveau_drm_screen_create func public ? If not give this patch at try
> on top of Maarten's work.

Same result, fd_tab is NULL and has different locations the two times it is
called.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1945 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (10 preceding siblings ...)
  2014-02-08  9:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-08 22:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-11 10:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-08 22:19 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 443 bytes --]

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

--- Comment #11 from Matthew Waters <ystreet00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 93678
  --> https://bugs.freedesktop.org/attachment.cgi?id=93678&action=edit
ld_preload nouveau_drm_screen_create

Even LD_PRELOAD ing nouveau_drm_screen_create doesn't work so something else is
missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1362 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (11 preceding siblings ...)
  2014-02-08 22:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-11 10:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-11 11:04   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-11 12:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-11 10:43 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 668 bytes --]

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

--- Comment #12 from Maarten Lankhorst <bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org> ---
The patch from comment 8 applied on top of my patch should work in theory, if
the newly compiled nouveau_dri.so is also used. This is the whole reason for
nouveau_drm_screen_create being exported in VDPAU_EXPORTS from
src/gallium/targets/vdpau-nouveau. Both libs need to export
nouveau_drm_screen_create for this to work.

Looks like some debugging fun is required. :/ Is the correct nouveau_dri.so
picked up? You can check with LIBGL_DEBUG=verbose.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1471 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (12 preceding siblings ...)
  2014-02-11 10:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-11 11:04   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2014-02-11 12:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-11 11:04 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 320 bytes --]

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

--- Comment #13 from Maarten Lankhorst <bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org> ---
For what it's worth, I performed the same testing and it worked locally with
both patches plugged in.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1084 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug 73200] vdpau-GL interop fails due to different screen objects
       [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (13 preceding siblings ...)
  2014-02-11 11:04   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2014-02-11 12:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2014-02-11 12:43 UTC (permalink / raw
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1186 bytes --]

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

Maarten Lankhorst <bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
           Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org
                   |rg                          |
  Attachment #93520|0                           |1
        is obsolete|                            |
  Attachment #93639|0                           |1
        is obsolete|                            |
  Attachment #93678|0                           |1
        is obsolete|                            |

--- Comment #14 from Maarten Lankhorst <bugs-FcfepWsj2zOByvU0x3ry2g@public.gmane.org> ---
Created attachment 93859
  --> https://bugs.freedesktop.org/attachment.cgi?id=93859&action=edit
cache screen, try 2

This time with --dynamic-list= in nouveau_dri.so to fixup the bug. Can you
verify that this  version works?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2925 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-11 12:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-01  5:41 [Bug 73200] New: vdpau-GL interop fails due to different screen objects bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-73200-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2014-01-01  5:43   ` [Bug 73200] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-01  6:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-01  6:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-01-25  3:35   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-06 10:56   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-06 11:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-06 16:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-06 20:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-08  5:24   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-08  5:25   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-08  9:12   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-08 22:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-11 10:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-11 11:04   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2014-02-11 12:43   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.