Re: no GL painter on Radeon 9600

2006-04-12 Thread Aapo Tahkola
On Wed, 12 Apr 2006 14:01:15 +0200
Tino Keitel [EMAIL PROTECTED] wrote:

 Hi folks,
 
 I use a TV software called MythTV with XOrg 7 and the r300 driver to
 get DRI support for my Radeon 9600. The GUI uses OpenGL, but it fails
 to start with this message:
 
 2006-04-12 11:14:21.778 Using NV NPOT texture extension
 drmRadeonCmdBuffer: -22 (exiting)

What does dmesg say about it?
What drm and mesa versions are you using?

-- 
Aapo Tahkola


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: no GL painter on Radeon 9600

2006-04-12 Thread Tino Keitel
On Wed, Apr 12, 2006 at 16:30:44 +, Aapo Tahkola wrote:
 On Wed, 12 Apr 2006 14:01:15 +0200
 Tino Keitel [EMAIL PROTECTED] wrote:
 
  Hi folks,
  
  I use a TV software called MythTV with XOrg 7 and the r300 driver to
  get DRI support for my Radeon 9600. The GUI uses OpenGL, but it fails
  to start with this message:
  
  2006-04-12 11:14:21.778 Using NV NPOT texture extension
  drmRadeonCmdBuffer: -22 (exiting)
 
 What does dmesg say about it?
 What drm and mesa versions are you using?

dmesg:

[drm:r300_emit_packet3] *ERROR* bad packet3 type 64 at e57668b8
[drm:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet3 failed

$ dpkg -l libgl1-mesa-dri | tail -1
ii  libgl1-mesa-dri 6.4.1-0.4  A free implementation of the OpenGL API -- 
DRI modules

$ dpkg -l libdrm2 | tail -1
ii  libdrm22.0.1-1Userspace interface to kernel DRM services -- 
runtime

The radeon.ko modules says:

[drm] Initialized radeon 1.22.0 20051229 on minor 0

It is the radeon module from the 2.6.16 kernel.

Regards,
Tino


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: no GL painter on Radeon 9600

2006-04-12 Thread Aapo Tahkola
On Wed, 12 Apr 2006 16:39:28 +0200
Tino Keitel [EMAIL PROTECTED] wrote:

 On Wed, Apr 12, 2006 at 16:30:44 +, Aapo Tahkola wrote:
  On Wed, 12 Apr 2006 14:01:15 +0200
  Tino Keitel [EMAIL PROTECTED] wrote:
  
   Hi folks,
   
   I use a TV software called MythTV with XOrg 7 and the r300 driver to
   get DRI support for my Radeon 9600. The GUI uses OpenGL, but it fails
   to start with this message:
   
   2006-04-12 11:14:21.778 Using NV NPOT texture extension
   drmRadeonCmdBuffer: -22 (exiting)
  
  What does dmesg say about it?
  What drm and mesa versions are you using?
 
 dmesg:
 
 [drm:r300_emit_packet3] *ERROR* bad packet3 type 64 at e57668b8
 [drm:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet3 failed
 
 $ dpkg -l libgl1-mesa-dri | tail -1
 ii  libgl1-mesa-dri 6.4.1-0.4  A free implementation of the OpenGL API -- 
 DRI modules
 
 $ dpkg -l libdrm2 | tail -1
 ii  libdrm22.0.1-1Userspace interface to kernel DRM services 
 -- runtime
 
 The radeon.ko modules says:
 
 [drm] Initialized radeon 1.22.0 20051229 on minor 0
 
 It is the radeon module from the 2.6.16 kernel.

You'll need newer drm.
You might also get it going by applying 
http://webcvs.freedesktop.org/dri/drm/shared-core/r300_cmdbuf.c?r1=1.7r2=1.8 .
r300 driver shipped with mesa 6.5 fixes many problems but has PCIE support and 
q3 video mode switches broken.

-- 
Aapo Tahkola


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: no GL painter on Radeon 9600

2006-04-12 Thread Tino Keitel
On Wed, Apr 12, 2006 at 17:29:26 +, Aapo Tahkola wrote:

[...]

 You'll need newer drm.

Do you mean radeon.ko, libdrm and r300_dri.so?

 You might also get it going by applying 
 http://webcvs.freedesktop.org/dri/drm/shared-core/r300_cmdbuf.c?r1=1.7r2=1.8 
 .

My 2.6.16 source fails to compile after patching, maybe I can fix it.

 r300 driver shipped with mesa 6.5 fixes many problems but has PCIE support 
 and q3 video mode switches broken.

Thanks.

Regards,
Tino


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: no GL painter on Radeon 9600

2006-04-12 Thread Aapo Tahkola
On Wed, 12 Apr 2006 17:40:41 +0200
Tino Keitel [EMAIL PROTECTED] wrote:

 On Wed, Apr 12, 2006 at 17:29:26 +, Aapo Tahkola wrote:
 
 [...]
 
  You'll need newer drm.
 
 Do you mean radeon.ko, libdrm and r300_dri.so?

radeon.ko, drm.ko and libdrm come in same package(CVS 
http://webcvs.freedesktop.org/dri/drm/).
In general, newer radeon.ko should always work with older r300_dri.so.
Since r300 driver is still more or less in development still, we have chosen to 
do quite many bumps between radeon.ko and core r300 driver(r300_dri.so), thus 
making it in general refuse to work with older DRMs. (cleaner code/less 
bugs/less effort this way)

  You might also get it going by applying 
  http://webcvs.freedesktop.org/dri/drm/shared-core/r300_cmdbuf.c?r1=1.7r2=1.8
   .
 
 My 2.6.16 source fails to compile after patching, maybe I can fix it.

or then you can just stick case RADEON_CNTL_BITBLT_MULTI: right after 
RADEON_CP_NOP: case.
It will make your system in-theory-compromisable though.

-- 
Aapo Tahkola


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel