Can't change to 1024x768
I have a PowerPC Macintosh 8500. It uses onboard video (there is no
video card) with 2 MB of video RAM.
When I first configured xserver-xfree86, I selected 800x600 as the best
video mode, but included some higher resolutions. But after looking at
my desktop under X, I decided that I would rather use 1024x768.
I ran "dpkg-reconfigure xserver-xfree86" and selected 1024x768 as the
best video mode, but I still get 800x600. I removed the entries for the
resolutions higher than 1024x768.
I've also tried editing my XF86Config-4 manually, but I don't see where
it sets the default desktop size. I've tried grepping for 800 all over
the place and can't find where this is set.
When I boot my Mac under Mac OS, the resolution is set to 1024x768,
"thousands of colors" (15 or 16 bit) and 75Hz. I'm pretty sure that
when linux boots in console mode, the console framebuffer is at
1024x768.
How can I change to 1024x768? This used to work for me but I don't
think I kept my config file when I reinstalled.
Here's some relevant lines from my log file. Note that I get a virtual
size of 1024x768, but I don't want a virtual desktop that's a different
size from my real screen resolution.
(II) FBDev(0): using default device
(II) Running in FRAMEBUFFER Mode
(**) FBDev(0): Depth 15, (--) framebuffer bpp 16
(==) FBDev(0): RGB weight 555
(==) FBDev(0): Default visual is TrueColor
(==) FBDev(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDev(0): Hardware: control (vidmem: 2047k)
(II) FBDev(0): Checking Modes against framebuffer device...
(II) FBDev(0): mode "1024x768" ok
(II) FBDev(0): mode "800x600" ok
(II) FBDev(0): mode "640x480" ok
(II) FBDev(0): Checking Modes against monitor...
(--) FBDev(0): Virtual size is 1024x768 (pitch 1024)
(**) FBDev(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
(II) FBDev(0): Modeline "800x600" 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync
(**) FBDev(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz
(II) FBDev(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync
(++) FBDev(0): DPI set to (100, 100)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.1.0.1, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.1
(**) FBDev(0): Using "Shadow Framebuffer"
Here's my XF86Config-4 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" "macintosh"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Mac 8500 onboard video"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "ViewSonic"
HorizSync 30-60
VertRefresh 50-75
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Mac 8500 onboard video"
Monitor "ViewSonic"
DefaultDepth 15
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"
EndSection
Section "DRI"
Mode 0666
EndSection
### END DEBCONF SECTION
--
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
crawford@goingware.com
http://www.goingware.com/
Tilting at Windmills for a Better Tomorrow.
Reply to: