All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 61879] New: Python binding of gbm's gbm_create_device fail to create_device
@ 2013-03-05 23:08 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-61879-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 4+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-03-05 23:08 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

          Priority: medium
            Bug ID: 61879
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: Python binding of gbm's gbm_create_device fail to
                    create_device
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: amirouche.boubekki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: Drivers/DRI/nouveau
           Product: Mesa

Created attachment 75991
  --> https://bugs.freedesktop.org/attachment.cgi?id=75991&action=edit
example script with cffi

I bound gbm_create_device with both cffi and cython of gbm_create_device and
they both fail at the same place

error: Program received signal SIGSEGV, Segmentation fault.

stacktrace:

#0  0x00007fffee18af07 in PUSH_DATA (push=0x13c0410, data=536952832) at
../../../../src/gallium/drivers/nouveau/nouveau_winsys.h:35
#1  0x00007fffee18b0b2 in BEGIN_NVC0 (push=0x13c0410, subc=2, mthd=0, size=1)
at nvc0_winsys.h:112
#2  0x00007fffee18c0c1 in nvc0_screen_create (dev=0x15f8690) at
nvc0_screen.c:496
#3  0x00007fffee0c4c3b in nouveau_drm_screen_create (fd=7) at
nouveau_drm_winsys.c:46
#4  0x00007fffeb0a6943 in create_screen (fd=7) at pipe_nouveau.c:11
#5  0x00007fffec4e5fdb in pipe_loader_drm_create_screen (dev=0x1750130,
library_paths=0x7fffecec0cf2 "/usr/lib64/gallium-pipe") at
pipe_loader_drm.c:270
#6  0x00007fffec4e570e in pipe_loader_create_screen (dev=0x1750130,
library_paths=0x7fffecec0cf2 "/usr/lib64/gallium-pipe") at pipe_loader.c:68
#7  0x00007fffec4e5539 in gallium_screen_create (gdrm=0x174fff0) at gbm.c:60
#8  0x00007fffec4e69a8 in gbm_gallium_drm_device_create (fd=7) at gbm_drm.c:248
#9  0x00007fffef338370 in _gbm_create_device (fd=7) at main/backend.c:124

version: 9.1 & git
linux: 3.8.2 gentoo

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

[-- Attachment #1.2: Type: text/html, Size: 3437 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] 4+ messages in thread

* [Bug 61879] Python binding of gbm's gbm_create_device fail to create_device
       [not found] ` <bug-61879-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2013-03-05 23:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-03-05 23:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-03-06  0:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-03-05 23:10 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

amirouche <amirouche.boubekki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amirouche.boubekki-Re5JQEeQqe8@public.gmane.org
                   |                            |m
            Version|unspecified                 |git

--- Comment #1 from amirouche <amirouche.boubekki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
my card is reported by lspci as:

01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560
Ti] (rev a1) (prog-if 00 [VGA controller])

eglkms demo from mesa-demo works fine under 9.0.2, 9.1 and git

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

[-- Attachment #1.2: Type: text/html, Size: 2199 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] 4+ messages in thread

* [Bug 61879] Python binding of gbm's gbm_create_device fail to create_device
       [not found] ` <bug-61879-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2013-03-05 23:10   ` [Bug 61879] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-03-05 23:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-03-06  0:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-03-05 23:22 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #2 from amirouche <amirouche.boubekki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
also there this is this message that shows up before the crash:
dri_init_screen_helper: failed to create pipe_screen

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

[-- Attachment #1.2: Type: text/html, Size: 1117 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] 4+ messages in thread

* [Bug 61879] Python binding of gbm's gbm_create_device fail to create_device
       [not found] ` <bug-61879-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2013-03-05 23:10   ` [Bug 61879] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2013-03-05 23:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2013-03-06  0:19   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2013-03-06  0:19 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

amirouche <amirouche.boubekki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from amirouche <amirouche.boubekki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
I update to libdrm but the bug was in my code I was open the device with python
open instead of the low level os.open which allows for O_RDWR.

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

[-- Attachment #1.2: Type: text/html, Size: 2156 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] 4+ messages in thread

end of thread, other threads:[~2013-03-06  0:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-05 23:08 [Bug 61879] New: Python binding of gbm's gbm_create_device fail to create_device bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-61879-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-03-05 23:10   ` [Bug 61879] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-05 23:22   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-03-06  0:19   ` 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.