[9fans] Radeon driver
  Home FAQ Contact Sign in
comp.os.plan9 only
 
Advanced search
POPULAR GROUPS

more...

comp.os.plan9 Profile…
 Up
[9fans] Radeon driver         


Author: Alexander Sychev
Date: Oct 17, 2006 06:57

Hi, 9fans!

I have installed Plan9 on my IBM ThinkPad T40 and it works fine with vesa
and wired networking.
But I can't compile Philippe Anel's radeon driver.

<----------------------------------------------->
term%% mk 'CONF=pcf'
8c -FVw vgaradeon.c
vgaradeon.c:274 not a member of struct/union: aperture
vgaradeon.c:276 not a member of struct/union: isupamem...
Show full article (1.37Kb)
9 Comments
Re: [9fans] Radeon driver         


Author: Philippe Anel
Date: Oct 17, 2006 23:06

Hello,

I used to work on this driver, but these last days/months(years?), I
hadn't enough time to work on it. However, I
think I can help you here. I'll send you my latest vgaradeon.c tomorrow.
I hope the current aux/vga part is working with your card.

Regards,
Phil.

On Tue, 2006-10-17 at 17:44 +0400, Alexander Sychev wrote:
> Hi, 9fans!
>
> I have installed Plan9 on my IBM ThinkPad T40 and it works fine with vesa
> and wired networking.
> But I can't compile Philippe...
Show full article (1.74Kb)
no comments
Re: [9fans] Radeon driver         


Author: Alexander Sychev
Date: Oct 18, 2006 07:26

Hi, 9fans!

On Wed, 18 Oct 2006 10:06:02 +0400, Philippe Anel wrote:
> Hello,
>
> I used to work on this driver, but these last days/months(years?), I
> hadn't enough time to work on it. However, I
> think I can help you here. I'll send you my latest vgaradeon.c tomorrow.

Ok. I'll be waiting for it. Thanks!
> I hope the current aux/vga part is working with your card.

It seems, radeon.c in aux/vga can't be compiled too:
<----------------------------------------------->
8c -FVw radeon.c
radeon.c:393 incompatible types: "ULONG" and "IND VOID" for op "AS"
warning: radeon.c:357 used and not set: mmio
mk: 8c -FVw radeon.c : exit status=rc 857: 8c 859: error
<----------------------------------------------->
Show full article (0.80Kb)
no comments
Re: [9fans] Radeon driver         


Author: Alexander Sychev
Date: Oct 18, 2006 07:44

I think, it can be fixed by changing type of mmio from "ulong" to "ulong*".
To tell the truth, I don't quite understand how it could be compiled early.
>
> It seems, radeon.c in aux/vga can't be compiled too:
> <----------------------------------------------->
> 8c -FVw radeon.c
> radeon.c:393 incompatible types: "ULONG" and "IND VOID" for op "AS"
> warning: radeon.c:357 used and not set: mmio
> mk: 8c -FVw radeon.c : exit status=rc 857: 8c 859: error
> <----------------------------------------------->

--
Best regards,
santucco
no comments
Re: [9fans] Radeon driver         


Author: Anel Philippe
Date: Oct 19, 2006 01:31

Hello,

You can download the following required files :

http://xigh.free.fr/radeon.c -> /sys/src/cmd/aux/vga
http://xigh.free.fr/radeon.h -> /sys/src/cmd/aux/vga

http://xigh.free.fr/vgaradeon.c -> /sys/src/9/pc

http://xigh.free.fr/vgadb -> merge with /lib/vgadb

Please note I couldn't test if this version fully works. Indeed the only
Radeon chipset I have (for the moment) is in my laptop (XPress 200M)
and I know for sure it doesn't work (I planned to work on the driver
but for lack of time, I couldn't). So ... pay carreful attention with these
files (and your computer).

Regards,
Phil;
Show full article (1.19Kb)
1 Comment
Re: [9fans] Radeon driver         


Author: Wes Kussmaul
Date: Oct 19, 2006 05:23

Anel Philippe wrote:
> Indeed newer Ati's chipsets are not documented at all (I don't
> have docs and reading x11 drivers is ... a real drag ...) and only
> commercial drivers work (even for 2D only stuff) ...
I suspect that may change now that AMD is buying ATI.
2 Comments
Re: [9fans] Radeon driver         


Author: erik quanstrom
Date: Oct 19, 2006 05:35

the grass is always greener! having spent quite a bit of time trying
to get nvidia's nforce 430 chipset with integrated graphics working,
so far with no success, i'm pretty sure that nvidia's documentation
is similar to ati's -- read the xfree86 driver. unfortunately in the case
of the nvidia driver, there are several real bugs in the xf86 driver (like
stuffing a 0x480 into an 8-bit register with one bit of overflow and
stuffing 0x100 into a different 8-bit register with no overflow.)

by the way, i am having some trouble with the virge driver that seems
to have cropped up lately

; history vga
Sep 18 15:21:47 EDT 2006 vga 336305 [quanstro]
Sep 18 15:21:47 EDT 2006 /n/dump/2006/1019/386/bin/aux/vga 336305 [quanstro]
Feb 27 23:08:17 EST 2005 /n/dump/2006/0918/386/bin/aux/vga 301643 [quanstro]

the 1019 aux/vga gives the error "virge: pclk 79000000 out of range".
the vid/did are 5333/5631. i'll attach aux/vga -p.

i scanned the source code changes but nothing jumped out at me.

- erik
Show full article (3.53Kb)
no comments
Re: [9fans] Radeon driver         


Author: Sascha Retzki
Date: Oct 19, 2006 13:07

> Anel Philippe wrote:
>> Indeed newer Ati's chipsets are not documented at all (I don't
>> have docs and reading x11 drivers is ... a real drag ...) and only
>> commercial drivers work (even for 2D only stuff) ...
> I suspect that may change now that AMD is buying ATI.

Optimist :-)
1 Comment
Re: [9fans] Radeon driver         


Author: Wes Kussmaul
Date: Oct 19, 2006 18:11

no comments
Re: [9fans] Radeon driver         


Author: Alexander Sychev
Date: Oct 20, 2006 07:15

Hi!

That is pity, but it doesn't work :-(.
I have got a "chatoyant" screen with a disappearing kernel output.
The system doesn't react to any commands and I can only poweroff the
laptop.
I'm going to try to get some logs from aux/vga.

On Thu, 19 Oct 2006 12:30:04 +0400, Anel Philippe wrote:
>
> Hello,
>
> You can download the following required files :
>
> http://xigh.free.fr/radeon.c -> /sys/src/cmd/aux/vga
> http://xigh.free.fr/radeon.h -> /sys/src/cmd/aux/vga...
Show full article (1.60Kb)
no comments