PDA

View Full Version : Xorg Problems



Dannz
21-10-2005, 09:41 AM
I have just re-installed gentoo linux - i have emerged kde and xorg and for some reason now - im being told that my gfx card (which is onboard and is only 1-2 months old) cant support 16bit colour depth!

My Xorg.conf


# ************************************************** ********************
# Monitor section
# ************************************************** ********************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 57.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-100

EndSection


# ************************************************** ********************
# Graphics device section
# ************************************************** ********************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
Identifier "My Video Card"
Driver "vga"
# unsupported card
#VideoRam 64000
# Insert Clocks lines here if appropriate
EndSection


# ************************************************** ********************
# Screen sections
# ************************************************** ********************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "My Video Card"
Monitor "My Monitor"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Myth
21-10-2005, 09:44 AM
It would help us to know what video chipset you are using :)
Im picking you havent compiled the driver into the kernel
Run pciutils to see what graphics chipset you are using, then look for it and add it into the kernel compile

Dannz
21-10-2005, 09:53 AM
It would help us to know what video chipset you are using :)
Im picking you havent compiled the driver into the kernel
Run pciutils to see what graphics chipset you are using, then look for it and add it into the kernel compile

Its a SiS Chip (661/741/760/761 - according to lspci) - ive compilied it into my kernel but im still getting the same error

Myth
21-10-2005, 10:11 AM
Read this... (http://www.winischhofer.at/linuxsispart1.shtml)

Google is your friend :)

Dannz
21-10-2005, 10:59 AM
The driver is installed and in my xorg.conf and im still getting the same error

Dannz
21-10-2005, 05:05 PM
Problem solved - i just booted into a live cd that used Xorg 6.8.2 and copied the config file across.

Thankyou to Tazz for you help