Re: xorg.conf hell...
- From: Chris van Es <cvanes@xxxxxxxxx>
- Date: Fri, 29 Aug 2008 00:21:45 +0100
Your xorg.conf file looks a little bare because as of hardy the focus
has been to remove the need for lots of manual xorg configuration and
replace it with gui functionality. I haven't looked into this too much
yet but as far as I'm aware manually editing the file should still
produce the same results. I've provided an example of a simple xorg
configuration which could be a good basis to start from. I can't
guarantee it will work for you, there always needs to be some tweaking
done. The ServerLayout section is most likely the area you will need to
play with, depending on how you want your dual display setup can be
determined in one line within this section.
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades
*only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically
updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Module"
## I'm unsure what I used for this section, I don't think it matters too
much for the task you're trying to achieve
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "Device"
Identifier "device0"
#substitute for the correct address for your hardware
Busid "PCI:X:X:X"
Driver "i810"
Screen 0
EndSection
Section "Device"
Identifier "device1"
#substitute for the correct address for your hardware
Busid "PCI:X:X:X"
Driver "nvidia" # or nvidia-new, nvidia-legacy etc. depending
on your hardware (can't remember the driver names now so they may be
wrong, a bit of research on what best supports your hardware will make
this much easier)
Screen 1
EndSection
Section "Screen"
Identifier "screen0"
Device "device0"
Defaultdepth 24
Monitor "monitor0"
Device "device0"
#everything below should be set to your own specifications
SubSection "Display"
Depth 24
Modes "640x480@60" "640x480@72" "640x480@75"
"800x600@56" "800x600@72" "800x600@75" "800x600@60"
"832x624@75" "1024x768@75" "1024x768@70" "1024x768@60"
"1152x864@75" "1280x1024@75" "1280x960@60" "1280x1024@60"
"1280x960@75" "1400x1050@60" "1600x1200@65" "1600x1200@60"
EndSubSection
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
Device "device1"
#everything below should be set to your own specifications
SubSection "Display"
Depth 24
Modes "640x480@60" "640x480@72" "640x480@75"
"800x600@56" "800x600@72" "800x600@75" "800x600@60"
"832x624@75" "1024x768@75" "1024x768@70" "1024x768@60"
"1152x864@75" "1280x1024@75" "1280x960@60" "1280x1024@60"
"1280x960@75" "1400x1050@60" "1600x1200@65" "1600x1200@60"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor0"
Vendorname "Samsung"
Modelname "Samsung SyncMaster 730B (Analog)"
Horizsync 30-81
Vertrefresh 56-75
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync
-hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync
-hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync
-hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync
+vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync
+vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync
+vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync
+vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync
-hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800
+hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806
-vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806
-vsync -hsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900
+hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066
+hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994
-hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066
+hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002
-hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054
1087 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250
+hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250
+hsync +vsync
Gamma 1.0
EndSection
Section "monitor" #
Identifier "monitor1"
Vendorname "Samsung"
Modelname "Samsung SyncMaster 730B (Analog)"
Horizsync 30-81
Vertrefresh 56-75
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync
-hsync
modeline "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync
-hsync
modeline "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync
-hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync
+vsync
modeline "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync
+vsync
modeline "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync
+vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync
+vsync
modeline "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync
-hsync
modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800
+hsync +vsync
modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806
-vsync -hsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806
-vsync -hsync
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900
+hsync +vsync
modeline "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066
+hsync +vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994
-hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066
+hsync +vsync
modeline "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002
-hsync +vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054
1087 -hsync +vsync
modeline "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250
+hsync +vsync
modeline "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250
+hsync +vsync
Gamma 1.0
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "screen0" "screen1"
EndSection
On Wed, 2008-08-27 at 17:34 -0700, Leonard Chatagnier wrote:
--- Denis Haskin <denis@xxxxxxxxxxxxxxxxxx> wrote:
Ok, I was incorrect that the xorg.conf I postedlsmod | grep <chip name or ID> or just lsmod and scan
earlier was from
dpkg-reconfigure xserver-xorg; I don't think it was.
So I booted to recovery mode, renamed my xorg.conf,
and ran
dpkg-reconfigure -phigh xserver-xorg.
That gives me an xorg.conf that seems to have no
device/driver/monitor-specific details in it (see
below), but it *does*
recognize the correct mfr+model of my primary
monitor, gives me all the
resolutions I expect, and as far as I know is using
the right driver for
the onboard intel chip (how can I confirm that?).
the list for your driver. But if uour onboard graphics
is working that's a confirmation you have the correct
driver, IMO.
So now, starting from this workable point, tips onDid you ever try the nvidia-glx-new-envy driver as I
getting the nvidia
card to work, and the 2nd monitor attached to it?
mentioned below. It's what worked for me. You might
try turning off the monitor using your onboard video,
with the monitor using the nvidia card left on, and do
nvedia-xconfig and if that fails do from recovery mode
selecting xfix. I haven't done dual monitors yet so
someone with that experience feel free to chime in.
Before when I ran nvidia-xconfig, it left me with aUnless you had an error on the install, I doubt there
bad xorg.conf (I
think that may have been the one I posted earlier; I
can try it again).
Maybe I should remove all the nvidia-glx stuff and
reinstall from
repository?
is a problem; but do install teh new envy driver. My
xorg.conf is just like yours and my xorg.config, the
nvodia-xconfig file has this:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
This loads the nvodia proprietary driver that you
want. I believe that it uses the last driver that you
downloaded or else I'm not using teh new-envy driver
either. If you want teh high resolution nvidia drivers
make sure it say "nvidia" and not "nv". HTH, and
someone experienced with dual m onitor setup feel free
to jump on board.
Thanks!https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
# xorg.conf (X.Org 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 xorg.conf
manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg
package upgrades *only*
# if it has not been modified since the last upgrade
of the xserver-xorg
# package.
#
# If you have edited this file but would like it to
be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
Leonard Chatagnier wrote:
FWIW, YMMV, I have an nVidia Corporation G71[GeForce
7300 GS] (rev a1) card and had to use therecovery
nvidia-glx-new-envy driver to get my LG 226WTQS BF
Flatron Wide lcd monitor to work in it's native
resolution of 1680x1050. Also had to boot in
mode and select xfix a few times before it allsorted
out after reinstalling the new-envy driver.Wouldn't
hurt to try the nvidia-glx-new-envy driver to seeif
it fixes your issue. One caveat, I'm only usingthe
one monitor.
HTH,
Leonard Chatagnier
lenc5570@xxxxxxxxxxxxx
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at:
Leonard Chatagnier
lenc5570@xxxxxxxxxxxxx
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- References:
- Re: xorg.conf hell...
- From: Leonard Chatagnier
- Re: xorg.conf hell...
- Prev by Date: Re: books on ubuntu linux
- Next by Date: Re: GRUB ?
- Previous by thread: Re: xorg.conf hell...
- Next by thread: ram
- Index(es):
Relevant Pages
|