Re: r500 - where to start?

2007-01-10 Thread Magnus Ahlberg
> I found a couple of things but i am not familiar enought with modesetting,
> so i am taking time to understand all this. We may need to start somethings
> similar to nouveau to bring more attention and more people on this. I fear
> that most current dri dev can't work on this due to NDA or lack of time.

I agree that a project like nouveau for radeon-cards would be great. I
for one, as stated earlier, know nothing about driver development.
However I'm willing to learn a lot and I will use my card to spy on to
provide information. The reason I started this thread was to get
attention to the matter and I really like the response so far,
creating a project would hopefully boost this further, but I'm not
sure I'm the right person to start such a project, I hope that someone
on this list with a little more knowledge could take the lead, and
I'll be happy to back up with whatever  I can.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2007-01-09 Thread Christoph Brill
> Might it be an idea to collect these tools on a single page?

Definitely! So I hacked it up at:
http://dri.freedesktop.org/wiki/ReverseEngineering

Maybe everything is wrong. Maybe it helps. I have no idea. I never used
with any of these.

Regards,
  Christoph Brill


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2007-01-09 Thread Magnus Ahlberg
Ah, I figured almost everything except where to get that adress from,
I'll try it out and see if I can catch anything useful.

2007/1/8, Jerome Glisse <[EMAIL PROTECTED]>:
> On 1/8/07, Magnus Ahlberg <[EMAIL PROTECTED]> wrote:
> > > From limited informations we got on those chips we miss the 2D
> > > video mode setup. Basicly you need to spy bios/vbe try using
> > > a tools such as mjg59/airlied vbe, you might also want to spy
> > > fglrx maybe libsegfault can help you people.freedesktop.org/~glisse/
> >
> > I got libsegfault but I haven't quite been able to figure out how to
> > use it, I'm not at all experienced with graphics drivers or the way
> > Xorg works with drivers. However, I'm hoping that I can be of some
> > assistance by using some of theese tools to provide information to
> > other, more experienced developers. I have tried to find the bios
> > spying software you described but I can't seem to find them, could you
> > please provide a link on where to download them?
>
> I thought i put a little readme in the archive. The idea here is
> to set SF_ADDR env variable to your mmio address (get it
> using lspci for example if you got:
>
> 01:00.0 VGA compatible controller: ATI Technologies Inc RV380 [Radeon
> X600 (PCIE)] (prog-if 00 [VGA])
> Subsystem: ATI Technologies Inc Unknown device 0f02
> Flags: bus master, fast devsel, latency 0, IRQ 169
> Memory at f000 (64-bit, prefetchable) [size=128M]
> Memory at fe9e (64-bit, non-prefetchable) [size=64K]
> I/O ports at dc00 [size=256]
> Expansion ROM at fea0 [disabled] [size=128K]
> Capabilities: 
> $export SF_ADDR=0xfe9e
> then
> $LD_PRELOAD=/pathto/libsegfault.so Xorg > dump 2>&1
> with xorg.conf configured to use fglrx driver.
>
> For the video bios spying tools:
> http://people.freedesktop.org/~airlied/xresprobe-mjg59-0.4.21.tar.gz
>
> > > I am myself planning to take a look into that matter in the
> > > few coming days. Maybe i will got somethings in couple of
> > > day.
> >
> > Have you had the time to look at it, and if so, did you figure anything out?
>
> I found a couple of things but i am not familiar enought with modesetting,
> so i am taking time to understand all this. We may need to start somethings
> similar to nouveau to bring more attention and more people on this. I fear
> that most current dri dev can't work on this due to NDA or lack of time.
>
> best,
> Jerome Glisse
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2007-01-08 Thread Rune Petersen

Tilman Sauerbeck wrote:
> Jerome Glisse [2006-12-23 23:23]:
>> On 12/23/06, Magnus Ahlberg <[EMAIL PROTECTED]> wrote:
>>> I know that there has been some discussion about the r500 chip and how
>>> tough it will be to create a working driver for it. However, I for one
>>> would love to see an open alternative to the fglrx and I want to know,
>>> where to start? I own a laptop with a X1600 mobility radeon card.
>>>
>>> The current status of the radeon driver is that xorg bails out with
>>> "no devices found".
>>> Is there any possibility to make the radeon driver to recognize my
>>> video card and at least try to initialize it? Where do I start? Are
>>> there any tools I can run or anything that will help a more
>>> experienced developer to point me in the right direction?
>>>
>>> Cheers.
>>>
>> >From limited informations we got on those chips we miss the 2D
>> video mode setup. Basicly you need to spy bios/vbe try using
>> a tools such as mjg59/airlied vbe, you might also want to spy
>> fglrx maybe libsegfault can help you people.freedesktop.org/~glisse/
> 
> Just for the record, there's also airlied's valgrind-mmt that tracks
> MMIO register writes: http://www.skynet.ie/~airlied/patches/valgrind/
> 
> If that's not enough, I extended it and implemented support for tracking
> writes to write-only registers (and other stuff):
> http://code-monkey.de/articles/2007/01/08/hacking-up-valgrind-mmt
> 
Might it be an idea to collect these tools on a single page?


Rune Petersen

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2007-01-08 Thread Tilman Sauerbeck
Jerome Glisse [2006-12-23 23:23]:
> On 12/23/06, Magnus Ahlberg <[EMAIL PROTECTED]> wrote:
> > I know that there has been some discussion about the r500 chip and how
> > tough it will be to create a working driver for it. However, I for one
> > would love to see an open alternative to the fglrx and I want to know,
> > where to start? I own a laptop with a X1600 mobility radeon card.
> >
> > The current status of the radeon driver is that xorg bails out with
> > "no devices found".
> > Is there any possibility to make the radeon driver to recognize my
> > video card and at least try to initialize it? Where do I start? Are
> > there any tools I can run or anything that will help a more
> > experienced developer to point me in the right direction?
> >
> > Cheers.
> >
> 
> >From limited informations we got on those chips we miss the 2D
> video mode setup. Basicly you need to spy bios/vbe try using
> a tools such as mjg59/airlied vbe, you might also want to spy
> fglrx maybe libsegfault can help you people.freedesktop.org/~glisse/

Just for the record, there's also airlied's valgrind-mmt that tracks
MMIO register writes: http://www.skynet.ie/~airlied/patches/valgrind/

If that's not enough, I extended it and implemented support for tracking
writes to write-only registers (and other stuff):
http://code-monkey.de/articles/2007/01/08/hacking-up-valgrind-mmt

Regards,
Tilman

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


pgppohr38KQSG.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2007-01-08 Thread Jerome Glisse
On 1/8/07, Magnus Ahlberg <[EMAIL PROTECTED]> wrote:
> > From limited informations we got on those chips we miss the 2D
> > video mode setup. Basicly you need to spy bios/vbe try using
> > a tools such as mjg59/airlied vbe, you might also want to spy
> > fglrx maybe libsegfault can help you people.freedesktop.org/~glisse/
>
> I got libsegfault but I haven't quite been able to figure out how to
> use it, I'm not at all experienced with graphics drivers or the way
> Xorg works with drivers. However, I'm hoping that I can be of some
> assistance by using some of theese tools to provide information to
> other, more experienced developers. I have tried to find the bios
> spying software you described but I can't seem to find them, could you
> please provide a link on where to download them?

I thought i put a little readme in the archive. The idea here is
to set SF_ADDR env variable to your mmio address (get it
using lspci for example if you got:

01:00.0 VGA compatible controller: ATI Technologies Inc RV380 [Radeon
X600 (PCIE)] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Unknown device 0f02
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at f000 (64-bit, prefetchable) [size=128M]
Memory at fe9e (64-bit, non-prefetchable) [size=64K]
I/O ports at dc00 [size=256]
Expansion ROM at fea0 [disabled] [size=128K]
Capabilities: 
$export SF_ADDR=0xfe9e
then
$LD_PRELOAD=/pathto/libsegfault.so Xorg > dump 2>&1
with xorg.conf configured to use fglrx driver.

For the video bios spying tools:
http://people.freedesktop.org/~airlied/xresprobe-mjg59-0.4.21.tar.gz

> > I am myself planning to take a look into that matter in the
> > few coming days. Maybe i will got somethings in couple of
> > day.
>
> Have you had the time to look at it, and if so, did you figure anything out?

I found a couple of things but i am not familiar enought with modesetting,
so i am taking time to understand all this. We may need to start somethings
similar to nouveau to bring more attention and more people on this. I fear
that most current dri dev can't work on this due to NDA or lack of time.

best,
Jerome Glisse

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2007-01-08 Thread Magnus Ahlberg
> From limited informations we got on those chips we miss the 2D
> video mode setup. Basicly you need to spy bios/vbe try using
> a tools such as mjg59/airlied vbe, you might also want to spy
> fglrx maybe libsegfault can help you people.freedesktop.org/~glisse/

I got libsegfault but I haven't quite been able to figure out how to
use it, I'm not at all experienced with graphics drivers or the way
Xorg works with drivers. However, I'm hoping that I can be of some
assistance by using some of theese tools to provide information to
other, more experienced developers. I have tried to find the bios
spying software you described but I can't seem to find them, could you
please provide a link on where to download them?

> I am myself planning to take a look into that matter in the
> few coming days. Maybe i will got somethings in couple of
> day.

Have you had the time to look at it, and if so, did you figure anything out?

/Cheers

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2006-12-24 Thread Magnus Ahlberg
Yes I read that one and I really hope that he will be able to release
his code, however, if we could get started without depending on ATI's
cooperation that would be great.

I've downloaded the libsegfaulttool and I'm going to check it out and
see if I can get something useful out of it in the next few days.

Merry Christmas everyone, I hope that you have a great holiday
together with your family and friends.

2006/12/24, GhePeU <[EMAIL PROTECTED]>:
> Il giorno sab, 23/12/2006 alle 20.23 +0100, Magnus Ahlberg ha scritto:
> > I know that there has been some discussion about the r500 chip and how
> > tough it will be to create a working driver for it. However, I for one
> > would love to see an open alternative to the fglrx and I want to know,
> > where to start? I own a laptop with a X1600 mobility radeon card.
> >
> > The current status of the radeon driver is that xorg bails out with
> > "no devices found".
> > Is there any possibility to make the radeon driver to recognize my
> > video card and at least try to initialize it? Where do I start? Are
> > there any tools I can run or anything that will help a more
> > experienced developer to point me in the right direction?
> >
> > Cheers.
> >
>
> Did you read http://airlied.livejournal.com/31180.html? I don't know
> what happened later, but I suppose that ATI/AMD didn't answer in the
> last 5 months.
>
> ghepeu
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2006-12-24 Thread GhePeU
Il giorno sab, 23/12/2006 alle 20.23 +0100, Magnus Ahlberg ha scritto:
> I know that there has been some discussion about the r500 chip and how
> tough it will be to create a working driver for it. However, I for one
> would love to see an open alternative to the fglrx and I want to know,
> where to start? I own a laptop with a X1600 mobility radeon card.
> 
> The current status of the radeon driver is that xorg bails out with
> "no devices found".
> Is there any possibility to make the radeon driver to recognize my
> video card and at least try to initialize it? Where do I start? Are
> there any tools I can run or anything that will help a more
> experienced developer to point me in the right direction?
> 
> Cheers.
> 

Did you read http://airlied.livejournal.com/31180.html? I don't know
what happened later, but I suppose that ATI/AMD didn't answer in the
last 5 months.

ghepeu


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2006-12-23 Thread vehemens
On Saturday 23 December 2006 14:23, Jerome Glisse wrote:
> On 12/23/06, Magnus Ahlberg <[EMAIL PROTECTED]> wrote:
> > I know that there has been some discussion about the r500 chip and how
> > tough it will be to create a working driver for it. However, I for one
> > would love to see an open alternative to the fglrx and I want to know,
> > where to start? I own a laptop with a X1600 mobility radeon card.

> I am myself planning to take a look into that matter in the
> few coming days. Maybe i will got somethings in couple of
> day.

I started looking at the xorg ati driver as well.  Here are a few of my 
ideas/comments:

Need to work the current driver to bypass pre 520 mode and 3d.  Not sure about 
2d.

Finding and using the mode registers don't seem to be a big problem.  Just 
need to do it.

The I2C interface has been replaced with a byte based state machine (i.e. no 
more bit banging).

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r500 - where to start?

2006-12-23 Thread Jerome Glisse
On 12/23/06, Magnus Ahlberg <[EMAIL PROTECTED]> wrote:
> I know that there has been some discussion about the r500 chip and how
> tough it will be to create a working driver for it. However, I for one
> would love to see an open alternative to the fglrx and I want to know,
> where to start? I own a laptop with a X1600 mobility radeon card.
>
> The current status of the radeon driver is that xorg bails out with
> "no devices found".
> Is there any possibility to make the radeon driver to recognize my
> video card and at least try to initialize it? Where do I start? Are
> there any tools I can run or anything that will help a more
> experienced developer to point me in the right direction?
>
> Cheers.
>

>From limited informations we got on those chips we miss the 2D
video mode setup. Basicly you need to spy bios/vbe try using
a tools such as mjg59/airlied vbe, you might also want to spy
fglrx maybe libsegfault can help you people.freedesktop.org/~glisse/

I am myself planning to take a look into that matter in the
few coming days. Maybe i will got somethings in couple of
day.

best,
Jerome Glisse

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


r500 - where to start?

2006-12-23 Thread Magnus Ahlberg
I know that there has been some discussion about the r500 chip and how
tough it will be to create a working driver for it. However, I for one
would love to see an open alternative to the fglrx and I want to know,
where to start? I own a laptop with a X1600 mobility radeon card.

The current status of the radeon driver is that xorg bails out with
"no devices found".
Is there any possibility to make the radeon driver to recognize my
video card and at least try to initialize it? Where do I start? Are
there any tools I can run or anything that will help a more
experienced developer to point me in the right direction?

Cheers.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: Where to start?

2006-10-22 Thread Stephane Marchesin
Anna Lissa Cruz wrote:
> Hi all,
>
> I just signed onto the list.  I'm working with Rudi Cilibrasi and 
> wondering where's the best place to start contributing.  We're both C 
> programmers, with some OpenGL experience, and have NV35 and NV36 cards 
> to play with.  We have checked out the feature matrix, and see there 
> are a couple of TODOs and a few WIPs. Should we just pick a TODO? Or 
> perhaps there's a WIP we can cut our teeth on?
Hello

First of all, I would advise going through existing development, to get 
a feel of what's done and what's left. There's quite a bit of reading 
about past development on the wiki.
Next, we have a TODO list here :
http://nouveau.freedesktop.org/wiki/ToDo

Feel free to pick an item you want. If you have issues figuring how to 
get there, or wonder how hard implementing a speficic feature is, just 
drop by on irc.freenode.net channel #nouveau and ask "what's the way to 
implementing feature X ?"

Stephane


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Where to start?

2006-10-20 Thread Anna Lissa Cruz
Hi all,I just signed onto the list.  I'm working with Rudi Cilibrasi and wondering where's the best place to start contributing.  We're both C programmers, with some OpenGL experience, and have NV35 and NV36 cards to play with.  We have checked out the feature matrix, and see there are a couple of TODOs and a few WIPs. Should we just pick a TODO? Or perhaps there's a WIP we can cut our teeth on?Cheers,Anna Lissa-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel