Skip to contentSkip to conversation

Problems with the atyfb driver on Power Mac G3

DISCUSSION Benjamin Herrenschmidt 5 participants 5 messages Jul 2, 1999 – Jul 14, 1999 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): v04011704b3ab5f3e0860@[199.174.193.13]

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.10.9907021615070.17139-100000@mercator.cs.kuleuven.ac.be

#3 lore raw
Quoted 2 lines · Geert Uytterhoeven

To get maximum performance, you want a low threshold-empty value and a high threshold-full value, because SGRAM is optimized for burst accesses, but

has a

Quoted 2 lines

high latency for the initial access. Higher threshold-empty and lower threshold-full values are more conservative and more likely to not

disturb the

Quoted 1 line

screen, but lower the performance.

What about providing a private ioctl to set those threshold values ? With a simple command line tool and eventually a pair of sliders on X, this would allow people to try out and us to collect infos about behaviour of various values on various configurations, and eventually provide more conservative default values, and letting the user eventually increase performances later.

Signature · 11 lines
           Perso. e-mail: <mailto:[email protected]>
           Work   e-mail: <mailto:[email protected]>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>




[[ 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.   ]]

A message that is not in the archive (sent off-list or not yet received): v04011702b3a0ce93e160@[199.174.101.193]

A message that is not in the archive (sent off-list or not yet received): l03130300b3aecf951ee8@[209.226.106.137]

#6 lore raw

Re: Problems with the atyfb driver on Power Mac G3 (Possible fix)

Quoted 4 lines
Quoted 2 lines

This patch works for me...

It works for me too! I'm so happy! Thanks Tim!

It appears I spoke too soon :( The patch does appear to work flawlessly when in video mode 13 (832 x 624) but in video mode 15 (1024 x 768) still has snow. I'm still happy, because I use vmode 13 primarily, but the problem is not 100% fixed. I think an ioctl, to fiddle with the values, would still be helpful.

Eric Dorland
mailto:[email protected]

[[ 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. ]]

#7 lore raw

Re: Problems with the atyfb driver on Power Mac G3 (Possible fix)

In reply to a message not in the archive
Quoted 3 lines · Josh Huber

Perhaps this is a question for Geert to answer, but it appears as though 2d acceleration is not being used for scrolling text in xterms. As a demonstration, fire up a new xterm, make it real big, and try and ls -lR /

Now, it's been so long since I've used xpmac that I don't remember wether or not it performed said operation, but perhaps someone could try it out?

I know.

I haven't done anything on ATI acceleration in XF68_FBDev since December 1998. I just saw the last alpha of the 3.9 branch of XFree86 finally has support for ATI Mach64, so it may be a good idea to start working again on it (it time permits)...

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. ]]

#8 lore raw

Frame buffer on B+W G3 macs reports wrong display depth

Hi,

I really could use some help tracking down a problem. From looking at XF86Config and from running xdpyinfo, it seems the XF86 frame buffer server reports incorrect bit depths which in turn are driving the JDK 1.2 swing color model crazy!!!

For example, when I put my B+W into millions of color mode, xdpyinfo claims 32 bits for the depth (wrong it is 24, 8 bits for red, green, and blue), and correctly claims 32 bits per pixel.

It has the same problem under 16 bit color, it claims a depth of 16 when in reality the depth should be 15, 5 bits each for red, green, and blue (although still using 16 bits per pixel).

I need to track this down and get it fixed asap to resolve the JDK 1.2 problems. Note, that the Xpmac server correctly reports the bit depths and it works fine with JDK 1.2 although it doesn't support the usb keyboard or mouse correctly.

Does anyone have any ideas of where in all of the Xfree source code I should begin looking?

Any guidance here would be greatly appreciated.

Thanks,

Kevin

[[ 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. ]]

#9 lore raw

Re: Frame buffer on B+W G3 macs reports wrong display depth

Quoted 10 lines · Kevin B. Hendricks

Hi,

I really could use some help tracking down a problem. From looking at XF86Config and from running xdpyinfo, it seems the XF86 frame buffer server reports incorrect bit depths which in turn are driving the JDK 1.2 swing color model crazy!!!

For example, when I put my B+W into millions of color mode, xdpyinfo claims 32 bits for the depth (wrong it is 24, 8 bits for red, green, and blue), and correctly claims 32 bits per pixel.

Can you re-code JDK swing to look at red/green/blue mask infos instead of just blindingly using "depth" info? For both servers, masks are 8 bit each for 24/32 and 5 bit each for 15/16 with many display cards on Macs.

Takashi Oe

[[ 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. ]]