*BSD News Article 69348


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.engr.udayton.edu!blackbird.afit.af.mil!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!EU.net!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!longacre.demon.co.uk
From: searle@longacre.demon.co.uk (Michael Searle)
Newsgroups: comp.windows.x,comp.unix.bsd.freebsd.misc
Subject: New mode definitions in XF86Config
Date: Fri, 24 May 1996 12:30:09 BST
Lines: 65
Message-ID: <nD34B0974@longacre.demon.co.uk>
NNTP-Posting-Host: longacre.demon.co.uk
X-NNTP-Posting-Host: longacre.demon.co.uk
X-Newsreader: Offlite 0.09 / Termite Internet for Acorn RISC OS
Xref: euryale.cc.adfa.oz.au comp.windows.x:88245 comp.unix.bsd.freebsd.misc:20010

What do I have to do to my XF86Config to put a new resolution in?  I am
using XFree86 3.1.2 on a PC with a Miro Crystal 20SV (S3/968, 2MB, 135MHz)
and a 64kHz Nokia monitor. The standard 1024x768x64k and 800x600x16M modes
work OK. I tried xvidtune, but this only seems to be able to change existing
modes, not create new ones.

What I want is a 1152x864 mode, 16 bit colour. I know this is possible with
this hardware, as the MS Windows driver offers it as a standard option,
which I am now using in MS Windows.

I guess I will have to put in a new ModeLine, and do something to the Screen
section, but the man pages are not very helpful. Is there anyone with
similar hardware that can tell me what changes are needed?

Here are the relevant parts of my XF86Config:

Section     "Monitor"
Identifier  "Nokia449M"
VendorName  "Nokia"
ModelName   "449M"
HorizSync   30-64
VertRefresh 48-120
# 640x480 @ 72Hz, 36.5kHz hsync
Modeline    "640x480"    31.5  640  680  720  864   480  488  491  521
# 800x600 @ 72Hz, 48.0kHz hsync
Modeline    "800x600"    50    800  856  976  1040  600  637  643  666
+hsync +vsync
# 1024x768 @ 76Hz, 62.5kHz hsync
Modeline    "1024x768"   85   1024 1032 1152 1360  768  784  787  823
EndSection

Section    "Device"
Identifier "Miro Crystal 20SV"
VendorName "Miro"
BoardName  "20SV"
Ramdac     "att20c505"
Clockchip  "icd2061a"
EndSection

Section    "Screen"
Driver     "accel"
Device     "Miro Crystal 20SV"
Monitor    "Nokia449M"
Subsection "Display"
Depth      8
Modes      "1024x768" "800x600"
ViewPort   0 0
Virtual    1280 1024
EndSubsection
Subsection "Display"
Depth      16
Modes      "1024x768" "800x600" "640x480"
ViewPort   0 0
Virtual    1024 768
EndSubsection
Subsection "Display"
Depth      32
Modes      "800x600" "640x480"
ViewPort   0 0
Virtual    800 600
EndSubsection
EndSection

-- 
Michael Searle - searle@longacre.demon.co.uk