Support of Mobility Radeon X1400 (avivo)
j.glisse at gmail.com
Thu Jun 21 05:36:27 PDT 2007
On 6/21/07, Michael Olbrich <michael-olbrich at web.de> wrote:
> On Thu, Jun 21, 2007 at 11:46:48AM +0200, Jerome Glisse wrote:
> > There is no acceleration eve no shadow fb in current avivo driver
> > which makes it slower than vesa, but avivo drivers have been
> > released to test out its output functionality and its capacity to
> > properly set video mode so far except bugs i did introduce i
> > have been able to fix and understand a bit better r500 registers.
> Ok, just checking that what I see is the current state of the driver.
> Smoe more bugs:
> Swiching to a frambuffer console and back to X will crash the xserver.
> After the first time framebuffer is messed up.
> Sometime during this the following lines appear at the end of the log
You are using vesa framebuffer ? We likely not save and restore
all register properly. Does the crash reboot the computer ? If so
try remounting the /var partition with sync option before doing
this so you can get a full xorg log. Oh and if it reboots the computer
it might be that for some reason the framebuffer mapping is
reseted to its initial value and we did not set it back (copy and
paste code at top if avivo_screen_init function into the leave vt
function after restoring the other states.
> Another problem:
> When I close and open the lid of my laptop the screen gets messed up.
> The xserver and all apps are still running but it looks like each line
> of the display is shifted some pixels (maybe 20-30?) to the right with
> respect to the line above.
> Any ideas how to debug these problems?
Do some radeondump -d oscr before closing the screen (remember
to do things like changing resolution, moving mouse, launching apps
btw each dumps) and do radeondump -d cscr after closing & reopening
screen (same do things btw dump but do not change resolution
just move mouse, launch, resize apps). dcomp csrc oscr which
should give a list of interesting register to look at, you can send
me dumps or output of dcomp.
More information about the xorg