Re: agp mode and egl

2005-06-08 Thread Alan Hourihane
On Tue, Jun 07, 2005 at 08:56:09 -0400, Jon Smirl wrote:
> On 6/7/05, Dave Airlie <[EMAIL PROTECTED]> wrote:
> > An issue with doing all this on bootup is I can see very long kernel
> > command lines appearing, which is something I don't really want to have to
> > tell ppl, editing /etc/display.conf is a lot easier than say add
> > "radeon:agp_mode=4" to everyones command line..
> 
> you would just let it boot with default. Then in a script:
> echo mode >/sys/class/drm/card0/agpmode
> 
> if you need to override the default.

Bear in mind what we'd be doing for other OS's besides Linux.

Alan.


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 4714] OpenGL applications and some X-windows functions cause machine to be unresponsive.

2005-06-08 Thread bugme-daemon
http://bugzilla.kernel.org/show_bug.cgi?id=4714

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |REJECTED
 Resolution||INVALID



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


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 3493] New: Entire X-windowing system hangs during normal 3D gaming

2005-06-08 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=3493  
 
   Summary: Entire X-windowing system hangs during normal 3D gaming
   Product: DRI
   Version: XOrg CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: DRM modules
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


This bug is reproducable with all OpenGL games I've tried. 

The server will hang for exactly ten seconds (or some multiple thereof) during
3D gaming. It is reproducable after a few minutes with ppracer...

Here's some log output: ( Noteworthy lines highlighted..) 


X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.11.7 i686 [ELF] 
Current Operating System: Linux leenooks 2.6.12-rc5 #2 SMP Sun Jun 5 19:03:50
EST 2005 i686
Build Date: 05 June 2005
##

(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(II) Entity 0 shares no resources
(II) Entity 1 shares no resources
##
(EE) R128(0): R128CCEWaitForIdle: (DEBUG) CCE idle took i = 1025
(EE) R128(0): Idle timed out, resetting engine...
##
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(II) Entity 0 shares no resources
(II) Entity 1 shares no resources
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(II) Screen 0 shares mem & io resources
(II) Screen 1 shares mem & io resources
(II) Entity 0 shares no resources
(II) Entity 1 shares no resources
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) 3rd Button detected: disabling emulate3Button  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: radeon DRM PCI/AGP detection

2005-06-08 Thread Ian Romanick
Jon Smirl wrote:

> drmAgpAcquire() will always fail on a PCI card, right? It would be
> much better to use a DRM call to tell the difference.

For a "true" PCI card, yes.  This is one of the changes I made to fail
more gracefully on PCI G450 cards.

> This will still allow an AGP card to run in PCI mode if you really
> want to. drmAgpAcquire() - find out if you have AGP - then ignore the
> result.

The way I'm doing it for MGA is a bit different.  I've added a "DMA
bootstrap" ioctl.  User-mode tells the kernel what DMA configuration
(e.g., AGP mode, size of buffers, etc.) it wants.  The kernel then does
what it can and tells user-mode what happend.  In this case, if you
request a non-zero AGP mode, but PCI DMA is used, the returned AGP mode
will be zero.

I should have this patch out tomorrow or Friday.



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 3495] New: blender segfaults with current r200 binary snapshot

2005-06-08 Thread bugzilla-daemon
Please do not reply to this email: if you want to comment on the bug, go to
   
the URL shown below and enter yourcomments there. 
   
https://bugs.freedesktop.org/show_bug.cgi?id=3495  
 
   Summary: blender segfaults with current r200 binary snapshot
   Product: DRI
   Version: DRI CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: libGL
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


Problem: 
 
Using the current binary snapshot of the r200 driver 
(r200-20050606-linux.i386.tar.bz2), a recent version of blender (tested with 
2.36 and 2.37) starts normally, but without text or icons on buttons and menu 
entries. If I move the mouse over a menu, the corresponding text becomes 
visible for a moment (highlighted) and then the application segfaults. Using 
software rendering everything behaves normally. 
 
My system: SuSE 9.1 + vanilla 2.6.11.10 kernel + Xorg 6.8.1.99 (Release Date: 2 
October 2004 + cvs) + dri snapshot 20050606 
 
Backtrace (Unfortunately not very useful): 
 
#0  0x in ?? () 
#1  0x409b5d2a in _swrast_use_read_buffer (ctx=0x88c91c0) at 
swrast/s_buffers.c:360 
#2  0x409b6651 in copy_rgba_pixels (ctx=0x1, srcx=16777216, srcy=1, width=248, 
height=248, destx=0, desty=0) at swrast/s_copypix.c:347 
#3  0x in ?? () 
#4  0x0001 in ?? () 
... 
 
Output with "LIBGL_DEBUG=verbose": 
 
[EMAIL PROTECTED]:~/Grafik/blender> LIBGL_DEBUG=verbose blender 
Using Python version 2.3 
libGL: XF86DRIGetClientDriverName: 5.0.1 r200 (screen 0) 
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/r200_dri.so 
drmOpenByBusid: Searching for BusID pci::01:00.0 
drmOpenDevice: node name is /dev/dri/card0 
drmOpenDevice: open result is 4, (OK) 
drmOpenByBusid: drmOpenMinor returns 4 
drmOpenByBusid: drmGetBusid reports pci::01:00.0 
Speicherzugriffsfehler (core dumped)  
 
 
--   
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email 
 
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel