From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97421594226573.tru64-unix-managers.marc@archive.invalid> From: Dieter Meinert Date: Tue, 14 Nov 2000 15:32:37 +0000 To: tru64-unix-managers Subject: [SUMMARY] Curiosity: Graphics memory required X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97421594226573 -----BEGIN PGP SIGNED MESSAGE----- I got quick responses on the first of my two questions, still it does not work, even gets worse: Thanks to Peter.Stern@weizmann.ac.il and "Colin Walters" Colin sent an advice on how to tune the Graphics card. I tried it, the card turned out to be ZLXp2-EV5, but it resulted in a TrueColor Display nof 8 bit depth ! My second request is still open. Tsch=FC=DF, =09=09=09=09=09=09Dieter=20 =20 _____________________________*__________________________________ / * dieter.meinert@aip.de \ \ Dieter Meinert (- ** http://www.aip.de/~dieter/ \ \__________________A______*__*___________________________________/ (public pgp key from http://www.aip.de/~dieter/) Original message: Hi fellows, First I have a curious question that bothers me since I started managing Dec Alphas on DU/T64U: I want to use a TrueColor(24bit) Display at 1280x1024 Pixels. - - From simple arithmetics ((1280*1024*24)bit/8 =3D 7864320byte) I need a graphics card with 8MB memory to achieve this, and all our machines have at least 8MB graphics memory. Nevertheless only our Alphas with sufficiently more memory (~32MB) can use truecolor, while the others hardly can use 16bit color depth with 16 or 24MB memory. This is not true on linux PC. Can anyone explain this discrepancy to me ? Second: I probably found a Bug in Java Support with T64Uv4.0f and below, probably also above, in support of the PowerStorm4D50T Graphics card: Anytime I use Netscape, and the page I load down contains Java or JavaScript data, at some point netscape (any version from 4.0 up to current (4.7x) ) stops working and doesn't take any more input. I am only able to kill it from remote. Since this only happens on the one machine with the Powerstorm4D50T, in any user environment, while we have several other machines with the same hardware/software configuration except the graphics, I'd like to ask if someone had experienced similar problems, or probably knows a Fix for that. TIA. =46rom: Peter.Stern@weizmann.ac.il Reply-to: Peter.Stern@weizmann.ac.il Content-Type: text/plain; charset=3Diso-8859-1 Dear Dieter: First, there seems to be something wrong with your "simple arithmetic= " since I get half that number. More simply, 1280x1024 is 1.25MB * 3= =20 =3D 3.75MB which is all you should need for TrueColor (unless of cour= se=20 you are doing double buffering or some such thing). In any event, *MB should be more than enough. You should check that the files: /var/X11/Xserver.conf and /usr/dt/config/Xservers.con don't contain something like:=20 args < -pn -vclass0 PseudoColor > which specifies a different visual class than the TrueColor default. Regards, Peter And on a disconfirming notice of mine (see quote inside Peters message): Dear Dieter: So presumably the command xdpyinfo given on the console screen doesn'= t list any visual with a depth of more than 16 planes? If not, are you sure about the memory the grahics card has? Regards, Peter > |=3D> args < > |=3D> -pn -vclass0 PseudoColor > |=3D> > > |=3D> >=20 > No, there aren't any options in /usr/dt/config/Xservers: >=20 > :0 Local local@console /usr/bin/X11/X :0 >=20 > we tried with >=20 > :0 Local local@console /usr/bin/X11/X :0 -screen 1280x1024 -vcl= ass TrueColor >=20 > but the best result was 16bit colors, usually the server refused > to work. >=20 > |=3D> which specifies a different visual class than the TrueColor = default. > |=3D> =20 > |=3D> Regards, > |=3D> Peter > |=3D> =20 >=20 > Tsch=FC=DF, > =09=09=09=09=09=09Dieter=20 =46rom: "Colin Walters" (following this advice resulted in 8bit TrueColor for me, a horrible dis= play !) Dieter, The following e-mail was provided to me by a colleague who is documenting the procedure Colin Walters Compaq UNIX Business Segment - Tru64 UNIX Publications Group System Administration Documentation Nashua, NH USA Tel: 603-884-0440 http:\\www.zk3.dec.com\~walters (firewalled) ONLINE DOCUMENTATION AT: http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html See our new Best Practices If you have color problems with Netscape and other applications on yo= ur Tru64 UNIX system, and your system contains a Comet (ELSA GLORIA Syn= ergy) or TGA2 video card, the procedure in this message should resolve you= r problems. By default, our X server operates in 8-bit color mode (256 colors). = The following procedure configures the X server to operate in 24-bit colo= r mode (16777215 colors), Log in as root and perform these steps: 1) Enter the following command to determine the type of video card in= your system: # sizer -gt If the response is COMET, ZLXp2-EV5, or ZLXp2-EV4, you have a video c= ard that is capable of 24-bit color; continue with step 2. Otherwise, yo= u have an incompatible card and this won't help you. Sorry. (Future cards = might support 24-bit color, but for now, Comet and TGA2 are the only ones.) 2) Save your work and close all open documents. (If you're reading t= his procedure on your Tru64 UNIX system, you should print it out before continuing.) You will need to exit your session in one of the follow= ing steps. 3) Edit the /usr/var/X11/Xserver.conf file and look for a statement s= imilar to the following: args < -pn > It might contain a line or two about cateyes/powerstorm, too. This i= s ok. 4) Insert the following line after the "-pn" and before the ">": - -vclass TrueColor -depth 24 It should look like this: args < -pn -vclass TrueColor -depth 24 > It should work like this, too, but I haven't tested it: args < -pn -vclass TrueColor -depth 24 > These options tell the X server to use 24-bit color. Verify that you= have typed them correctly (note the "e" in TrueColor, not like Tru64) and = save the Xserver.conf file. 5) Execute the following command to stop the X server: # /sbin/init.d/xlogin stop Your screen should turn blue. (It's a feature, not a bug!) 6) Hit Enter to bring up the login prompt and log in as root. 7) Execute the following command to restart the X server: # /sbin/init.d/xlogin start Your system should come up to the full CDE login screen. You will se= e the single-user login prompt on the way up, but be patient. CDE is comin= g. If you see an error message indicating that the X server could not be restarted, it might indicate a typo in the Xserver.conf file. Log in= at the single-user level and check the contents of the file. If they ar= e valid, it's possible that your system does not support 24-bit color. = In that case, to recover, edit the Xserver.conf file, remove the options= that you added, and start the X server again. On the other hand, if it works, you should see a difference in your d= esktop when CDE starts up. There should be more colors, and images should b= e sharper. You can test this by opening a web page with JPG or GIF fil= es in Netscape. -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: latin1 iQCVAwUBOhFbFPYksnFoaQ6JAQE7twP/SGzfpA6xm96Em2GIYTkYrVWyTKJijn3t LkHaFbzP4rPIEMwJlYXDB8uEtdbtjijPBwSMx3R9/AGqrQBHf3mkbXGMu2GyXMrn j6ZtEkObOUr6wCE1u1slFf22/7AiU2/U5jmZx7IkVL3z9Z4XGIHzJ5f0+KSriJOX 2Had/epiYtk=3D =3DJFW2 -----END PGP SIGNATURE-----