Find the answer to your Linux question:
Results 1 to 4 of 4
Hi! I just installed Debian on an old pc. Afterwards I installed XFree86 and Gnome, I can start X, but for some reason I can't change my resolution to 1024x768. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    2

    XFree86 resolution problem


    Hi!
    I just installed Debian on an old pc.
    Afterwards I installed XFree86 and Gnome, I can start X, but for some reason I can't change my resolution to 1024x768.

    I'm fairly sure that the HorizSync and VertRefresh are set correctly.

    This is my XF86Config-4:
    Code:
    # XF86Config-4 (XFree86 X Window System server configuration file)
    #
    # This file was 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.)
    #
    # This file is automatically updated on xserver-xfree86 package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xfree86
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following commands as root:
    #
    #   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
    #   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
    #   dpkg-reconfigure xserver-xfree86
    
    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/CID"
    	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	"record"
    	Load	"speedo"
    	Load	"type1"
    	Load	"vbe"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Generic Keyboard"
    	Driver		"keyboard"
    	Option		"CoreKeyboard"
    	Option		"XkbRules"	"xfree86"
    	Option		"XkbModel"	"pc105"
    	Option		"XkbLayout"	"dk"
    EndSection
    
    Section "InputDevice"
    	Identifier	"Configured Mouse"
    	Driver		"mouse"
    	Option		"CorePointer"
    	Option		"Device"		"/dev/psaux"
    	Option		"Protocol"		"ImPS/2"
    	Option		"Emulate3Buttons"	"true"
    	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		"Emulate3Buttons"	"true"
    	Option		"ZAxisMapping"		"4 5"
    EndSection
    
    Section "Device"
    	Identifier	"Chips and Technologies F65555 HiQVPro"
    	Driver		"chips"
    	BusID		"PCI:2:10:0"
    	VideoRam	4096
    EndSection
    
    Section "Monitor"
    	Identifier	"Standard Skærm"
    	HorizSync	28-49
    	VertRefresh	43-72
    	Option		"DPMS"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"Chips and Technologies F65555 HiQVPro"
    	Monitor		"Standard Skærm"
    	DefaultDepth	24
    	SubSection "Display"
    		Depth		1
    		Modes		"1024x768" "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		4
    		Modes		"1024x768" "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		8
    		Modes		"1024x768" "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		15
    		Modes		"1024x768" "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		16
    		Modes		"1024x768" "800x600" "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth		24
    		Modes		"1024x768" "800x600" "640x480"
    	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
    And this is my XFree86.0.log.

    I'm new to linux, so it would'nt surprise me if I made some odd mistake when I configured X.

    Also I tried using the Ubunto Live CD, and everything works fine from that.

    I followed this guide, when I installed X, I know it's in danish, but you can see the commands I used in it.

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    I suggest you try DefaultDepth 16 instead of the default 24.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    2
    Thanks, that worked
    Can't believe it was that simple

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Glad it worked.

    Some cards don't support higher resolutions when using 24 bits colors. Anyway 16 bits depth makes no noticeable aesthetic difference, and it's much faster.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •