From: Magnus A. <mag...@gm...> - 2007-01-09 09:45:20
|
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 <j.g...@gm...>: > On 1/8/07, Magnus Ahlberg <mag...@gm...> 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 f0000000 (64-bit, prefetchable) [size=128M] > Memory at fe9e0000 (64-bit, non-prefetchable) [size=64K] > I/O ports at dc00 [size=256] > Expansion ROM at fea00000 [disabled] [size=128K] > Capabilities: <access denied> > $export SF_ADDR=0xfe9e0000 > 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 > |