LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   debian display config (https://www.linuxquestions.org/questions/linux-hardware-18/debian-display-config-55827/)

teacup 04-19-2003 01:36 PM

debian display config
 
I used the tool dpkg-reconfigure xserver-xfree86 to set up my video settings. I told it to only use 800x600 as the resolution. It will only come up as 640x480. How do I fix this? Here is the config file:

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
# dpkg-reconfigure xserver-xfree86
# as root. Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "pex5"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
Load "xie"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Rage II"
Driver "ati"
Option "UseFBDev" "true"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28-33
VertRefresh 43-72
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Rage II"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

### END DEBCONF SECTION

macewan 04-19-2003 10:25 PM

"1024x768" in front of "800x600" as such


SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection

teacup 04-21-2003 12:03 AM

No... That doesn't work. Anyone else?

macewan 04-21-2003 02:53 PM

in redhat there is Xconfigurator or something like that
in debian you have dpkg-reconfigure xserver-xfree86

slack prob has something like this -

teacup 04-21-2003 03:19 PM

This isn't about slack... my computer with slackware is fine :)

The problem is configuring using dpkg-reconfigure xserver-xfree86. I told it to allow higher resolutions and it doesn't. I know my monitor is capable of higher resolutions and I had my video settings at 800x600 with 16 bit color in windows.

macewan 04-21-2003 03:37 PM

after resetting it are you seeing "1024x768" anywhere in the config file? is it being written ok?

teacup 04-21-2003 04:03 PM

Yes. It is being written in the xf86config-4 file.

macewan 04-21-2003 04:11 PM

go to irc.debian.org #debian and ask.

sorry to busy to help at the moment.

cuckoopint 04-21-2003 08:48 PM

check /var/log/XFree86.0.log and maybe ~/.xsession-errors

Try to see if the X server is reporting any conflicts.

teacup 04-21-2003 11:30 PM

/var/log/XFree86.0.log said my horizontal refresh rate was off. After some googling (no manual) I found my monitor (14" CTX CVP-5468NI) needed a horizontal refresh rate of 44.0-50.0 and a vertical refresh rate of 50.0-90.0. All supported resolutions now work correctly. Yeah!


All times are GMT -5. The time now is 07:20 PM.