* Better TGA Driver?
@ 1998-10-14 4:00 robert rinker
1998-10-14 4:00 ` Tim Rowley
0 siblings, 1 reply; 6+ messages in thread
From: robert rinker @ 1998-10-14 4:00 UTC (permalink / raw)
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.
On a different but somewhat related note... My TGA board and X driver has a
couple of idiosyncrasies I would like to fix, that may be solvable without a
new X driver. I was wondering if anybody knows what to do about these - they
are minor inconveniences, but it would be nice if they were fixable:
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...
2. When running X (so, part of the Xserver?) the screen NEVER turns off. So,
unless I remember to put on a screensaver, the screen image just continues
to burn into the monitor. If I remember to stop X before retiring for the
night, the "regular" screen shuts itself off just fine (although it doesn't
do the "deep sleep" - turn off power to the high voltage - like many PC's
do today).
Thanks in advance for any suggestions.
-Bob Rinker
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Better TGA Driver?
1998-10-14 4:00 Better TGA Driver? robert rinker
@ 1998-10-14 4:00 ` Tim Rowley
1998-10-17 4:00 ` Paul J Jarosz
1998-10-26 5:00 ` Daniel Tryba
0 siblings, 2 replies; 6+ messages in thread
From: Tim Rowley @ 1998-10-14 4:00 UTC (permalink / raw)
robert rinker <rinkerr@cs.colostate.edu> 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.
> 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.
> 2. When running X (so, part of the Xserver?) the screen NEVER
> turns off. So, unless I remember to put on a screensaver, the
> screen image just continues to burn into the monitor.
The latest version of my patch should blank the screen. I don't
happen to have a energy star monitor hooked to the alpha, so I'm
not sure if it triggers a power-off.
-tor
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Better TGA Driver?
1998-10-14 4:00 ` Tim Rowley
@ 1998-10-17 4:00 ` Paul J Jarosz
1998-10-17 4:00 ` Tim Rowley
1998-10-17 4:00 ` robert rinker
1998-10-26 5:00 ` Daniel Tryba
1 sibling, 2 replies; 6+ messages in thread
From: Paul J Jarosz @ 1998-10-17 4:00 UTC (permalink / raw)
To: Tim Rowley
On 14 Oct 1998, Tim Rowley wrote:
> robert rinker <rinkerr@cs.colostate.edu> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Better TGA Driver?
1998-10-17 4:00 ` Paul J Jarosz
1998-10-17 4:00 ` Tim Rowley
@ 1998-10-17 4:00 ` robert rinker
1 sibling, 0 replies; 6+ messages in thread
From: robert rinker @ 1998-10-17 4:00 UTC (permalink / raw)
Paul J Jarosz <pjjarosz@cse.buffalo.edu> wrote:
: 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.
: Paul
I found info on the 21030 chip at:
ftp://ftp.netbsd.org/pub/NetBSD/misc/dec-docs/index.html
This is not info specifically on the TGA board, but is what you need, I think.
- Bob Rinker
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Better TGA Driver?
1998-10-17 4:00 ` Paul J Jarosz
@ 1998-10-17 4:00 ` Tim Rowley
1998-10-17 4:00 ` robert rinker
1 sibling, 0 replies; 6+ messages in thread
From: Tim Rowley @ 1998-10-17 4:00 UTC (permalink / raw)
Paul J Jarosz <pjjarosz@cse.buffalo.edu> writes:
> 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.
ftp://ftp.netbsd.org/pub/NetBSD/misc/dec-docs/ec-n0683-72.ps.gz
> > > 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"
That's the obvious fix, but as I mentioned, this moves the cursor
too far to the left for SRM/aboot configurations.
-tor
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Better TGA Driver?
1998-10-14 4:00 ` Tim Rowley
1998-10-17 4:00 ` Paul J Jarosz
@ 1998-10-26 5:00 ` Daniel Tryba
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Tryba @ 1998-10-26 5:00 UTC (permalink / raw)
Tim Rowley <tor@boojum.cs.brown.edu> wrote:
:> 2. When running X (so, part of the Xserver?) the screen NEVER
:> turns off. So, unless I remember to put on a screensaver, the
:> screen image just continues to burn into the monitor.
: The latest version of my patch should blank the screen. I don't
: happen to have a energy star monitor hooked to the alpha, so I'm
: not sure if it triggers a power-off.
: -tor
Powersaving works correctly, at least for my UDB, when starting X with:
/usr/X11R6/bin/X dpms r -s 15 v
--
Daniel Tryba
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-10-26 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-14 4:00 Better TGA Driver? robert rinker
1998-10-14 4:00 ` Tim Rowley
1998-10-17 4:00 ` Paul J Jarosz
1998-10-17 4:00 ` Tim Rowley
1998-10-17 4:00 ` robert rinker
1998-10-26 5:00 ` Daniel Tryba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox