[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-14 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626


Krzysztof A. Sobiecki  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #11 from Krzysztof A. Sobiecki   2009-09-14 
18:12:32 PST ---
Yes I agree, drm commit cdd325b59a17a614b90fc2f8b388175e6d79e3cf fixed this
bug.
I'm closing this bug.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-14 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #10 from Kevin DeKorte   2009-09-14 15:32:13 
PST ---
Airlied pushed a patch to correct this into libdrm. I believe this problem is
now fixed. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-14 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #9 from Pauli   2009-09-14 11:17:06 PST ---
Problem is that user space pointers are invalid in kernel space so we have to
copy and convert the data before entering kernel memory space. That is required
for all pointers passed to drm.

http://www.cs.helsinki.fi/linux/linux-kernel/2002-06/1512.html has explanation
about possible fails in copy.

Which means we need compat ioctl layer to handle the copy. Another option
probably would be converting the user-space pointer to kernel address space but
I could find how to do that.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-14 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #8 from Kevin DeKorte   2009-09-14 10:37:39 PST 
---
suokko on #radeon had me add a patch that basically isolated the problem down
to 

drivers/gpu/drm/radeon/radeon_cs.c around line 108

chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks);
if (DRM_COPY_FROM_USER(p->chunks_array, chunk_array_ptr,
   sizeof(uint64_t)*cs->num_chunks)) {
return -EFAULT;
}

he believes the ptr from userspace is invalid since that memory allocation is
failing.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-14 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #7 from Marc   2009-09-14 03:55:09 PST ---
Created an attachment (id=29511)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29511)
output of glxgears32 to messages with drm.debug=1

This is the output of running glxgears (32bit) to syslog with drm.debug=1 set


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-05 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #6 from Krzysztof A. Sobiecki   2009-09-05 07:58:44 
PST ---
Created an attachment (id=29251)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29251)
Output of RADEON_DEBUG=all with 64bit version progs/samples/stencil

Only real difference I was able to spot between 32bit and 64bit version is size
of drm_radeon_cmd_buffer_t. In 32bit it have 16 and 64bit have 32. 


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #5 from Krzysztof A. Sobiecki   2009-09-01 10:46:08 
PST ---
In dmesg I have this:
[21491.327145] [drm:radeon_cs_ioctl] *ERROR* Failed to initialize parser !
[21493.161548] [drm:radeon_cs_ioctl] *ERROR* Failed to initialize parser !
[21494.806706] [drm:radeon_cs_ioctl] *ERROR* Failed to initialize parser !
[21496.105809] [drm:radeon_cs_ioctl] *ERROR* Failed to initialize parser !
[21497.345617] [drm:radeon_cs_ioctl] *ERROR* Failed to initialize parser !


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #2 from Krzysztof Sobiecki   2009-09-01 06:38:36 PST 
---
Created an attachment (id=29070)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29070)
Output of RADEON_DEBUG=all with fbotexture


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #4 from Krzysztof Sobiecki   2009-09-01 06:40:39 PST 
---
Created an attachment (id=29072)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29072)
Output of RADEON_DEBUG=all with progs/samples/stencil


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #3 from Krzysztof Sobiecki   2009-09-01 06:40:10 PST 
---
Created an attachment (id=29071)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29071)
Output of RADEON_DEBUG=ioctl with progs/samples/stencil


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626


Krzysztof Sobiecki  changed:

   What|Removed |Added

 OS/Version|All |Linux (All)
   Platform|Other   |x86-64 (AMD64)




-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 23626] On 64bit kernel 32bit OpenGL application doesn't work

2009-09-01 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=23626





--- Comment #1 from Krzysztof Sobiecki   2009-09-01 06:37:11 PST 
---
Created an attachment (id=29069)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=29069)
Output of RADEON_DEBUG=ioctl with fbotexture


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel