[Bug 1023] Radeon IGP345M - drmAddMap failed

2005-10-20 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=1023  
 




--- Additional Comments From [EMAIL PROTECTED]  2005-10-20 03:13 ---
I am now using xorg-6.8.2 and a 20050807 snapshot from dri.freedesktop.org. The 
problem seems to have gone away. The card still performs terribly (~300fps in 
glxgears) but I have a horrible feeling that's fairly normal for this card. 
 
 
 
--   
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1023] Radeon IGP345M - drmAddMap failed

2005-10-20 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=1023  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-10-20 03:25 ---
reported fixed.  
 
 
--   
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1023] Radeon IGP345M - drmAddMap failed

2005-10-19 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=1023  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

  Component|General |Driver/Radeon
Product|DRI |xorg
Version|DRI CVS |unspecified


  
 
 
--   
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1023] Radeon IGP345M - drmAddMap failed

2005-10-19 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=1023  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-10-19 15:34 ---
need more information on whether this still occurs with 6.8.2 or 6.9/7.0 Release
candidates...  
 
 
--   
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 4116] DRM CVS: (II) RADEON(0): [drm] drmAddMap failed, Direct Rendering Disabled.

2005-08-17 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=4116  
 




--- Additional Comments From [EMAIL PROTECTED]  2005-08-17 01:46 ---
(In reply to comment #1)
 Is that a 64-bit machine? what type of kernel / userspace are you running?

No, it's same as my -march, Athlon-XP 2200+ 32bit. Vanilla kernel from
www.kernel.org, no patches, no additional modules.

http://hdr.unk.fi/~drac/config-2.6.13-rc6-git8 is my config.

 
 Can you try changing the drm_handle_t in shared-core/drm.h to unsigned int and
 rebuilding the DRM and seeing if it works...
 
 

If you meaned change it from long, to int.. and try again, i've done and
nothing is changed. Still (II) RADEON(0): [drm] drmAddMap failed
  
 
 
--   
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.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 4116] DRM CVS: (II) RADEON(0): [drm] drmAddMap failed, Direct Rendering Disabled.

2005-08-17 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=4116  
 




--- Additional Comments From [EMAIL PROTECTED]  2005-08-17 03:51 ---
ah I found it, I reverted part of another patch when I merged the 32/64 bit 
patch

I was half asleep last night when I did it, please check latest CVS and close
this if it works.

  
 
 
--   
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.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 4116] DRM CVS: (II) RADEON(0): [drm] drmAddMap failed, Direct Rendering Disabled.

2005-08-17 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=4116  
 

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-17 10:17 ---
(In reply to comment #3)
 ah I found it, I reverted part of another patch when I merged the 32/64 bit 
patch
 
 I was half asleep last night when I did it, please check latest CVS and close
 this if it works.
 
 

Indeed, you got it. It's fixed. I'm closing this one.  
 
 
--   
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.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 4116] New: DRM CVS: (II) RADEON(0): [drm] drmAddMap failed, Direct Rendering Disabled.

2005-08-16 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=4116  
 
   Summary: DRM CVS: (II) RADEON(0): [drm] drmAddMap failed, Direct
Rendering Disabled.
   Product: DRI
   Version: XOrg CVS
  Platform: PC
   URL: http://hdr.unk.fi/~drac/drm.txt
OS/Version: Linux
Status: NEW
  Severity: critical
  Priority: P2
 Component: DRM modules
AssignedTo: dri-devel@lists.sourceforge.net
ReportedBy: [EMAIL PROTECTED]


r200 card, 9200 Pro. X.org 7.0rc0. GCC 3.4.4. Gentoo. No utterly crazy CFLAGS, 
only -O3 -pipe -march=athlon-xp. Got DRM CVS today, to use it with
Linux 2.6.13-rc6-git8, and I got this:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] drmAddMap failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.

And yes, it is normally working. Switched back to modules from my kernel
version and got DRI back up.

Full Xorg.0.log in http://hdr.unk.fi/~drac/drm.txt

And don't get confused by errors by Multimedia -modules, I had to remove them
cause with them, X kills whole machine (hardlockup). This didn't happen with 6.
9RC0 tarball. But they shouldn't effect DRI in anyway, since it is working now 
with DRM from Kernel version ?  
 
 
--   
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.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 4116] DRM CVS: (II) RADEON(0): [drm] drmAddMap failed, Direct Rendering Disabled.

2005-08-16 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=4116  
 




--- Additional Comments From [EMAIL PROTECTED]  2005-08-16 16:14 ---
Is that a 64-bit machine? what type of kernel / userspace are you running?

Can you try changing the drm_handle_t in shared-core/drm.h to unsigned int and
rebuilding the DRM and seeing if it works...

  
 
 
--   
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.


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


drmAddMap failed

2005-01-09 Thread Jerome Glisse
Hello,
I wanted to test a bit the r300 drv on g5 but i get
a drmAddMap failed. I see a issue related to this
in the archive (september 2004). I assume it's have
been fixed.
My drm version is the one from r300 (linux-core)
but i guess there little difference between this trunk
and the official one.
Thus anyone got an idea from where this may came from ?
May it came from the agp driver ? (forcing to pcimode disable
dri here)
best,
Jerome Glisse
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: drmAddMap failed

2005-01-09 Thread Jerome Glisse
Vladimir Dergachev wrote:

On Sun, 9 Jan 2005, Jerome Glisse wrote:
Hello,
I wanted to test a bit the r300 drv on g5 but i get
a drmAddMap failed. I see a issue related to this
in the archive (september 2004). I assume it's have
been fixed.
My drm version is the one from r300 (linux-core)
but i guess there little difference between this trunk
and the official one.
Thus anyone got an idea from where this may came from ?
May it came from the agp driver ? (forcing to pcimode disable
dri here)

Just to get the obvious out of the way - you are running an Xserver that
successfully initialized DRI, right ? r300_demo does not initialize
drm driver, to keep it simple and prevent interference with X.
No my Xserver fail to initialize DRI, it fails with drmAddMap.
it says:
[drm] drmAddMap failed
And then tells there is no dri. I wanted to test r300 driver.
I have no more logs of that has i crashed my system.
Anyway, i first thought that there was somethings wrong with r300, but
i may have find the origin of the issue and it is not related to drm.
Some PPC (G5) stuff with agp. I need to do more test.
By the way, is there any flags that tell drm to verbose a bit on what
it does ?
best,
Jerome Glisse

---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: drmAddMap failed

2005-01-09 Thread Vladimir Dergachev
drm driver, to keep it simple and prevent interference with X.
No my Xserver fail to initialize DRI, it fails with drmAddMap.
it says:
[drm] drmAddMap failed
And then tells there is no dri. I wanted to test r300 driver.
I have no more logs of that has i crashed my system.
Anyway, i first thought that there was somethings wrong with r300, but
i may have find the origin of the issue and it is not related to drm.
Some PPC (G5) stuff with agp. I need to do more test.
By the way, is there any flags that tell drm to verbose a bit on what
it does ?
Yes, but I don't remember them offhand. Try to grep for EXPORT_SYMBOL - 
the one with debug in the name is likely what you need.

best
  Vladimir Dergachev
best,
Jerome Glisse

---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-22 Thread Jay Phelps




I appreciate the quick response! I just caught up with this e-mail chain and have not had a chance to try anything. My DRM is dated and broken among other things but it also looks like there's some vigorous activity on getting the DRI code patched as well. Let me know if I can assist in some way (testing maybe at this point) but it seems like you all took this and ran with it pretty well already.

Jay

On Mon, 2004-09-20 at 13:36, Jon Smirl wrote:

Felix, I'm removing the size check from addmap with a permanent map. 
I've now encountered X asking for maps both smaller and larger that
what the hardware allows. This is why we need to get this code out of
X an into the driver. I'll fix the code to map the legal value for the
hardware (from the permanent map) and return that info to X.





[Bug 1428] drmAddMap failed with latest drm CVS

2004-09-21 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://freedesktop.org/bugzilla/show_bug.cgi?id=1428
   




--- Additional Comments From [EMAIL PROTECTED]  2004-09-21 08:58 ---
This should be fixed in CVS now
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1428] drmAddMap failed with latest drm CVS

2004-09-21 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://freedesktop.org/bugzilla/show_bug.cgi?id=1428
   




--- Additional Comments From [EMAIL PROTECTED]  2004-09-21 12:08 ---
Yes confirmed, works again. This bug can be closed. Many thanks :)
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1428] drmAddMap failed with latest drm CVS

2004-09-21 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://freedesktop.org/bugzilla/show_bug.cgi?id=1428
   

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2004-09-21 12:20 ---
fixed in cvs
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-20 Thread Jon Smirl
Do you have this fix?

= linux/drm_scatter.h 1.6 vs edited =
--- 1.6/linux/drm_scatter.h Sun Sep  5 21:22:06 2004
+++ edited/linux/drm_scatter.h  Thu Sep 16 01:11:13 2004
@@ -73,7 +73,7 @@

   DRM_DEBUG( %s\n, __FUNCTION__ );

-   if (drm_core_check_feature(dev, DRIVER_SG))
+   if (!drm_core_check_feature(dev, DRIVER_SG))
   return -EINVAL;

   if ( dev-sg )





On Mon, 20 Sep 2004 09:49:34 +0400, Konstantin A. Lepikhov
[EMAIL PROTECTED] wrote:
 Hi Felix!
 
 Monday 20, at 02:11:17 AM you wrote:
 
  On Sun, 19 Sep 2004 17:27:02 -0400
  Jon Smirl [EMAIL PROTECTED] wrote:
 
   That should be = in the patch not =.  The requested size needs to be
   smaller than the permanent map size.
 
  That's not enough. You also need to change DRM(mmap), otherwise DRI
  clients will fail to mmap the frame buffer. The attached patch does
  both. This way I got permanent maps working in the Savage driver (not
  committed yet) without probing the video ram in preinit.
 For me it helps a little - now drm don't complaints about AddMap, but DRI
 still not working.
 
 from XFree86.0.log:
 
 skip
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is -1, (Unknown error 999)
 drmOpenDevice: open result is -1, (Unknown error 999)
 drmOpenDevice: Open failed
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is -1, (Unknown error 999)
 drmOpenDevice: open result is -1, (Unknown error 999)
 drmOpenDevice: Open failed
 drmOpenByBusid: Searching for BusID pci::01:00.0
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 5, (OK)
 drmOpenByBusid: drmOpenMinor returns 5
 drmOpenByBusid: drmGetBusid reports pci::01:00.0
 (II) RADEON(0): [drm] loaded kernel module for radeon driver
 (II) RADEON(0): [drm] DRM interface version 1.2
 (II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
 (II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0b4a000
 (II) RADEON(0): [drm] mapped SAREA 0xe0b4a000 to 0x48243000
 (II) RADEON(0): [drm] framebuffer handle = 0xd000
 (II) RADEON(0): [drm] added 1 reserved context for kernel
 (II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x2530; Card 0x1002/0x514c]
 (II) RADEON(0): [agp] 8192 kB allocated with handle 0x0001
 (II) RADEON(0): [agp] ring handle = 0xe800
 (II) RADEON(0): [agp] Ring mapped at 0x48245000
 (II) RADEON(0): [agp] ring read ptr handle = 0xe8101000
 (II) RADEON(0): [agp] Ring read ptr mapped at 0x48346000
 (II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe8102000
 (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x48347000
 (II) RADEON(0): [agp] GART texture map handle = 0xe8302000
 (II) RADEON(0): [agp] GART Texture map mapped at 0x48547000
 (II) RADEON(0): [drm] removed 1 reserved context for kernel
 (II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe0b4a000 at 0x48243000
 (II) RADEON(0): Memory manager initialized to (0,0) (1152,8191)
 (II) RADEON(0): Reserved area from (0,864) to (1152,866)
 (II) RADEON(0): Largest offscreen area available: 1152 x 7325
 (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
 (II) RADEON(0): Acceleration enabled
 (==) RADEON(0): Backing store disabled
 (==) RADEON(0): Silken mouse enabled
 (II) RADEON(0): Using hardware cursor (scanline 866)
 (II) RADEON(0): Largest offscreen area available: 1152 x 7321
 (**) Option dpms
 (**) RADEON(0): DPMS enabled
 (II) RADEON(0): Direct rendering disabled
 
 from /var/log/messages
 
 skip
 Linux agpgart interface v0.100 (c) Dave Jones
 agpgart: Detected an Intel i850 Chipset.
 agpgart: Maximum main memory to use for agp memory: 439M
 agpgart: AGP aperture is 64M @ 0xe800
 radeon: Ignoring new-style parameters in presence of obsolete ones
 mtrr: 0xd000,0x1000 overlaps existing 0xd000,0x800
 [drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc Radeon 
 R200 QL [Radeon 8500 LE]
 ACPI: PCI interrupt :01:00.0[A] - GSI 16 (level, low) - IRQ 16
 agpgart: Found an AGP 2.0 compliant device at :00:00.0.
 agpgart: Putting AGP V2 device at :00:00.0 into 0x mode
 agpgart: Putting AGP V2 device at :01:00.0 into 0x mode
 agpgart: Putting AGP V2 device at :02:04.0 into 0x mode
 [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
 [drm:radeon_unlock] *ERROR* Process 7737 using kernel context 0
 
 
 
 --
 WBR, Konstantin   chat with ==ICQ: 109916175
 Lepikhov,speak  to ==JID: [EMAIL PROTECTED]
 aka L.A. Kostis   write  to ==mailto:[EMAIL PROTECTED]
 
 ...The information is like the bank...(c) 

Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-20 Thread Konstantin A. Lepikhov
Hi Jon!

Monday 20, at 02:15:26 AM you wrote:

 Do you have this fix?
 
skip

Yes, I have the 20040919 snapshot and drm from cvs, so this patch is
applyed here.

-- 
WBR, Konstantin   chat with ==ICQ: 109916175
 Lepikhov,speak  to ==JID: [EMAIL PROTECTED]
aka L.A. Kostis   write  to ==mailto:[EMAIL PROTECTED]

...The information is like the bank...(c) EC8OR


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1428] New: drmAddMap failed with latest drm CVS

2004-09-20 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://freedesktop.org/bugzilla/show_bug.cgi?id=1428
   
   Summary: drmAddMap failed with latest drm CVS
   Product: DRI
   Version: DRI CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: DRM modules
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


With a drm module from CVS from today (and Xorg CVS + Mesa CVS), direct
rendering isn't enabled. The following is in the Xorg log file:
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::02:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0985000
(II) RADEON(0): [drm] mapped SAREA 0xe0985000 to 0x498aa000
(II) RADEON(0): [drm] drmAddMap failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.
...

Reverting back to drm CVS from 16 Sept (before dyn-minor patch was re-applied),
makes everything work as normal again.
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1428] drmAddMap failed with latest drm CVS

2004-09-20 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://freedesktop.org/bugzilla/show_bug.cgi?id=1428
   




--- Additional Comments From [EMAIL PROTECTED]  2004-09-20 11:02 ---
I checked in the fix for this a few minutes ago. 

This bug is still in the radeon driver, i haven't located the problem yet.

[drm:radeon_ioctl] pid=10687, cmd=0x6430, nr=0x30, dev 0xe200, auth=1
[drm:radeon_ioctl] pid=10687, cmd=0x40546440, nr=0x40, dev 0xe200, auth=1
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_ioctl] pid=10687, cmd=0xc0086426, nr=0x26, dev 0xe200, auth=1
[drm:radeon_ioctl] pid=10687, cmd=0xc0086426, nr=0x26, dev 0xe200, auth=1
[drm:radeon_ioctl] pid=10687, cmd=0x4008642b, nr=0x2b, dev 0xe200, auth=1
[drm:radeon_unlock] *ERROR* Process 10687 using kernel context 0
[drm:radeon_vm_shm_close] 0xb3f0e000,0x2000
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1428] drmAddMap failed with latest drm CVS

2004-09-20 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://freedesktop.org/bugzilla/show_bug.cgi?id=1428
   




--- Additional Comments From [EMAIL PROTECTED]  2004-09-20 11:07 ---
Yes, just noticed a similar problem mentioned on the mailing list, and the new
commits to cvs.
Tried again, similar result as the person on the list:

(==) RADEON(0): Write-combining range (0xd000,0x800)
(II) RADEON(0): Dynamic Clock Scaling Disabled
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci::02:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci::02:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::02:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe09c
(II) RADEON(0): [drm] mapped SAREA 0xe09c to 0x498aa000
(II) RADEON(0): [drm] framebuffer handle = 0xd000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000207 [AGP 0x10de/0x01e0; Card 0x1002/0x514c]
(II) RADEON(0): [agp] 65536 kB allocated with handle 0x0001
(II) RADEON(0): [agp] ring handle = 0xe000
(II) RADEON(0): [agp] Ring mapped at 0x498ac000
(II) RADEON(0): [agp] ring read ptr handle = 0xe0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x499ad000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x499ae000
(II) RADEON(0): [agp] GART texture map handle = 0xe0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x49bae000
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe09c at 0x498aa000
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7417
(**) Option dpms
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Direct rendering disabled
...
and in the kernel messages:
[drm:radeon_ioctl] pid=8708, cmd=0xc0106434, nr=0x34, dev 0xe200, auth=1
[drm:radeon_ioctl] pid=8708, cmd=0x40086436, nr=0x36, dev 0xe200, auth=1
[drm:radeon_agp_bind] base = 0xe000 entry-bound = 0xe000
[drm:radeon_ioctl] pid=8708, cmd=0xc0186415, nr=0x15, dev 0xe200, auth=1
[drm:radeon_addmap] offset = 0x, size = 0x00101000, type = 3
[drm:radeon_mmap] start = 0x498ac000, end = 0x499ad000, offset = 0xe000
[drm:radeon_mmap]Type = 3; start = 0x498ac000, end = 0x499ad000, offset = 0xe
000
[drm:radeon_vm_open] 0x498ac000,0x00101000
[drm:radeon_ioctl] pid=8708, cmd=0xc0186415, nr=0x15, dev 0xe200, auth=1
[drm:radeon_addmap] offset = 0x00101000, size = 0x1000, type = 3
[drm:radeon_mmap] start = 0x499ad000, end = 0x499ae000, offset = 0xe0101000
[drm:radeon_mmap]Type = 3; start = 0x499ad000, end = 0x499ae000, offset = 0xe
0101000
[drm:radeon_vm_open] 0x499ad000,0x1000
[drm:radeon_ioctl] pid=8708, cmd=0xc0186415, nr=0x15, dev 0xe200, auth=1
[drm:radeon_addmap] offset = 0x00102000, size = 0x0020, type = 3
[drm:radeon_mmap] start = 0x499ae000, end = 0x49bae000, offset = 0xe0102000
[drm:radeon_mmap]Type = 3; start = 0x499ae000, end = 0x49bae000, offset = 0xe
0102000
[drm:radeon_vm_open] 0x499ae000,0x0020
[drm:radeon_ioctl] pid=8708, cmd=0xc0186415, nr=0x15, dev 0xe200, auth=1
[drm:radeon_addmap] offset = 0x00302000, size = 0x03c0, type = 3
[drm:radeon_mmap] start = 0x49bae000, end = 0x4d7ae000, offset = 0xe0302000
[drm:radeon_mmap]Type = 3; start = 0x49bae000, end = 0x4d7ae000, offset = 0xe
0302000
[drm:radeon_vm_open] 0x49bae000,0x03c0
[drm:radeon_ioctl] pid=8708, cmd=0x80206433, nr=0x33, dev 0xe200, auth=1
[drm:radeon_ioctl] pid=8708, cmd=0xc0186415, nr=0x15, dev 0xe200, auth=1
[drm:radeon_addmap] offset = 0xe500, size = 0x0008, type = 1
[drm:radeon_ioctl] pid=8708, cmd=0x40546440, nr=0x40, dev 0xe200, auth=1
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without 

Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-20 Thread Jon Smirl
Felix, I'm removing the size check from addmap with a permanent map. 
I've now encountered X asking for maps both smaller and larger that
what the hardware allows. This is why we need to get this code out of
X an into the driver. I'll fix the code to map the legal value for the
hardware (from the permanent map) and return that info to X.

-- 
Jon Smirl
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Jay Phelps




Using the 09-18-2004 radeon snapshots I receive the following error. I've been looking for more information on this error and not really getting anywhere. I have a 07--27-2004 build which I do have working but this latest one is no go. I'm using a fedora core 2 system with a 2.6.6 stock kernel. Can anybody point me in a new direction to try and get this figured out?

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/matalglap:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.21-14.ELsmp i686 [ELF] 
Current Operating System: Linux matalglap 2.6.6 #14 Thu Sep 9 11:24:10 CDT 2004 i686
Build Date: 26 June 2004
Build Host: tweety.build.redhat.com
 
	Before reporting problems, check http://wiki.X.Org
	to make sure that you have the latest version.
Module Loader present
OS Kernel: Linux version 2.6.6 ([EMAIL PROTECTED]) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #14 Thu Sep 9 11:24:10 CDT 2004 

SNIP

(==) RADEON(0): Write-combining range (0xe800,0x100)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf190a000
(II) RADEON(0): [drm] mapped SAREA 0xf190a000 to 0x41304000
(II) RADEON(0): [drm] drmAddMap failed
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.

SNIP




Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Jon Smirl
Where are you getting your DRM driver? The one in the Linux BK tree is
broken. Use DRM CVS instead.

-- 
Jon Smirl
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Konstantin A. Lepikhov
Hi Jon!

Sunday 19, at 03:35:13 PM you wrote:

 Where are you getting your DRM driver? The one in the Linux BK tree is
 broken. Use DRM CVS instead.
 
I get the same problem (unworking dri) with lastest snapshots (20040919
and 20040918). BTW simple diff of current DRM tree shows that drm in
snapshots is identifical with cvs :)

Here is relative parts from my XFree86.0.log:

skip
(==) RADEON(0): Write-combining range (0xd000,0x800)
(II) RADEON(0): Wrote: rd=12, fd=107, pd=1
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] loaded kernel module for radeon driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0b09000
(II) RADEON(0): [drm] mapped SAREA 0xe0b09000 to 0x48243000
(II) RADEON(0): [drm] drmAddMap failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.

PS It's ATI Radeon 8500 QL card.

-- 
WBR, Konstantin   chat with ==ICQ: 109916175
 Lepikhov,speak  to ==JID: [EMAIL PROTECTED]
aka L.A. Kostis   write  to ==mailto:[EMAIL PROTECTED]

...The information is like the bank...(c) EC8OR


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Jon Smirl
Does this fix it? I won't be on my development machine to test it for
a few more hours.

-- 
Jon Smirl
[EMAIL PROTECTED]


patch
Description: Binary data


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Jon Smirl
That should be = in the patch not =.  The requested size needs to be
smaller than the permanent map size.


On Sun, 19 Sep 2004 17:24:36 -0400, Jon Smirl [EMAIL PROTECTED] wrote:
 Does this fix it? I won't be on my development machine to test it for
 a few more hours.
 
 
 
 --
 Jon Smirl
 [EMAIL PROTECTED]
 
 
 
 



-- 
Jon Smirl
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Dave Airlie

the one in Linus bk tree shouldn't be broken, he pulled up all my fixes
2-3 days ago...

Dave.

On Sun, 19 Sep 2004, Jon Smirl wrote:

 Where are you getting your DRM driver? The one in the Linux BK tree is
 broken. Use DRM CVS instead.



-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DECstation / Linux VAX / ILUG person



---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Felix Kühling
On Sun, 19 Sep 2004 17:27:02 -0400
Jon Smirl [EMAIL PROTECTED] wrote:

 That should be = in the patch not =.  The requested size needs to be
 smaller than the permanent map size.

That's not enough. You also need to change DRM(mmap), otherwise DRI
clients will fail to mmap the frame buffer. The attached patch does
both. This way I got permanent maps working in the Savage driver (not
committed yet) without probing the video ram in preinit.

Regards,
  Felix

| Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |
Index: drm_bufs.h
===
RCS file: /cvs/dri/drm/linux/drm_bufs.h,v
retrieving revision 1.41
diff -u -r1.41 drm_bufs.h
--- drm_bufs.h  8 Sep 2004 20:57:39 -   1.41
+++ drm_bufs.h  20 Sep 2004 00:02:33 -
@@ -186,7 +186,7 @@
drm_map_list_t *_entry = list_entry( _list, 
drm_map_list_t, head );
if ( _entry-map  _entry-map-type == map-type 
_entry-map-offset == map-offset 
-   _entry-map-size == map-size ) {
+   _entry-map-size = map-size ) {
DRM(free)( map, sizeof(*map), DRM_MEM_MAPS );
map = _entry-map;
DRM_DEBUG( Found existing: offset = 0x%08lx, 
size = 0x%08lx, type = %d\n,
Index: drm_vm.h
===
RCS file: /cvs/dri/drm/linux/drm_vm.h,v
retrieving revision 1.38
diff -u -r1.38 drm_vm.h
--- drm_vm.h5 Sep 2004 10:54:58 -   1.38
+++ drm_vm.h20 Sep 2004 00:02:34 -
@@ -569,7 +569,7 @@
return -EPERM;
 
/* Check for valid size. */
-   if (map-size != vma-vm_end - vma-vm_start) return -EINVAL;
+   if (map-size  vma-vm_end - vma-vm_start) return -EINVAL;
 
if (!capable(CAP_SYS_ADMIN)  (map-flags  _DRM_READ_ONLY)) {
vma-vm_flags = ~(VM_WRITE | VM_MAYWRITE);


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Jon Smirl
Your patch is correct. I was focusing on the I2C changes and didn't
check in all of the addmap parts. I'll check this is as soon as get
back to my dev machine.


On Mon, 20 Sep 2004 02:11:17 +0200, Felix Kühling [EMAIL PROTECTED] wrote:
 On Sun, 19 Sep 2004 17:27:02 -0400
 Jon Smirl [EMAIL PROTECTED] wrote:
 
  That should be = in the patch not =.  The requested size needs to be
  smaller than the permanent map size.
 
 That's not enough. You also need to change DRM(mmap), otherwise DRI
 clients will fail to mmap the frame buffer. The attached patch does
 both. This way I got permanent maps working in the Savage driver (not
 committed yet) without probing the video ram in preinit.
 
 Regards,
   Felix
 
 | Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu |
 | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3  B152 151C 5CC1 D888 E595 |
 
 
 
 



-- 
Jon Smirl
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Jon Smirl
CVS server appears to be dead. I'll try again later.

-- 
Jon Smirl
[EMAIL PROTECTED]


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Radeon M6 (r200) - [drm] drmAddMap failed

2004-09-19 Thread Konstantin A. Lepikhov
Hi Felix!

Monday 20, at 02:11:17 AM you wrote:

 On Sun, 19 Sep 2004 17:27:02 -0400
 Jon Smirl [EMAIL PROTECTED] wrote:
 
  That should be = in the patch not =.  The requested size needs to be
  smaller than the permanent map size.
 
 That's not enough. You also need to change DRM(mmap), otherwise DRI
 clients will fail to mmap the frame buffer. The attached patch does
 both. This way I got permanent maps working in the Savage driver (not
 committed yet) without probing the video ram in preinit.
For me it helps a little - now drm don't complaints about AddMap, but DRI
still not working.

from XFree86.0.log:

skip
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenByBusid: drmOpenMinor returns 5
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] loaded kernel module for radeon driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xe0b4a000
(II) RADEON(0): [drm] mapped SAREA 0xe0b4a000 to 0x48243000
(II) RADEON(0): [drm] framebuffer handle = 0xd000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000201 [AGP 0x8086/0x2530; Card 0x1002/0x514c]
(II) RADEON(0): [agp] 8192 kB allocated with handle 0x0001
(II) RADEON(0): [agp] ring handle = 0xe800
(II) RADEON(0): [agp] Ring mapped at 0x48245000
(II) RADEON(0): [agp] ring read ptr handle = 0xe8101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x48346000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xe8102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x48347000
(II) RADEON(0): [agp] GART texture map handle = 0xe8302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x48547000
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe0b4a000 at 0x48243000
(II) RADEON(0): Memory manager initialized to (0,0) (1152,8191)
(II) RADEON(0): Reserved area from (0,864) to (1152,866)
(II) RADEON(0): Largest offscreen area available: 1152 x 7325
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
32 256x256 slots
16 512x512 slots
(II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 866)
(II) RADEON(0): Largest offscreen area available: 1152 x 7321
(**) Option dpms
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Direct rendering disabled

from /var/log/messages

skip
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel i850 Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 64M @ 0xe800
radeon: Ignoring new-style parameters in presence of obsolete ones
mtrr: 0xd000,0x1000 overlaps existing 0xd000,0x800
[drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc Radeon R200 
QL [Radeon 8500 LE]
ACPI: PCI interrupt :01:00.0[A] - GSI 16 (level, low) - IRQ 16
agpgart: Found an AGP 2.0 compliant device at :00:00.0.
agpgart: Putting AGP V2 device at :00:00.0 into 0x mode
agpgart: Putting AGP V2 device at :01:00.0 into 0x mode
agpgart: Putting AGP V2 device at :02:04.0 into 0x mode
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:radeon_unlock] *ERROR* Process 7737 using kernel context 0

-- 
WBR, Konstantin   chat with ==ICQ: 109916175
 Lepikhov,speak  to ==JID: [EMAIL PROTECTED]
aka L.A. Kostis   write  to ==mailto:[EMAIL PROTECTED]

...The information is like the bank...(c) EC8OR


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 1023] New: Radeon IGP345M - drmAddMap failed

2004-08-09 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://freedesktop.org/bugzilla/show_bug.cgi?id=1023
   
   Summary: Radeon IGP345M - drmAddMap failed
   Product: DRI
   Version: DRI CVS
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: minor
  Priority: P2
 Component: General
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I'm using DRI CVS, Mesa CVS, DRM CVS and XOrg CVS with my Radeon IGP345M. Things 
are working in general but when I log out back to Entrance, 3D acceleration 
appears to stop working. Note that Entrance is also using 3D acceleration. It 
starts working again when I use Ctrl+Alt+Backspace but this only became true 
recently. I checked the same stuff out a week ago (except for XOrg, which was 
version 6.7.0) and restarting X would not fix the problem most of the time, 
though occasionally it would, perhaps with a sufficient delay? Checking the log 
produced by XOrg, I see this...

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: Searching for BusID pci::01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor returns 7
drmOpenByBusid: drmGetBusid reports pci::01:05.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:05.0
(II) RADEON(0): [drm] drmAddMap failed
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Render acceleration disabled
(II) RADEON(0): Acceleration enabled
(II) RADEON(0): Using hardware cursor (scanline 770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7417
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Direct rendering enabled

And of course, it doesn't have those errors when it starts initially. Any ideas?   
 
   
   
-- 
Configure bugmail: https://freedesktop.org/bugzilla/userprefs.cgi?tab=email   
   
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel