Re: [Xpert]Matrox color problems

2002-10-16 Thread Dr Andrew C Aitchison

On Wed, 16 Oct 2002, Ulrich Hobelmann wrote:

> Dr Andrew C Aitchison wrote:
> > On Wed, 16 Oct 2002, Ulrich Hobelmann wrote:
> > 
> >>I've used the option NoHal in my config file, so the error
> >>message disappears, but now I only have 8bit colordepth!
> > 
> > There must be something "wrong" in your /etc/X11/XF86Config-4,
> > even without hal, the mga driver should have no problems with high
> > colour modes.
> > Could you send my your config file and /var/log/XFree86.0.log ?

Your "Screen" section doesn't have a "DefaultColorDepth nn" line,
and you don't appear to have used a "-depth xx" command-line option, so
the server tries the "Display" Subsections in order. The matrox cards 
don't support 1 or 4 bit depths, so depth 8 is the first.

To get 24 bit, either use
startx -- -depth 24
, add a line
DefaultColorDepth 24
before your first "Display" Subsection, or change the order of your
"Display" Subsections.
If using xdm or similar you might want to change a line in  
/etc/X11/xdm/Xservers to read
:0 local /usr/X11R6-v4/bin/X -depth 24

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



Re: [Xpert]Matrox color problems

2002-10-16 Thread Ulrich Hobelmann

Dr Andrew C Aitchison wrote:
> On Wed, 16 Oct 2002, Ulrich Hobelmann wrote:
> 
>>I've used the option NoHal in my config file, so the error
>>message disappears, but now I only have 8bit colordepth!
> 
> There must be something "wrong" in your /etc/X11/XF86Config-4,
> even without hal, the mga driver should have no problems with high
> colour modes.
> Could you send my your config file and /var/log/XFree86.0.log ?
> 

Thanks, here's my two files.



Section "ServerLayout"
Identifier "XFree86 Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
ModulePath   "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load  "dbe"
Load  "extmod"
Load  "glx"
Load  "record"
Load  "xtrap"
Load  "speedo"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "keyboard"
Option  "XkbRules" "xfree86"
Option  "XkbModel" "pc104"
Option  "XkbLayout" "de"
Option  "XkbVariant" "nodeadkeys"
Option  "XkbOptions" "ctrl:nocaps"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol" "wsmouse"
Option  "Device" "/dev/wsmouse0"
EndSection

Section "Monitor"
#DisplaySize  300   230 # mm
Identifier   "Monitor0"
VendorName   "NOK"
ModelName"510L"
HorizSync31.5 - 57.0
VertRefresh  50.0 - 70.0
Option  "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"  # []
#Option "HWcursor"  # []
#Option "PciRetry"  # []
#Option "SyncOnGreen"   # []
#Option "NoAccel" "true"# []
#Option "ShowCache" # []
#Option "Overlay"   # []
#Option "MGASDRAM"  # []
#Option "ShadowFB"  # []
#Option "UseFBDev"  # []
#Option "ColorKey"  # 
#Option "SetMclk"   # 
#Option "OverclockMem"  # []
#Option "VideoKey"  # 
#Option "Rotate"# []
#Option "TexturedVideo" # []
#Option "Crtc2Half" # []
#Option "Crtc2Ram"  # 
#Option "Int10" # []
#Option "AGPMode"   # 
#Option "AGPSize"   # 
#Option "DigitalScreen" # []
#Option "TV"# []
#Option "TVStandard"# []
#Option "CableType" # []
Option "NoHal" "true"   # []
#Option "SwappedHead"   # []
#Option "DRI"   # []
Identifier  "Card0"
Driver  "mga"
VendorName  "Matrox"
BoardName   "MGA G200 AGP"
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Depth 1
EndSubSection
SubSection "Display"
Depth 4
EndSubSection
SubSection "Display"
Depth 8
EndSubSection
SubSection "Display"
Depth 15
EndSubSection
SubSection "Display"
Depth 16
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "DRI"
Group0
EndSection




XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: NetBSD/i386 1.6 [ELF] The NetBSD Foundation, Inc.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++

Re: [Xpert]Matrox color problems

2002-10-16 Thread Dr Andrew C Aitchison

On Wed, 16 Oct 2002, Ulrich Hobelmann wrote:

> I've used the option NoHal in my config file, so the error
> message disappears, but now I only have 8bit colordepth!

There must be something "wrong" in your /etc/X11/XF86Config-4,
even without hal, the mga driver should have no problems with high
colour modes.
Could you send my your config file and /var/log/XFree86.0.log ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert



[Xpert]Matrox color problems

2002-10-16 Thread Ulrich Hobelmann

I've got a problem with my Matrox G200 card (8MB),
running NetBSD 1.6 with XF86 4.2.0 (driver mga).
I get the usual message(mga_hal missing, bla), but
since Matrox rearranged (uglified?) their website,
I can't download that driver. (Also installing binaries
as root is somewhat doubtful).

I've used the option NoHal in my config file, so the error
message disappears, but now I only have 8bit colordepth!
With XF86 3.3.6 using SVGA everything worked fine, so I'd
like to know how to activate that very mode in 4.2.0.
The desription claims to support all matrox stuff just like 3.3.6.

Best regards, Ulrich

___
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert