DataTracer
01-12-2007, 08:52 AM
I have a Compaq Presario S5020NX, which uses an Intel 82845G/GL onboard graphics processor. I have a cheapo NIKO-1906R 19" LCD monitor that I'm using with it and I can't get the desktop/screen to sit perfectly in the center.
I've used various Linux distros with the same setup without major problems, but I've been fooling around with PC-BSD for hours trying to get X11 to work correctly!
The system boots, and the intro splash screen is shifted about 1/2 inch to the left. Then when KDM comes up, same thing, about 1/2 inch to the left. I'm using 1280x1024 (optimal for my LCD) but when I switch to 1024x768 (which looks like crap) the screen is perfectly centered! The AutoAdjust button on my monitor also has no effect and keeps the screen shifted to the left.
I've tried numerous xorg.conf and XF86Config variations. I switched from the i810 driver to VESA and X wouldn't come up at all. I copied my monitor settings and modelines from another machine I use with the same monitor, but it's still off-center. I've run X -configure, and tested many times with Xorg -config '/root/xorg.conf.new'. I've deleted the XF86Config file and rebooted, but it comes back with a generic monitor line. After updating with what I think the monitor line should be and restarting X, it's still off-center. *sigh*
I've been a linux user since '95. I'm not a newbie but I'm also no expert when it comes to graphics drivers. Am I missing something here??? This is my first time trying BSD and it's driving me nuts! It looks like a nice system if I could just get the darn screen centered, lol.
Here's my current /etc/X11/xorg.conf
---------------------------------
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen[0]" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
DisplaySize 340 270
HorizSync 31-81
Identifier "Monitor[0]"
ModelName "1280X1024@75HZ"
VendorName "--> LCD"
VertRefresh 58-76
UseModes "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 136.57 1280 1368 1504 1728 1024 1025 1028 1068
Modeline "1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068
Modeline "1280x1024" 132.75 1280 1368 1504 1728 1024 1025 1028 1067
Modeline "1280x960" 128.13 1280 1368 1504 1728 960 961 964 1002
Modeline "1280x960" 126.27 1280 1368 1504 1728 960 961 964 1001
Modeline "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001
Modeline "1280x800" 105.78 1280 1360 1496 1712 800 801 804 835
Modeline "1280x800" 104.35 1280 1360 1496 1712 800 801 804 835
Modeline "1280x800" 102.80 1280 1360 1496 1712 800 801 804 834
Modeline "1152x864" 103.59 1152 1224 1352 1552 864 865 868 902
Modeline "1152x864" 102.08 1152 1224 1352 1552 864 865 868 901
Modeline "1152x864" 99.64 1152 1224 1344 1536 864 865 868 901
Modeline "1280x768" 101.60 1280 1360 1496 1712 768 769 772 802
Modeline "1280x768" 99.17 1280 1352 1488 1696 768 769 772 801
Modeline "1280x768" 97.81 1280 1352 1488 1696 768 769 772 801
Modeline "1024x768" 80.71 1024 1080 1192 1360 768 769 772 802
Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
Modeline "1024x768" 78.43 1024 1080 1192 1360 768 769 772 801
Modeline "1280x600" 77.82 1280 1344 1480 1680 600 601 604 626
Modeline "1280x600" 76.04 1280 1336 1472 1664 600 601 604 626
Modeline "1280x600" 75.00 1280 1336 1472 1664 600 601 604 626
Modeline "1024x600" 62.26 1024 1080 1184 1344 600 601 604 626
Modeline "1024x600" 61.42 1024 1080 1184 1344 600 601 604 626
Modeline "1024x600" 59.86 1024 1072 1176 1328 600 601 604 626
Modeline "800x600" 48.18 800 840 920 1040 600 601 604 626
Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626
Modeline "800x600" 46.87 800 840 920 1040 600 601 604 626
Modeline "768x576" 44.83 768 808 888 1008 576 577 580 601
Modeline "768x576" 43.52 768 800 880 992 576 577 580 601
Modeline "768x576" 42.93 768 800 880 992 576 577 580 601
Modeline "640x480" 30.25 640 664 728 816 480 481 484 501
Modeline "640x480" 29.84 640 664 728 816 480 481 484 501
Modeline "640x480" 29.43 640 664 728 816 480 481 484 501
EndSection
Section "Device"
### Available Driver options are:-
### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # [i]
#Option "CacheLines" # [i]
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # [i]
#Option "PageFlip" # [<bool>]
Identifier "Device[0]"
Driver "i810"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
I've used various Linux distros with the same setup without major problems, but I've been fooling around with PC-BSD for hours trying to get X11 to work correctly!
The system boots, and the intro splash screen is shifted about 1/2 inch to the left. Then when KDM comes up, same thing, about 1/2 inch to the left. I'm using 1280x1024 (optimal for my LCD) but when I switch to 1024x768 (which looks like crap) the screen is perfectly centered! The AutoAdjust button on my monitor also has no effect and keeps the screen shifted to the left.
I've tried numerous xorg.conf and XF86Config variations. I switched from the i810 driver to VESA and X wouldn't come up at all. I copied my monitor settings and modelines from another machine I use with the same monitor, but it's still off-center. I've run X -configure, and tested many times with Xorg -config '/root/xorg.conf.new'. I've deleted the XF86Config file and rebooted, but it comes back with a generic monitor line. After updating with what I think the monitor line should be and restarting X, it's still off-center. *sigh*
I've been a linux user since '95. I'm not a newbie but I'm also no expert when it comes to graphics drivers. Am I missing something here??? This is my first time trying BSD and it's driving me nuts! It looks like a nice system if I could just get the darn screen centered, lol.
Here's my current /etc/X11/xorg.conf
---------------------------------
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen[0]" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
Load "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
DisplaySize 340 270
HorizSync 31-81
Identifier "Monitor[0]"
ModelName "1280X1024@75HZ"
VendorName "--> LCD"
VertRefresh 58-76
UseModes "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 136.57 1280 1368 1504 1728 1024 1025 1028 1068
Modeline "1280x1024" 134.72 1280 1368 1504 1728 1024 1025 1028 1068
Modeline "1280x1024" 132.75 1280 1368 1504 1728 1024 1025 1028 1067
Modeline "1280x960" 128.13 1280 1368 1504 1728 960 961 964 1002
Modeline "1280x960" 126.27 1280 1368 1504 1728 960 961 964 1001
Modeline "1280x960" 124.54 1280 1368 1504 1728 960 961 964 1001
Modeline "1280x800" 105.78 1280 1360 1496 1712 800 801 804 835
Modeline "1280x800" 104.35 1280 1360 1496 1712 800 801 804 835
Modeline "1280x800" 102.80 1280 1360 1496 1712 800 801 804 834
Modeline "1152x864" 103.59 1152 1224 1352 1552 864 865 868 902
Modeline "1152x864" 102.08 1152 1224 1352 1552 864 865 868 901
Modeline "1152x864" 99.64 1152 1224 1344 1536 864 865 868 901
Modeline "1280x768" 101.60 1280 1360 1496 1712 768 769 772 802
Modeline "1280x768" 99.17 1280 1352 1488 1696 768 769 772 801
Modeline "1280x768" 97.81 1280 1352 1488 1696 768 769 772 801
Modeline "1024x768" 80.71 1024 1080 1192 1360 768 769 772 802
Modeline "1024x768" 79.52 1024 1080 1192 1360 768 769 772 801
Modeline "1024x768" 78.43 1024 1080 1192 1360 768 769 772 801
Modeline "1280x600" 77.82 1280 1344 1480 1680 600 601 604 626
Modeline "1280x600" 76.04 1280 1336 1472 1664 600 601 604 626
Modeline "1280x600" 75.00 1280 1336 1472 1664 600 601 604 626
Modeline "1024x600" 62.26 1024 1080 1184 1344 600 601 604 626
Modeline "1024x600" 61.42 1024 1080 1184 1344 600 601 604 626
Modeline "1024x600" 59.86 1024 1072 1176 1328 600 601 604 626
Modeline "800x600" 48.18 800 840 920 1040 600 601 604 626
Modeline "800x600" 47.53 800 840 920 1040 600 601 604 626
Modeline "800x600" 46.87 800 840 920 1040 600 601 604 626
Modeline "768x576" 44.83 768 808 888 1008 576 577 580 601
Modeline "768x576" 43.52 768 800 880 992 576 577 580 601
Modeline "768x576" 42.93 768 800 880 992 576 577 580 601
Modeline "640x480" 30.25 640 664 728 816 480 481 484 501
Modeline "640x480" 29.84 640 664 728 816 480 481 484 501
Modeline "640x480" 29.43 640 664 728 816 480 481 484 501
EndSection
Section "Device"
### Available Driver options are:-
### Values: [i]: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # [i]
#Option "CacheLines" # [i]
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # [i]
#Option "PageFlip" # [<bool>]
Identifier "Device[0]"
Driver "i810"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection