View previous topic :: View next topic |
Author |
Message |
TrAvELAr n00b
Joined: 02 Mar 2004 Posts: 25 Location: Baltimore, MD
|
Posted: Mon Mar 15, 2004 1:09 am Post subject: PGX32(Permedia2) video issues |
|
|
I've finally got XFree86 up and running on my U5 using a PGX32 video card with the glint drivers and I am having some issues with color. In 24 bit mode everything has a yellowish tint. In 16 bit mode, the entire color scheme is hosed. 8 bit mode is the only resolution in which I get the correct color scheme, tho it's a bit too low res for me. Has anybody gotten around this yellowish tint?
Attached is my XF86Config.
Code: |
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
# FontPath "unix/:7100"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "GLcore"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
# Option "AutoRepeat" "200 20"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:nocaps"
Option "XkbRules" "sun"
Option "XkbModel" "type5"
Option "XkbLayout" "us"
Option "XkbVariant" "basic"
#Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "BusMouse"
Option "Device" "/dev/sunmouse"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-82.0
VertRefresh 50.0-100.0
Option "dpms"
EndSection
Section "Device"
# no known options
Identifier "3Dlabs Permedia2 (generic)"
Driver "glint"
VendorName "3Dlabs Permedia2 (generic)"
BoardName "3Dlabs Permedia2 (generic)"
#BusID
EndSection
Section "Screen"
Identifier "Screen0"
Device "3Dlabs Permedia2 (generic)"
Monitor "Monitor0"
DefaultDepth 8
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600"
EndSubsection
EndSection
Section "DRI"
Mode 0666
EndSection
|
|
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
|
Back to top |
|
|
TrAvELAr n00b
Joined: 02 Mar 2004 Posts: 25 Location: Baltimore, MD
|
Posted: Tue Mar 23, 2004 5:42 pm Post subject: |
|
|
If anyone is interested, I recompiled glint_drv.o with support for the Permedia2 card. By default it already contains support for this card, but the color mappings are off on the Sparc platform. See the bug that Bazik posted for details.
This is for xfree-4.3.0-r5. To install, copy it to /usr/X11R6/lib/modules/drivers
glint_drv.o |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|