Re: r300_dri compiling

2005-08-22 Thread john
WOW!
worked like a charm! thanks!


On Sunday 21 August 2005 16:01, Vladimir Dergachev wrote:
 On Sun, 21 Aug 2005, john wrote:
  hi!
  i'm not too experienced in programming, but here it goes: but i've been
  able to check out the Mesa cvs and the r300 cvs. i've been trying for
  quite a long time, to compile r300 Mesa drivers. the drm works fine from
  r300 cvs, but i cant get mesa to compile. if i try to compile the r300
  code from Mesa cvs the compile finishes cleanly, but I get no direct 3D
  acceleration.
  libGL warning: 3D driver returned no fbconfigs.
  libGL error: InitDriver failed
  libGL error: reverting to (slow) indirect rendering
  display: :0  screen: 0
  direct rendering: No

 Take a look in /var/log/Xorg.0.log - I bet it says direct rendering
 disabled.

 You need to use DRM from DRI CVS - it has proper version number that Xorg
 Xserver recognizes.

 The reason for the check is that previous DRM versions provided 2d
 acceleration only and using Mesa driver with them will not work.

  if I lndir the r300 code from r300 cvs, the build doesn't finish:
  output in attached file.

 No, it is not supposed to - there had been significant changes in
 Mesa.

  best

Vladimir Dergachev

  i think it's just me, but i would like to be shure i can't help you guys!
  THANX for the hard work (i got it to compile about one month ago, once,
  but am still using that driver!)

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


pgp1IjcMc5qw5.pgp
Description: PGP signature


Re: r300_dri compiling

2005-08-21 Thread Vladimir Dergachev



On Sun, 21 Aug 2005, john wrote:


hi!
i'm not too experienced in programming, but here it goes: but i've been able
to check out the Mesa cvs and the r300 cvs. i've been trying for quite a long
time, to compile r300 Mesa drivers. the drm works fine from r300 cvs, but i
cant get mesa to compile. if i try to compile the r300 code from Mesa cvs the
compile finishes cleanly, but I get no direct 3D acceleration.
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No


Take a look in /var/log/Xorg.0.log - I bet it says direct rendering 
disabled.


You need to use DRM from DRI CVS - it has proper version number that Xorg 
Xserver recognizes.


The reason for the check is that previous DRM versions provided 2d 
acceleration only and using Mesa driver with them will not work.




if I lndir the r300 code from r300 cvs, the build doesn't finish:
output in attached file.


No, it is not supposed to - there had been significant changes in 
Mesa.


best

  Vladimir Dergachev


i think it's just me, but i would like to be shure i can't help you guys!
THANX for the hard work (i got it to compile about one month ago, once, but am
still using that driver!)




---
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel


r300_dri compiling

2005-08-21 Thread john
hi!
i'm not too experienced in programming, but here it goes: but i've been able 
to check out the Mesa cvs and the r300 cvs. i've been trying for quite a long 
time, to compile r300 Mesa drivers. the drm works fine from r300 cvs, but i 
cant get mesa to compile. if i try to compile the r300 code from Mesa cvs the 
compile finishes cleanly, but I get no direct 3D acceleration. 
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No

if I lndir the r300 code from r300 cvs, the build doesn't finish:
output in attached file.
i think it's just me, but i would like to be shure i can't help you guys!
THANX for the hard work (i got it to compile about one month ago, once, but am 
still using that driver!)
In file included from r200_context.h:51,
 from radeon_screen.c:48:
radeon_context.h:199: error: syntax error before ‘PFNGLXGETUSTPROC’
radeon_context.h:199: warning: no semicolon at end of struct or union
radeon_context.h:207: error: syntax error before ‘}’ token
In file included from radeon_screen.c:48:
r200_context.h:759: error: field ‘radeon’ has incomplete type
In file included from radeon_screen.c:49:
r300_context.h:813: error: field ‘radeon’ has incomplete type
radeon_screen.c: In function ‘radeonCreateScreen’:
radeon_screen.c:502: warning: pointer targets in assignment differ in signedness
radeon_screen.c:586: warning: implicit declaration of function ‘glXGetProcAddress’
radeon_screen.c: In function ‘radeonCreateContext’:
radeon_screen.c:765: warning: control reaches end of non-void function
radeon_screen.c: In function ‘radeonDestroyContext’:
radeon_screen.c:774: error: dereferencing pointer to incomplete type
radeon_screen.c: At top level:
radeon_screen.c:809: error: syntax error before ‘*’ token
radeon_screen.c: In function ‘__driCreateScreen’:
radeon_screen.c:814: warning: implicit declaration of function ‘__driUtilCreateScreen’
radeon_screen.c:814: error: ‘dpy’ undeclared (first use in this function)
radeon_screen.c:814: error: (Each undeclared identifier is reported only once
radeon_screen.c:814: error: for each function it appears in.)
radeon_screen.c:814: error: ‘scrn’ undeclared (first use in this function)
radeon_screen.c:814: error: ‘psc’ undeclared (first use in this function)
radeon_screen.c:814: error: ‘numConfigs’ undeclared (first use in this function)
radeon_screen.c:814: error: ‘config’ undeclared (first use in this function)
radeon_screen.c:814: warning: assignment makes pointer from integer without a cast
radeon_screen.c: In function ‘getSwapInfo’:
radeon_screen.c:890: error: dereferencing pointer to incomplete type
radeon_screen.c:891: error: dereferencing pointer to incomplete type
radeon_screen.c:892: error: dereferencing pointer to incomplete type
radeon_screen.c:895: error: dereferencing pointer to incomplete type
make[6]: *** [radeon_screen.o] Error 1
make[6]: Leaving directory `/home/jano/DRIcvs/Xorg/Mesa/src/mesa/drivers/dri/r300'
make[5]: *** [subdirs] Error 1
make[5]: Leaving directory `/home/jano/DRIcvs/Xorg/Mesa/src/mesa/drivers/dri'
make[4]: *** [drivers-dri] Error 2
make[4]: Leaving directory `/home/jano/DRIcvs/Xorg/Mesa/src/mesa'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/jano/DRIcvs/Xorg/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/jano/DRIcvs/Xorg/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/jano/DRIcvs/Xorg/Mesa'
make: *** [linux-dri-x86] Error 2


pgpXQBv1D2G1m.pgp
Description: PGP signature