[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Screen resultion on i865G



Helge Tore Høyland wrote:

Måndag 4. april 2005 16:10 skreiv Chris Boot:
Hi all,

I've installed Sarge on a Dell Optiplex GX270 at work, and everything is
running great except I can't get a decent refresh rate in X. In windows
I could set the resolution to 1152x867 (or something like that) with a
76Hz refresh rate which was kind on my eyes and gave me a decent amount
of screen real-estate, but I can't seem to do this under X at all (nor
even get past 60Hz at 1024x768).

I'm using the i810 driver with agpgart and dri. I've tried with
ModeLines as detected by Knoppix (which also fails to work at a decent
res) and without (leaving X to auto-detect) without any difference. The
only thing in my XFree86.0.log that sheds any light is the lines:

(II) I810(0): Monitor EDID v2 checksum failed
(II) I810(0): XFree86_DDC_EDID2_RAWDATA property may be bad

lspci lists my graphics card as:
0000:00:02.0 VGA compatible controller: Intel Corp. 82865G Integrated
Graphics Device (rev 02)

My monitor is a Sun CM751U (or SUN0564 from DDC).

Does anyone have any ideas? I'll provide my complete XFree86.0.log or
whatever if need be.

Many thanks,
Chris

Below is my XF86Config-4:

# 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"
   Load    "vnc"
EndSection

Section "InputDevice"
   Identifier    "Generic Keyboard"
   Driver        "keyboard"
   Option        "CoreKeyboard"
   Option        "XkbRules"    "xfree86"
   Option        "XkbModel"    "pc105"
   Option        "XkbLayout"    "uk"
EndSection

Section "InputDevice"
   Identifier    "Configured Mouse"
   Driver        "mouse"
   Option        "CorePointer"
   Option        "Device"        "/dev/input/mice"
   Option        "Protocol"        "ImPS/2"
   Option        "Emulate3Buttons"    "false"
   Option        "ZAxisMapping"        "4 5"
EndSection

Section "Device"
   Identifier    "Generic Video Card"
   Driver        "i810"
EndSection

Section "Monitor"
   Identifier    "Generic Monitor"
       VendorName      "SUN"
       ModelName       "SUN0564"
#    HorizSync    30-60
#    VertRefresh    50-75
   Option        "DPMS"
EndSection

Section "Screen"
   Identifier    "Default Screen"
   Device        "Generic Video Card"
   Monitor        "Generic Monitor"
   DefaultDepth    24
   SubSection "Display"
       Depth        1
   EndSubSection
   SubSection "Display"
       Depth        4
   EndSubSection
   SubSection "Display"
       Depth        8
   EndSubSection
   SubSection "Display"
       Depth        15
   EndSubSection
   SubSection "Display"
       Depth        16
   EndSubSection
   SubSection "Display"
       Depth        24
   EndSubSection
   Option "passwordFile" "/root/.vnc/passwd"
EndSection

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

Section "DRI"
   Mode    0666
EndSection

--
Chris Boot
bootc@bootc.net
http://www.bootc.net/

This might be a soloution to your trouble.

Take a look at your XF86Conf-4, at the section "Screen". You have got the depths listed but you seems to not having the "modes" listed for the proeriate depths.

It sould look somthing like this:(the section in my XF86Conf-4)
"
Section "Screen"
Identifier "Default Screen"
Device  "GeForce 2 GTS"
Monitor  "___:ffff"
DefaultDepth 24
SubSection "Display"
 Depth  1
 Modes  "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  4
 Modes  "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
"

Swap my GeForce with your Generic Video Card and my ___:ffff with your Generic Screen.

Beware! If your screen was autodetected, as it looks like, you have got a low HorizSync and VertRefresh rate. I am a bit unsure, but my screen is 30-70(HS) and 50-120(VR) and I am not alowed to have more than 1280x1024 at 60Hz, neither in linux or windows. It looks like your Windows has gone a bit far if you have had 1152x867 at 76 Hz. Try 1024x768 at 72Hz(or a bit more). 72 Hz is the lower limit for your eye to registrating flickering. Everything above will look "solid".

Helge Tore Høyland
Hi Helge,

I *had* added the Modes lines before, but I took them out in case it wasn't exactly 1152x864. With them out the graphics settings can go all they way up to 1600x1200@60Hz, but that's positively tiny! ;-)

I tried fiddling with the VertRefresh / HorizSync and extended them to values I found by searching google for my monitor, especially since I found the following in my log:
(WW) I810(0): Generic Monitor: Using default hsync range of 28.00-33.00kHz
(WW) I810(0): Generic Monitor: using default vrefresh range of 43.00-72.00Hz

I added these values:
HorizSync       30.00-92.00
VertRefresh     40.00-130.00

I thought we were onto something but still no luck. Depite being properly detected (see log snippets below), they don't work.

