atyfb and 8500+ATI RagePro
Greetings!
I've been having major problems using the atyfb driver with my 8500, and finally have a clue or two to report.
If I try booting the 2.2.6 kernel from the new beta R5 with an unchecked "No video driver" and "video=atyfb:vmode:19,cmode:16", I get a frozen machine and a colored static rectangle on my display. If I use the same command line, but specify a lower mclk value (most all lower ones work), the system will boot, but I will get the same types of colored static rectangles.
Recently, I came across a post my Hugy Caley about a "hacked" atyfb driver from Abe White. I thought I'd give it a try. Using the parameter line, "video=atyfb:vmode:19,cmode:16", I actually get a somewhat reasonable display, although the text of the console lines are repeated several times on each line; every ~25 characters, the line starts over. Also, the kernel Hugh sent me didn't boot all the way, not finding my boot device - probably unrelated to the video issue. The atyfb driver prints out (a close reconstruction from the garbled video):
/bandit, ATY,XCLAIMVRPro atyfb: 3D RagePro(BGA, PCI) 0x479 rev 0x7c 12M SGRAM 230 MhzPLL, 100 Mhz MCLK
Anyway, I'm not sure where to go from here. I'm a programmer and willing to jump in, but not knowledgable about device driver debugging.
Any help or advice would be greatly appreciated!
Thanks,
mike.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
Hi Mike,
Quoted 9 lines
I've been having major problems using the atyfb driver with my 8500, and finally have a clue or two to report.
If I try booting the 2.2.6 kernel from the new beta R5 with an unchecked "No video driver" and "video=atyfb:vmode:19,cmode:16", I get a frozen machine and a colored static rectangle on my display. If I use the same command line, but specify a lower mclk value (most all lower ones work), the system will boot, but I will get the same types of colored static rectangles.
Quoted 6 lines
Recently, I came across a post my Hugy Caley about a "hacked" atyfb driver from Abe White. I thought I'd give it a try. Using the parameter line, "video=atyfb:vmode:19,cmode:16", I actually get a somewhat reasonable display, although the text of the console lines are repeated several times on each line; every ~25 characters, the line starts over. Also, the kernel Hugh sent me didn't boot all the way, not
Usually such repeats are caused by incorrect DSP values for the display FIFO.
Quoted 10 lines
finding my boot device - probably unrelated to the video issue. The atyfb driver prints out (a close reconstruction from the garbled video):
/bandit, ATY,XCLAIMVRPro atyfb: 3D
RagePro(BGA, PCI)0x479rev0x7c12M SGRAM 230 MhzPLL, 100 Mhz MCLKAnyway, I'm not sure where to go from here. I'm a programmer and willing to jump in, but not knowledgable about device driver debugging.
Any help or advice would be greatly appreciated!
Sorry, no more clues :-(
Greetings,
Geert
--
Geert Uytterhoeven [email protected]
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
Quoted 4 lines · I wrote:
Quoted 4 lines
Recently, I came across a post my Hugy Caley about a "hacked" atyfb driver from Abe White. I thought I'd give it a try. Using the parameter line, "video=atyfb:vmode:19,cmode:16", I actually get a somewhat reasonable display
Since writing this, I have found the single key line to the Abe White patch
that helps me. I noticed that in the 104 version of atyfb that RagePro LT stuff similar to the hack was added in, so I thought I'd focus on
what wasn't added.
If I add an immediate 'return' to aty_set_pll_ct, my
system will boot with BootX parameter "video=atyfb:vmode:19,cmode:16". I believe
the atyfb driver is at least somewhat working here, because I can run Xconfigurator and get an FB_Dev X server up, so long as I pick a display mode close to
vmode:19,cmode:16. X doesn't work outside of Xconfigurator, but I hope that's
a different issue.
The relevent part of dmesg:
MacOS display is /bandit/ATY,XCLAIMVRPro
atyfb: 3D RAGE PRO (BGA, PCI) [0x4749 rev 0x7c] 12M SGRAM, 230 MHz PLL, 100 Mhz
MCLK
Console: switching to colour frame buffer device 160x60
fb0: ATY Mach64 frame buffer device on /bandit/ATY,XCLAIMVRPro Monitor sense value = 0x73f, using video mode 6 and color mode 0.
fb1: control display adapter
[root@zuul mike]# /usr/sbin/fbset -i
mode "name"
# D: 125.644 MHz, H: 74.788 kHz, V: 74.788 Hz
geometry 1280 960 1280 4908 16
timings 7959 224 32 36 1 144 3endmode
Frame buffer device information:
Name : ATY Mach64
Address : 0x81800000
Size : 12578816
Type : PACKED PIXELS
Visual : DIRECTCOLOR
XPanStep : 8
YPanStep : 1
YWrapStep : 0
LineLength : 2560
MMIO Address: 0x817ff800
MMIO Size : 2048
Accelerator : ATI Mach64GT[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
Quoted 13 lines · Mike Ladwig
Quoted 4 lines · I wrote:
Quoted 4 lines
Recently, I came across a post my Hugy Caley about a "hacked" atyfb driver from Abe White. I thought I'd give it a try. Using the parameter line, "video=atyfb:vmode:19,cmode:16", I actually get a somewhat reasonable display
Since writing this, I have found the single key line to the Abe White patch
that helps me. I noticed that in the 104 version of atyfb that RagePro LT stuff similar to the hack was added in, so I thought I'd focus on
what wasn't added.
Quoted 2 lines
If I add an immediate 'return' to
aty_set_pll_ct, my
system will boot with BootX parameter "video=atyfb:vmode:19,cmode:16".
Hence the problem lies within the programming of the pixel and memory clocks.
Quoted 5 lines
I believe
the atyfb driver is at least somewhat working here, because I can run Xconfigurator and get anFB_DevX server up, so long as I pick a display mode close to
vmode:19,cmode:16. X doesn't work outside of Xconfigurator, but I hope
Indeed, then you cannot change the pixel clock so you must choose modes that are close enough.
Greetings,
Geert
--
Geert Uytterhoeven [email protected]
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]