FixYa.com
Technical Support, Instructions & Repair Service


Tags:

NEC / Cirrus Logic Triple VGA Chip

A straight answer about Diamond, please!

By Odud - usenet poster


I know this has probably been asked or talked over many times, but I
can never seem to find a straight answer regarding whether Linux will work with
Diamond video cards or not. I would like to know if there are any patches or
seperate drivers for these cards. Please let me know, I'm becoming very
confused! :) And I'm sorry for wasting your time if that is the way you
choose to look at this article.

Mike Doubek

--
­-
*** FoxMUD is Back!!! All old users, areas, and code remain intact! :) ***
*** The new address is -- 'mud.eskimo.com 4848' We're in Seattle, WA! ***
*** Questions, complaints, ideas, or 'hiya's at '' ***

This Problem has been added to the Share Your Expertise Page under "My Work Queue".
Solution #1
posted on Aug 02, 2007
Not Rated (0)

M0nica L

M0nica L - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
I know this is probably a bit out of date, but since I had lots
of problems getting my Speedstar 24X to work with XFree, I'll
post it in the hopes that it helps some of the frustrated Diamond
owners out there. I will say this - I kept finding information
about this Xconfig setup or that Xconfig setup and came to two
conclusions concerning my computer/monitor setup.

1. None of the setups I found in any file anywhere worked for 1024x768
mode (or 800x600 either I think), though I could get 640x480.

2. It was possible to get XFree to work with my card in all modes,
and probably is with most other cards. It also states somewhere that
the Mono mode will work with most (if not all) Diamond cards.

I managed to get everything working by using the 'freq' program
(mentioned in the description for the speedstar-fix.tar.Z file.
I know a lot of the files have been moved around on sunsite since
this file was made, but I think that if you find a Xconfig setting
that gives you one mode, and then play around with the 'freq' program
you can get everything to work without too much effort. I'll be happy
to try to help anyone through email, or mail them a uuencoded copy
of the 'freq' program if they can't find it, but I warn you in advance,
my free time is short right now, so there could be quite a wait
before I can reply to any email.

Kevin

Diamond.FAQ:

This FAQ pertains to the use of Diamond Computer's video card products
and XFree86 with the Linux Operating system. I haven't spoken with
many people from the BSD groups. If you find any of these utilities
of use, please let me know, so that the BSDs may be covered as well.

Please forward any comments, corrections, enhancements, flames,
suggestions, etc... to:

S: ToC

* Warning, Please read this first!

* Introduction

* Writing Diamond

* Some Questions & answers about Diamond Video Cards

* Fixes (procedures some of us netters have used to get
our Xwindows systems up and running).

+ Joe's fix for Stealth 24 (ISA)

+ Johnson's fix for the Speedstar+

+ Vesku's fix for the Stealth VRAM v.2.32

+ Console fix

+ Cybard's fix Diamond SS24

* THE END & contributors list

To ease your quest, search for:
S: Major sections
Q: Questions
F: Fixes
C: preceeds & trails the Xconfigs

S: Warning
WARNING: THE USE OF THE SOFTWARE RECOMMENDED OR TECHNIQUES DESCRIBED
WITHIN THIS DOCUMENT:

* MAY * DAMAGE * YOUR * VIDEO * CARD * AND/OR * MONITOR *.

(Side note: It seems very few and far between that it happens, but it
has happened, or so I've heard. Please send any such problems to
You have been warned, so don't hold me
responsible!)

I believe this pertains to frequencies which may exceed your monitor's
capabilities, particularly if you have an older or lower-quality
monitor!

Frequencies which work great on one monitor may cause monitor and/or
video card damage when used on a different system or monitor.

It is YOUR RESPONSIBILITY to ensure that any setting you use meets the
safe operating parameters of your monitor.

NO WARRANTY

THERE IS NO WARRANTY FOR THIS DOCUMENT, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE DOCUMENT "AS IS" WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE DOCUMENT IS WITH YOU. SHOULD THE DOCUMENT PROVE
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
CORRECTION.

S: Introduction

David C. Niemi is responsible for initiating this FAQ, I
() have taken over it's maintenence.

Purpose: Diamond Computer Systems, Inc. the maker of the Diamond
{SpeedStar, Stealth, Viper, etc.} have a policy which hinders the
ability to write free software for several of their products.

It seems very strange that any company would hold a policy such as
this. My understanding is that it protects "trade secrets" they
own, and would like to protect.

Because of this, this FAQ exists and hopefully will cut down on the
bandwidth consumed by owners of Diamond Computer Systems, Inc. video
card product, in reguards to XFree86 Xwindows System.

The creators of this FAQ are not in any way affiliated with Diamond
Computer Systems, Inc. and do not advocate purchasing Diamond
products. This posting is not intended to encourage, nor discourage
people from buying Diamond video cards. For those of use who own
Diamond products, and wish to be able to use them with XFree86, this
FAQ *may* be of use.

S: Writing Diamond

It seems unlikely that Diamond Computer Systems, Inc. will change
their practice, especially if we barrage them with hostile letters
proclaiming dissatisfaction with them and/or their practice of
non-disclosure.

If you feel strongly enough to write them, use a cool calm voice.
State your position, and organizations with which you are involved and
your influence in future purchases. State weather you would recommend
their product in the future and why or why not.

Remember, you're trying to persuade. Anger is not persuasive. Give
yourself a cool down period, if needed. Leave the letter alone, and
come back to it tomorrow.

S: Questions

Q: What are the different video cards has Diamond Computer Systems
Inc. produced?

1. SpeedStar VGA: Tseng(ET4000) chipset and Music DAC
2. SpeedStar High Color: Tseng(ET4000) chipset and Sierra DAC
3. SpeedStar 24: Tseng(ET4000) chipset and Diamond(SS2410) DAC
4. SpeedStar 24X: Western Digital(WD90C31) chipset and Diamond(SS2410) DAC
5. Stealth Vram: S3(P86C911) chipset and Diamond(SS2410) DAC
6. SpeedStar Pro ISA: Cirrus Logic chipset
7. SpeedStar Pro VLB: Cirrus Logic chipset
8. Stealth 24 ISA: S3(P86C801) chipset and Diamond(SS2410) DAC
9. Stealth 24 VLB: S3(P86C805) chipset and Diamond(SS2410) DAC
10. Stealth Pro ISA: S3(P86C928) chipset and Diamond(SS2410) DAC
11. Stealth Pro VLB: S3(P86C928) chipset and Diamond(SS2410) DAC
12. Viper VLB 1/2 MB: Weitek(P9000) chipset and Bt(485KPJ110) DAC

Q: What makes the Diamond so special???

Several of their video cards use Diamond's custom clock generator
chip, which is not compatible with the clock from any other vendor.

Some of the older products, don't suffer from this clock generator
because they pre-date the custom clock generator.

Q: How can they claim "Compatibility" and still be excluded from
Xfree86?

Using BIOS level calls, most of the video modes, including SVGA
specific modes can be attained with the card. Most Unicices do not
work in the ``real'' mode of Intel platforms. This makes a BIOS level
call difficult, if not impossible.

The XFree86 team has much work. Adding a platform specific --
complicated feature such as bios calls is the least of their worries.

Q: What about the Diamond Viper?

It is based on the Weitek P9000, not an S3 chip, so it needs
completely different drivers from the rest of the Diamond Stealth
series.

You can use the VGA add-on of the Viper with the Mono X-server, but
you will neither have color nor use the accelerated features of the
Viper.

The P9000 chipset (and so the Viper) is currently not supported and
will probably not be supported in the near future by the XFree team.

Diamond Viper X Server Development Team:

Contact Harry Langenbacher () for info on
a group of programmers developing an Xfree/Linux driver for the
Diamond Viper.

Q: Can I use a Diamond products with XFree86?

Yes, at least under Linux. XFree86 will work out of the box with the
monochrome server (/usr/X386/bin/XF86_Mono) at 640x480.

For several of the SpeedStars's to get 640x480 color use the XSVGA
Server. To get higher resolutions, you will need to specially set the
Diamond Clock on your card (please read the WARNING first).

For the Stealth 24's get 640x480 color, install XS3 and the fix
sections of this FAQ. To get higher resolutions, you will need to
specially set the Diamond Clock on your card (please read the WARINING
first).

For the Viper, see Question above "What is the Diamond Viper."

The clockchip for Diamond products will not be supported in the
further (future) XFree86 releases. Though you should be able to use
the freq, s3, or ds3 program to set the clocks from the server (as in
ClockProg option line in Xconfig).

XFree86-2.0 (this will replace XS3) will support more than 1 MB and
will allow higher resolutions. Most s3 chips, however, only work
accelerated at horizontal resolutions 640, 800, 1024 and 1280 (the
most recent chips also at 1152).

Q: I get funny black blocks and few if any text when I bring up
XS3-0.4.4 on my Diamond Stealth. I also see black and white
vertical lines before the normal X stipple background is
loaded. How do you fix this?

In /usr/X386/lib/X11/Xconfig, change the "Virtual 1024 1024" line to
be "Virtual 1024 768". XS3 uses the other 256KB of memory for a font
cache, whether it is in use or not; this is not a Diamond problem per
se.

Q: I have a Diamond Stealth 24 VLB card, and menus and popups don't
get erased under my window manager.

Add the following line to your Xconfig:
Vendor "nolinear"

This may make things a bit slower, but this card is fast enough you
probably won't notice, and at least it will work.

S:Q: How do I set the Diamond Clock?

(Note, to run programs that set clock frequencies, you'll have to be
root, or the program will have to be suid root.)

xclk.gz Useful calculating ModeDB timings, based
on parameters passed to it.
(xclk.gz only contains a binary that works on
Linux. I don't know where the source code
can be found.)

vgaset.tpz Helps fine tune timing values in Xconfig. This
was included with the SLS 1.03 distribution
...
read more »

Was this solution helpful? Show your Appreciation by rating it:

Solution #2
posted on Aug 02, 2007
Not Rated (0)

Luisa_K

Luisa_K - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
Straight up now...

I'm running my system in X with a Diamond card and a multisync monitor in
1024x768x256 mode. I can't get into the better modes because my card only
has 1 meg and I can't get the 16 color driver to work in high res modes.
(It keeps telling me I'm out of memory. My calculator says I'm only using
640k. I dunno.)

Anyway, the information is around. Check Sunsite for an archive called
Diamond, there's good info in there. Also, you use the standard SVGA
driver.

Look around for a program called sync! This is the most important part.
This will program the crystals on your video card.

I found out that once you use sync to set your crystals they stay set
and X knows that they're available. So all I had to do was figure out
the necessary frequencies (75mhz and 25.2mhz (normal for my monitor)).
then in my bootup sequence I execute the following commands:

freq 75000 2
#This sets the third crystal to 75mhz and fritzes your monitor because
#the card's still putting out lines at 25.2mhz
freq 25200 0
#This re-selects crystal 0 and sets it to the correct frequency.
#my monitor looks fine, life is good.

After this, when I start X it knows that my card has crystal frequencies
of 75mhz and 25.2mhz available, so I just set the rest of my Xconfig file
up as though those were the two frequencies I had available.

If you wanted to add an interlaced mode (when you had the memory), crystal
1 would still be open.

I don't know how to uuencode with this stupid windows mail program or I'd
send the file. If somebody knows more about the sync program, would
they either post the location or uuencode/upload it? thanks.

Anyway, hope that's straight enough. Please don't consider me an X expert,
it took me a couple weeks of work to get this far, and I just got it working
last week.

Anyone who knows how I can get better resolution with only 1 meg of video ram
please post!

later kiddies.

Was this solution helpful? Show your Appreciation by rating it:

Solution #3
posted on Aug 02, 2007
Not Rated (0)

Bomber

Bomber - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
: : I know this has probably been asked or talked over many times, but I
: : can never seem to find a straight answer regarding whether Linux will work with
: : Diamond video cards or not. I would like to know if there are any patches or
: : seperate drivers for these cards. Please let me know, I'm becoming very
: : confused! :) And I'm sorry for wasting your time if that is the way you
: : choose to look at this article.

: Hi,
: I have a Diamond Speedstar Pro and am pretty new to Linux and in my
: innocence I was able to get Linux to work with my video card. I don't see
: any reason why Linux itself should cause problems, however X does cause
: problems. The problems are NOT unremediable! If you have time to read a
: lot of materials (i.e. the FAQs, all of the Xconfig.## files,
: Xconfig.sample, vidModes.?, and various other files in /usr/X386/X11/bin/)
: then X windows will work. I also have a KFC 15" noninterlaced 1280x1024
: monitor. I sat down one night and calculated all of the figures you will
: read about (i.e. HSF,VSF,RR,HFL,VFL,etc.) and now have X windows working.
: If you want I can send you a copy of my Xconfig file or instructions of how
: I did mine.

: Andy
: ()

: P.S. The Xconfig files have two other Diamond .. Xconfig files that have
: good generic modes that should work,but might need to be tweaked

To be short, and it is indeed said many times...
YES Diamond CAN work, if it is somehow ET4000 compatible. Maybe
others will too.

NO don't buy one, because under Linux it is not an accellerator
card. So it is pretty SLOW (i think, I have a CL5428VLB -- FASST)
running in ET4000 mode.

Mr. Diamond won't tell the XF86 freaks out these how the Diamonds
work, I thought. As long as this is the case, Diamond
accellerators won't be supported.

Regards,
Steef

S.G. de Bruijn E-Mail:
Twente University of Technology, Dept. of Computer Science
Enschede The Netherlands
Phone: Work: +53 894191 Home: +53 334812
@@
signature: file not found

Was this solution helpful? Show your Appreciation by rating it:

Solution #4
posted on Aug 02, 2007
Not Rated (0)

LiZzIe

LiZzIe - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
In <
Some small point: The XFree86 project group does NOT support Diamond card as Diamond has changed the way of programming the clock and they will not deliver their source presenting this new way. So The XFree86 will never support your diamond card and will never answer your questions about this card.

And yes there are people who figured out their problems with Diamond cards and X. Just be warned: Don't use XConfig files send to you by other people without checking values presented in it (I mean recalculating them) as just using them can damage your monitor nd that's not what you want ( :-)). Problem is that everybody has his own computer configuration

Hope I did not make you be disappointed to much

Patrick Reijnen

--

* Patrick Reijnen *
* Department of Computer Science, Catholic University of Nijmegen *
* Email: patrickr@{sci,cs}.kun.nl (Make your choice) *

Was this solution helpful? Show your Appreciation by rating it:

Solution #5
posted on Aug 02, 2007
Not Rated (0)

Luisa_K

Luisa_K - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes

The problem isn't that Diamond refuses to release source; very few
companies do that and it's not a problem. The problem is that they
refuse to release any documentation without requiring a non-disclosure
agreement (which would prohibit _anyone_ from releasing free source),
and worse threaten anyone who reverse-engineers their hardware in
attempt to provide support. Because of this, no one is very eager to
write support for Diamond's cards, since it is much easier to simply
buy from a company that actually _helps_ support their cards, like #9
or Elsa. Diamond's hardware isn't really any better than anyone
else's, they just seem to market better. In case you're interested,
the proprietary clock-synthesiser that Diamond got all protective over
is actually the exact same chip the #9 uses in their cards, and #9
helped provide code that works. Yes, the same code will work on some
Diamond boards, but no one is really eager to check.

Read your documentation. Xconfig files aren't really all that
complicated, you just have to know a few things about your hardware.
Getting 640x480 working is almost trivial for any hardware, but
getting higher modes takes a little work. It's really not that hard,
you just need to know which clocks your card supports (and the server
can usually probe those) and what your monitor's limitations are (and
those can usually be looked up in the modeDB.txt file). It's all in
the documentation.

Scott.

--
Scott A. Laird | "But this goes to 18,446,744,073,709,551,615"
| - Nigel on his 64-bit computer

--
Scott A. Laird | "But this goes to 18,446,744,073,709,551,615"
| - Nigel on his 64-bit computer

Was this solution helpful? Show your Appreciation by rating it:

Solution #6
posted on Aug 02, 2007
Not Rated (0)

Peter1

Peter1 - usenet poster

Rank:Apprentice Apprentice
Rating: 0%, 0 votes
: I know this has probably been asked or talked over many times, but I
: can never seem to find a straight answer regarding whether Linux will work with
: Diamond video cards or not. I would like to know if there are any patches or
: seperate drivers for these cards. Please let me know, I'm becoming very
: confused! :) And I'm sorry for wasting your time if that is the way you
: choose to look at this article.

Hi,
I have a Diamond Speedstar Pro and am pretty new to Linux and in my
innocence I was able to get Linux to work with my video card. I don't see
any reason why Linux itself should cause problems, however X does cause
problems. The problems are NOT unremediable! If you have time to read a
lot of materials (i.e. the FAQs, all of the Xconfig.## files,
Xconfig.sample, vidModes.?, and various other files in /usr/X386/X11/bin/)
then X windows will work. I also have a KFC 15" noninterlaced 1280x1024
monitor. I sat down one night and calculated all of the figures you will
read about (i.e. HSF,VSF,RR,HFL,VFL,etc.) and now have X windows working.
If you want I can send you a copy of my Xconfig file or instructions of how
I did mine.

Andy
()

P.S. The Xconfig files have two other Diamond .. Xconfig files that have
good generic modes that should work,but might need to be tweaked

Was this solution helpful? Show your Appreciation by rating it:

Can you Help with these System Cooling problems?

System Cooling
Trying to replace both the...
The easiet solution to changing... Answer This...
System Cooling
renault clio
does my clio 1.8i have a brake... Answer This...
System Cooling
relay unit
car fires up but then dies need... Answer This...
System Cooling
Warning light.
Electronic fault indicator... Answer This...
System Cooling
Peoplesoft
There are how many ways for... Answer This...
Repair Service
Find System Cooling Repairman Near You:

FixYa does not evaluate or guarantee the accuracy of any information provided through its proposed solutions, posts, or Expert Assistance Sessions. By entering this site you declare you read and agreed to its Terms. You may NOT copy or distribute the content that appears on this site without written permission from FixYa Inc.
© 2005-2008, FixYa, Inc. or its affiliates
When the original poster rates a solution that was given to his own problem, that rating is locked!
X

Are you sure the solution content is Inappropriate?
   
Tech buddies can communicate directly to answer questions. Become a Tech Buddy and have direct access to your favorite expert for FREE!