From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,35e0f3855e5c76e3 X-Google-Attributes: gid111c93,public From: Paul J Jarosz Subject: Re: Better TGA Driver? Date: 1998/10/17 Message-ID: #1/1 X-Deja-AN: 402192862 References: <703f66$ot6@flatt.cs.colostate.edu> To: Tim Rowley X-Sender: pjjarosz@armstrong.cs.Buffalo.EDU Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University at Buffalo Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha NNTP-Posting-User: pjjarosz Originator: pjjarosz@armstrong.cs.Buffalo.EDU On 14 Oct 1998, Tim Rowley wrote: > robert rinker writes: > > Has anybody thought about working on a better TGA driver for X? The 24-plane > > patch seems to make the current driver work for the 24-plane TGA boards, but > > the current driver admittedly uses no acceleration features of the card. I > > poked around a bit in the X-server stuff, and it appears to require more > > expertise than I have. However, I would be interested in helping out where I > > could. > > There's a few of us thinking about working on accelerating the > server, but to my knowledge things haven't progressed much beyond > hardware cursor support and reading through the TGA documentation > and XAA source. > Could you email me the TGA documentation, I would be interested in helping out with this. These TGA cards are really nice, it would be a shame to have to scrape it. > > 1. In "regular" text mode (i.e., before running X), the cursor > > appears one space AFTER the actual cursor position (i.e., there > > appears to be a space between the last character typed and the > > cursor). This doesn't happen in Xterms, so it's no big deal, > > but... > > It appears to be an interaction between MILO and the console > code. A small change to the terminal driver fixes it for MILO, > but then the cursor is offset to the left for SRM/aboot > configurations. The newer fbcon development kernels don't have > this problem (namely by not using the hardware cursor), so I > haven't investigated what was happening. > Actually the problem is in the kernel source code in the file "tga.c". The problem is in tga_set_cursor on the line where it said "col = idx % 80" it should read "col = idx % 80 - 1" Check out my homepage under Alpha Linux, I have a patch on there: http://www.cse.buffalo.edu/~pjjarosz Paul