Snippet 1:
(II) I810(0): Supported VESA Video Modes:
(II) I810(0): 720x400@70Hz
(II) I810(0): 720x400@88Hz
(II) I810(0): 640x480@60Hz
(II) I810(0): 640x480@67Hz
(II) I810(0): 640x480@72Hz
(II) I810(0): 640x480@75Hz
(II) I810(0): 800x600@56Hz
(II) I810(0): 800x600@60Hz
(II) I810(0): 800x600@72Hz
(II) I810(0): 800x600@75Hz
(II) I810(0): 832x624@75Hz
(II) I810(0): 1024x768@60Hz
(II) I810(0): 1024x768@70Hz
(II) I810(0): 1024x768@75Hz
(II) I810(0): 1280x1024@75Hz
(II) I810(0): 1152x870@75Hz
(II) I810(0): Manufacturer's mask: 0
(II) I810(0): Supported Future Video Modes:
(II) I810(0): #0: hsize: 1280  vsize 1024  refresh: 76  vid: 36993
(II) I810(0): #1: hsize: 1152  vsize 921  refresh: 76  vid: 36977
(II) I810(0): #2: hsize: 1280  vsize 1024  refresh: 67  vid: 34689
(II) I810(0): #3: hsize: 1152  vsize 921  refresh: 66  vid: 34417
(II) I810(0): #4: hsize: 1280  vsize 1024  refresh: 75  vid: 36737
(II) I810(0): #5: hsize: 1024  vsize 768  refresh: 75  vid: 20321
(II) I810(0): #6: hsize: 1280  vsize 1024  refresh: 76  vid: 36993
(II) I810(0): #7: hsize: 1600  vsize 1200  refresh: 75  vid: 20393
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 135.0 MHz   Image Size:  340 x 270 mm
(II) I810(0): h_active: 1280 h_sync: 1312 h_sync_end 1376 h_blank_end 1664 h_border: 0 (II) I810(0): v_active: 1024 v_sync: 1026 v_sync_end 1034 v_blanking: 1066 v_border: 0
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 108.0 MHz   Image Size:  340 x 270 mm
(II) I810(0): h_active: 1152 h_sync: 1184 h_sync_end 1312 h_blank_end 1504 h_border: 0 (II) I810(0): v_active: 900 v_sync: 902 v_sync_end 902 v_blanking: 943 v_border: 0
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 117.0 MHz   Image Size:  340 x 270 mm
(II) I810(0): h_active: 1280 h_sync: 1296 h_sync_end 1408 h_blank_end 1632 h_border: 0 (II) I810(0): v_active: 1024 v_sync: 1026 v_sync_end 1034 v_blanking: 1066 v_border: 0
(II) I810(0): Supported additional Video Mode:
(II) I810(0): clock: 94.5 MHz   Image Size:  340 x 270 mm
(II) I810(0): h_active: 1152 h_sync: 1192 h_sync_end 1320 h_blank_end 1528 h_border: 0 (II) I810(0): v_active: 900 v_sync: 902 v_sync_end 906 v_blanking: 937 v_border: 0
(II) I810(0): Monitor EDID v2 checksum failed
(II) I810(0): XFree86_DDC_EDID2_RAWDATA property may be bad
(II) I810(0): Monitor EDID v1 checksum passed,
(II) I810(0): XFree86_DDC_EDID1_RAWDATA property created

Snippet 2:
(II) I810(0): Generic Monitor: Using hsync range of 30.00-92.00 kHz
(II) I810(0): Generic Monitor: Using vrefresh range of 40.00-130.00 Hz
(II) I810(0): Not using mode "1152x900" (no mode of this name)
(II) I810(0): Not using mode "1152x864" (no mode of this name)
(II) I810(0): Not using built-in mode "1600x1200" (width too large for virtual size) (II) I810(0): Increasing the scanline pitch to allow tiling mode (1280 -> 2048).
(--) I810(0): Virtual size is 1280x1024 (pitch 2048)
(**) I810(0): *Built-in mode "1280x1024"
(**) I810(0): *Built-in mode "1024x768"
(**) I810(0): *Built-in mode "800x600"
(**) I810(0): *Built-in mode "640x480"
(II) I810(0): Attempting to use 85Hz refresh for mode "1280x1024" (58)
(II) I810(0): Attempting to use 85Hz refresh for mode "1024x768" (54)
(II) I810(0): Attempting to use 85Hz refresh for mode "800x600" (52)
(II) I810(0): Attempting to use 85Hz refresh for mode "640x480" (50)

At least now it seems I get a decent refresh rate (85Hz) at 1280x1024, which will do me just fine, but I don't actually know until I get to work tomorrow and have a real look. Would be nice to have 1152x864 though, since it's not too small...

Many thanks,
Chris

--
Chris Boot
boot@bootc.net



Reply to: