Re: need help writing driver for SiS m650

2005-06-14 Thread Vladimir Dergachev



On Tue, 12 Jul 2005 [EMAIL PROTECTED] wrote:


nVidia gets a lot of flack on their forums from zealous Linux users.  (-:
I'm
glad to see the common customers being minor annoyances...

http://www.nvnews.net/vbulletin/showpost.php?p=61077postcount=222


I don't buy the explanation. So what that NVidia drivers are covered by 
NDA with other companies ?


What we really want are the register specs and description of how to 
program the pipeline.


If NVidia *really* wanted to open source their drivers all they had to do 
is release the register descriptions and watch the drivers appear. If 
anything, releasing their driver code would spoil the fun of low-level 
tinkering with powerflux hardware.


I do not believe the register specification is covered by NDA, as I cannot 
imagine that that interface was outsourced. I can see NVidia buying a few 
cores (say iDCT), but since they are the ones who integrate all that 
stuff they would have to write their own register interface.


Plain and simple, someone there is thinking that locking stuff up is 
protecting value - whether or not the particular information is of use 
to any competitors. Which is well described by the proverb about a dog and

a heap of hay.

   best

 Vladimir Dergachev



On Monday 13 June 2005 17:59, Vladimir Dergachev wrote:

On Mon, 13 Jun 2005, Benjamin Vander Jagt wrote:

I think you're right (and it's a pleasure to meet you, by the way),

but

the SiS licenses are, as far as I've read them, now protected under

two

entities instead of just one, so it may be another nVidia case; a

company

that *wants* to open up but can't.

nVidia case ? Would you have a link I can read about that ? I thought

nVidia was closed source for other reasons..

   best
 Vladimir Dergachev






---
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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel




---
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: need help writing driver for SiS m650

2005-06-13 Thread Matt Sealey


 -Original Message-
 From: Vladimir Dergachev [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, June 12, 2005 11:01 PM
 To: Matt Sealey
 Cc: [EMAIL PROTECTED]; Dri-devel@lists.sourceforge.net
 Subject: RE: need help writing driver for SiS m650
 

 At least the boycott also makes sure that people who follow 
 it don't have hardware we can't write drivers for.

:D

You have a good point. I still say it would not endear you to SiS.
It is way too easy for them to be spiteful than help.

 PS Is ODW fanless ? Just curious..

Ooh you noticed us :D

No it's not. The CPU has a fan and so does the PSU. The
CPU fan is drowned by the noise of the PSU fan. There is
an 80mm case fan for those that live on Mustafar but it
is not connected by default.

We are working on a completely passive system and getting
the PSU is the hard part.

-- 
Matt Sealey [EMAIL PROTECTED]
Manager, Genesi, Developer Relations



---
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: need help writing driver for SiS m650

2005-06-13 Thread Sven Luther
On Mon, Jun 13, 2005 at 12:01:03AM -0400, Vladimir Dergachev wrote:
 
 
 On Sun, 12 Jun 2005, Matt Sealey wrote:
 
 
 Someone explain to me why an organised boycott of SiS graphics chips
 would somehow ENCOURAGE them to help?
 
 If all other things have been tried why not ?
 
 At least the boycott also makes sure that people who follow it don't have 
 hardware we can't write drivers for.

I wouldn call making sure people don buy useless hardware a boycott though,
but simple common sense.

Friendly,

Sven Luther



---
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: need help writing driver for SiS m650

2005-06-13 Thread Alan Cox
On Llu, 2005-06-13 at 11:28, Matt Sealey wrote:
 You have a good point. I still say it would not endear you to SiS.
 It is way too easy for them to be spiteful than help.

As I understand it SiS no longer own the graphics parts anyway but they
were
merged with trident and dumped off somewhere. 

It is possible to get somewhere with .tw vendors, but it does take time,
persistence and patience to find the right people. At least we've been
successful to a reasonable extent with vendors like VIA and ALi. 

You might want to contact Richard Stallman as he was talking with
several .tw vendors recently and may have contacts he can share or
insight into the situation with SiS.

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


Re: need help writing driver for SiS m650

2005-06-13 Thread Benjamin Vander Jagt
I think you're right (and it's a pleasure to meet you, by the way), but the 
SiS licenses are, as far as I've read them, now protected under two 
entities instead of just one, so it may be another nVidia case; a company 
that *wants* to open up but can't.

Would you like to contact him, or should I?

(I'm hoping that KMail's reply format is compatible with mailman.  If it's 
not, then I'm sorry for the mess.  Is there any chance that mailman could be 
replaced / complemented with phpBB2 or something of the sort?)

On Monday 13 June 2005 09:11, Alan Cox wrote:

 As I understand it SiS no longer own the graphics parts anyway but they
 were
 merged with trident and dumped off somewhere.

 It is possible to get somewhere with .tw vendors, but it does take time,
 persistence and patience to find the right people. At least we've been
 successful to a reasonable extent with vendors like VIA and ALi.

 You might want to contact Richard Stallman as he was talking with
 several .tw vendors recently and may have contacts he can share or
 insight into the situation with SiS.

 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


---
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: need help writing driver for SiS m650

2005-06-13 Thread Alex Deucher
On 6/13/05, Benjamin Vander Jagt [EMAIL PROTECTED] wrote:
 I think you're right (and it's a pleasure to meet you, by the way), but the
 SiS licenses are, as far as I've read them, now protected under two
 entities instead of just one, so it may be another nVidia case; a company
 that *wants* to open up but can't.
 

you might want to talk to XGI, they released a driver for the new xgi
cards based on Thomas' sis DDX.  They also have a 3d driver, but I
think it's binary only.  AFAIK, it only supports the new XGI cards and
not the older SiS based ones.
https://bugs.freedesktop.org/show_bug.cgi?id=2761

Alex

 Would you like to contact him, or should I?
 
 (I'm hoping that KMail's reply format is compatible with mailman.  If it's
 not, then I'm sorry for the mess.  Is there any chance that mailman could be
 replaced / complemented with phpBB2 or something of the sort?)
 
 On Monday 13 June 2005 09:11, Alan Cox wrote:
 
  As I understand it SiS no longer own the graphics parts anyway but they
  were
  merged with trident and dumped off somewhere.
 
  It is possible to get somewhere with .tw vendors, but it does take time,
  persistence and patience to find the right people. At least we've been
  successful to a reasonable extent with vendors like VIA and ALi.
 
  You might want to contact Richard Stallman as he was talking with
  several .tw vendors recently and may have contacts he can share or
  insight into the situation with SiS.
 
  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
 
 
 ---
 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



---
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 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: need help writing driver for SiS m650

2005-06-13 Thread Vladimir Dergachev



On Mon, 13 Jun 2005, Benjamin Vander Jagt wrote:


I think you're right (and it's a pleasure to meet you, by the way), but the
SiS licenses are, as far as I've read them, now protected under two
entities instead of just one, so it may be another nVidia case; a company
that *wants* to open up but can't.


nVidia case ? Would you have a link I can read about that ? I thought 
nVidia was closed source for other reasons..


  best

Vladimir Dergachev



---
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: need help writing driver for SiS m650

2005-06-13 Thread benjamin
nVidia gets a lot of flack on their forums from zealous Linux users.  (-: 
I'm
glad to see the common customers being minor annoyances...

http://www.nvnews.net/vbulletin/showpost.php?p=61077postcount=222

On Monday 13 June 2005 17:59, Vladimir Dergachev wrote:
 On Mon, 13 Jun 2005, Benjamin Vander Jagt wrote:
  I think you're right (and it's a pleasure to meet you, by the way),
but
  the SiS licenses are, as far as I've read them, now protected under
two
  entities instead of just one, so it may be another nVidia case; a
company
  that *wants* to open up but can't.
 nVidia case ? Would you have a link I can read about that ? I thought
nVidia was closed source for other reasons..
best
  Vladimir Dergachev





---
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 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: need help writing driver for SiS m650

2005-06-12 Thread benjamin
I've found myself in the unfortunate ownership of many of these pitiful
SiS315-based cards and boards with onboard SiS video.  I may be interested
in reverse-engineering, as I rather like that sort of tedious work. 
however, after seeing as much as I have seen from these short-sighted
companies, I think an organized boycott of SiS would be more effective for
getting our hands on specs, or even a closed-source driver.

their chipset quality is already extremely lacking, and they will have a
really hard time beating VIA on, well, anything...and VIA is starting to
release their stuff open-source!  SiS doesn't have much to bargain with.

I will help how I can...

-Benjamin Vander Jagt

need help writing driver for SiS m650
The Slash
 Mon, 02 May 2005 10:33:05 -0700
well since there is no DRI support for the SiS m650, and according to
what I heard there never will be, I have decided to write my own. I
have never written my own driver before, and I'm a little confused as
to where to begin. I know that SiS does not normally distribute there
hardware specs, so i might end up having to reverse-engineer the
windows drivers. any advice on where to start for this sort of thing?
and if i were able to get the info from SiS, what exactly would I
need?
-- 
This is The Slash, signing off **click**


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


---
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 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: need help writing driver for SiS m650

2005-06-12 Thread benjamin
I'm rather interested in starting a project to reverse engineer these
blasted chips, but I'm somewhat more inclined to start a boycott of them
instead.

For reverse engineering, I *think* the DLL has an EULA that doesn't let
you do any sort of peeking into it, so for legal reasons, we might not be
able to go that way.  If anyone has more insight into that, it would be
welcomed.

If there is no easier option, then I was considering just making a
FreeDOS-based system and hitting the hardware directly.  I used to do that
with old video chips, long long ago when I programmed for DOS in Pascal...

 Hey Benjamin,

 I have one of these myself and I have tried looking up on reverse
 engineering the windows xp driver. However I have found it very hard to do
 so. The driver dll is stripped of all opengl function symbols, and exports
 only symbols necessary to comply with the ICD architecture.

 OpenGL drivers on windows are written accordingly to the ICD architecture,
 which has no open documentation out there. After hearing with microsoft a
 license for a ICD development kit costs 5000 dollars, and one must have a
 valid need for it!

 Do have any plans on making an effort reversing the SiS315?


 /Cenk

 On Mon, Jul 11, 2005 at 12:14:55PM -0400, [EMAIL PROTECTED] wrote:
 I've found myself in the unfortunate ownership of many of these pitiful
 SiS315-based cards and boards with onboard SiS video.  I may be
 interested
 in reverse-engineering, as I rather like that sort of tedious work.
 however, after seeing as much as I have seen from these short-sighted
 companies, I think an organized boycott of SiS would be more effective
 for
 getting our hands on specs, or even a closed-source driver.

 their chipset quality is already extremely lacking, and they will have a
 really hard time beating VIA on, well, anything...and VIA is starting to
 release their stuff open-source!  SiS doesn't have much to bargain with.

 I will help how I can...

 -Benjamin Vander Jagt





---
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 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


RE: need help writing driver for SiS m650

2005-06-12 Thread Matt Sealey

Someone explain to me why an organised boycott of SiS graphics chips
would somehow ENCOURAGE them to help?

Reducing their sales means they have a vat of new excuses for not
supporting you.

-- 
Matt Sealey [EMAIL PROTECTED]
Manager, Genesi, Developer Relations
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Monday, July 11, 2005 11:54 AM
 To: Dri-devel@lists.sourceforge.net
 Cc: [EMAIL PROTECTED]
 Subject: Re: need help writing driver for SiS m650
 
 I'm rather interested in starting a project to reverse 
 engineer these blasted chips, but I'm somewhat more inclined 
 to start a boycott of them instead.
 
 For reverse engineering, I *think* the DLL has an EULA that 
 doesn't let you do any sort of peeking into it, so for legal 
 reasons, we might not be able to go that way.  If anyone has 
 more insight into that, it would be welcomed.
 
 If there is no easier option, then I was considering just 
 making a FreeDOS-based system and hitting the hardware 
 directly.  I used to do that with old video chips, long long 
 ago when I programmed for DOS in Pascal...
 
  Hey Benjamin,
 
  I have one of these myself and I have tried looking up on reverse 
  engineering the windows xp driver. However I have found it 
 very hard 
  to do so. The driver dll is stripped of all opengl function 
 symbols, 
  and exports only symbols necessary to comply with the ICD 
 architecture.
 
  OpenGL drivers on windows are written accordingly to the ICD 
  architecture, which has no open documentation out there. 
 After hearing 
  with microsoft a license for a ICD development kit costs 
 5000 dollars, 
  and one must have a valid need for it!
 
  Do have any plans on making an effort reversing the SiS315?
 
 
  /Cenk
 
  On Mon, Jul 11, 2005 at 12:14:55PM -0400, 
 [EMAIL PROTECTED] wrote:
  I've found myself in the unfortunate ownership of many of these 
  pitiful SiS315-based cards and boards with onboard SiS 
 video.  I may 
  be interested in reverse-engineering, as I rather like 
 that sort of 
  tedious work.
  however, after seeing as much as I have seen from these 
 short-sighted 
  companies, I think an organized boycott of SiS would be more 
  effective for getting our hands on specs, or even a closed-source 
  driver.
 
  their chipset quality is already extremely lacking, and they will 
  have a really hard time beating VIA on, well, 
 anything...and VIA is 
  starting to release their stuff open-source!  SiS doesn't 
 have much to bargain with.
 
  I will help how I can...
 
  -Benjamin Vander Jagt
 
 
 
 
 
 ---
 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
 --
 ___
 Dri-devel mailing list
 Dri-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dri-devel
 



---
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: need help writing driver for SiS m650

2005-06-12 Thread Vladimir Dergachev



On Sun, 12 Jun 2005, Matt Sealey wrote:



Someone explain to me why an organised boycott of SiS graphics chips
would somehow ENCOURAGE them to help?


If all other things have been tried why not ?

At least the boycott also makes sure that people who follow it don't have 
hardware we can't write drivers for.


 best

   Vladimir Dergachev

PS Is ODW fanless ? Just curious..



Reducing their sales means they have a vat of new excuses for not
supporting you.

--
Matt Sealey [EMAIL PROTECTED]
Manager, Genesi, Developer Relations



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 11:54 AM
To: Dri-devel@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: Re: need help writing driver for SiS m650

I'm rather interested in starting a project to reverse
engineer these blasted chips, but I'm somewhat more inclined
to start a boycott of them instead.

For reverse engineering, I *think* the DLL has an EULA that
doesn't let you do any sort of peeking into it, so for legal
reasons, we might not be able to go that way.  If anyone has
more insight into that, it would be welcomed.

If there is no easier option, then I was considering just
making a FreeDOS-based system and hitting the hardware
directly.  I used to do that with old video chips, long long
ago when I programmed for DOS in Pascal...


Hey Benjamin,

I have one of these myself and I have tried looking up on reverse
engineering the windows xp driver. However I have found it

very hard

to do so. The driver dll is stripped of all opengl function

symbols,

and exports only symbols necessary to comply with the ICD

architecture.


OpenGL drivers on windows are written accordingly to the ICD
architecture, which has no open documentation out there.

After hearing

with microsoft a license for a ICD development kit costs

5000 dollars,

and one must have a valid need for it!

Do have any plans on making an effort reversing the SiS315?


/Cenk

On Mon, Jul 11, 2005 at 12:14:55PM -0400,

[EMAIL PROTECTED] wrote:

I've found myself in the unfortunate ownership of many of these
pitiful SiS315-based cards and boards with onboard SiS

video.  I may

be interested in reverse-engineering, as I rather like

that sort of

tedious work.
however, after seeing as much as I have seen from these

short-sighted

companies, I think an organized boycott of SiS would be more
effective for getting our hands on specs, or even a closed-source
driver.

their chipset quality is already extremely lacking, and they will
have a really hard time beating VIA on, well,

anything...and VIA is

starting to release their stuff open-source!  SiS doesn't

have much to bargain with.


I will help how I can...

-Benjamin Vander Jagt







---
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
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel





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




---
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: need help writing driver for SiS m650

2005-05-02 Thread Jerome Glisse
On 5/2/05, The Slash [EMAIL PROTECTED] wrote:
 well since there is no DRI support for the SiS m650, and according to
 what I heard there never will be, I have decided to write my own. I
 have never written my own driver before, and I'm a little confused as
 to where to begin. I know that SiS does not normally distribute there
 hardware specs, so i might end up having to reverse-engineer the
 windows drivers. any advice on where to start for this sort of thing?
 and if i were able to get the info from SiS, what exactly would I
 need?

For starting writting a driver the r300 project may be educative,
specialy the first driver where in fact everythings was drawn
using software mesa. Then adding features by feature...
The dri wiki as some docs worth to read too.

For reverse engineering this is quite a pain. There isn't any
good docs i know on this topics. Try a deep google search.
Moreover if you only got windows driver i fear that you will
need to decompil driver code this could leads to legal issues...

Good Luck
Jerome Glisse


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: need help writing driver for SiS m650

2005-05-02 Thread Adam Jackson
On Monday 02 May 2005 13:27, The Slash wrote:
 well since there is no DRI support for the SiS m650, and according to
 what I heard there never will be, I have decided to write my own. I
 have never written my own driver before, and I'm a little confused as
 to where to begin. I know that SiS does not normally distribute there
 hardware specs, so i might end up having to reverse-engineer the
 windows drivers. any advice on where to start for this sort of thing?

Reverse-engineering for a 3d driver is basically a matter of finding the 
routine(s) that do register writes, modifying them to log their arguments, 
and then running simple testcases against the modified driver.  Occasionally 
the register write routines are scattered all over the place (or just 
inlined), which means you instead need to dump the register space at regular 
intervals and hope you didn't miss anything important.

3d chips tend to have a _lot_ of registers, so this is much harder than it 
would be for, say, an ethernet controller.  Fortunately they also tend not to 
change too drastically between hardware revisions, so you may be able to use 
the existing sis driver as a base.

 and if i were able to get the info from SiS, what exactly would I
 need?

A list of all the registers on the card, with their names, functionality, and 
the legal values you can write to them.  At minimum.  Ideally you also get a 
theory of operation document that describes the order that setup should 
happen.  The Voodoo3 doc is a good example of what you're looking for.

- ajax


pgpz9rZaKezpQ.pgp
Description: PGP signature


Re: need help writing driver for SiS m650

2005-05-02 Thread Cenk Oguz
On Mon, May 02, 2005 at 01:27:55PM -0400, The Slash wrote:
 well since there is no DRI support for the SiS m650, and according to
 what I heard there never will be, I have decided to write my own. I
 have never written my own driver before, and I'm a little confused as
 to where to begin. I know that SiS does not normally distribute there
 hardware specs, so i might end up having to reverse-engineer the
 windows drivers. any advice on where to start for this sort of thing?
 and if i were able to get the info from SiS, what exactly would I
 need?
 -- 

Slash,

I am sitting on a SiS650 and I'm interested in writing a driver too. I've 
familiarised myself somewhat with the existing SiS300 driver for sometime, 
however being the newbie on DRI and 3D in general I haven't done any real work 
yet. The lack of proper documents is sort of getting to me hard. However I 
would like to participate in any planned work of yours with the SiS315 driver 
(650/M650 have 315 chips as far as I know).

Perhaps an approach to SiS would be preferable for documention, however I heard 
too they are not likely to release documents to someone with undocumented work 
history on DRI. Reverse engineering does seem tedious to me, is it legal by the 
way?

I looked into the kernel module of sis300 some time ago. It seems to be nothing 
but a memory manager. There doesn't seem to be any real work required in the 
kernel module or the X driver, except for enabling the sis315 DRI in some 
places.

As for the Mesa 3D module, I suppose one could base the driver upon the sis300. 
But according to Thomas Winischhofer it is quite different from the 315 series. 
Perhaps a separate 3D module would be preferable?

/Cenk


---
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel