PDA

View Full Version : [all variants] copying my xorg.conf from 7.10 to 8.04



Ragiast
April 30th, 2008, 01:28 AM
First of all, my situation

I'm writing this message on my Ubuntu 7.10.
I have a fresh install of Ubuntu 8.04 (I install it with the Kubuntu Remix DesktopCD, but install Gnome after 10 min) on another partition.

I have two nVidia Corporation GeForce 8500 GT.
The first one is for my screen and desktop use.
The second one is only for the television and MythTV. I plug my TV with an S-Video cable.
Its two separated X screen, with each own it's own Desktop. ( I have /home/me/Desktop and /home/me/Desktop1)
It works like a charm on my 7.10.
I run on the nVidia's driver with the help of envy script. (Cheers to :KS Alberto Milone :KS)


Then, what I want to know

Actually, I fear playing with my xorg.conf because in my local town' Install Fest, one guy told me that Ubuntu 8.04 doesnt handle xorg.conf the same way as in 7.10.

I try the nvidia-settings to change my configuration in 8.04, it actually see the Tivi, but I cant "activated" it. I check "use Separated X screen" and it does nothing. Anyway, the nvidia-settings aint the best way to play with the xorg server (personal opinion based only on my very own experience)

The new "Change resolution"'s gnome menu (displayconfig, I think) only show my LCD.

So can I just copy my xorg.conf from 7.10 to 8.04? :P

-------------

Personnal story: I found a big 27'' television set with a S-Video In in the garbage! I love being poor in a rich country. Now my mythtv set-up rocks :guitar: And I put on it a beautiful sticker "ubuntu linux for human being"

Ragiast
May 15th, 2008, 03:04 AM
THE ANSWER IS NO I cannot copy my xorg.conf from 7.10 to 8.04.

however, I learned some stuff while doing it.

I repeat my set-up
2 nVidia 8500GT
1 Acer AL1916w monitor
1 TV NTSC plug with S-Video.

The 8.04 xorg.conf is much much lighter than the 7.10's one.

This is the /etc/X11/xorg.conf from 7.10


# xorg.conf (xorg 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 "Files"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ca-fr"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

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

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Device"
Identifier "nVidia Corporation G80 [GeForce 8500 GT]"
Boardname "nv"
Busid "PCI:4:0:0"
Driver "nvidia"
Option "AddARGBVisuals" "True"
Option "AddARGBGLXVisuals" "True"
Option "NoLogo" "True"
# Screen 0
EndSection

Section "Device"
Identifier "nVidia Corporation G80 [GeForce 8500 GT]-1"
Boardname "nv"
Busid "PCI:2:0:0"
Driver "nvidia"
# Screen 1
Option "MonitorLayout" "TV,LFP"
Option "TVStandard" "NTFS-M”"
Option "TVOutFormat" "SVIDEO"# "COMPOSITE"
Option "ConnectedMonitor" "TV"
EndSection

Section "Monitor"
Identifier "AL1916W"
Modelname "Custom 1"

Gamma 1.0
EndSection

Section "Monitor"
Identifier "Television"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"

Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G80 [GeForce 8500 GT]"
Monitor "AL1916W"
Defaultdepth 24
Option "AddARGBGLXVisuals" "True"
Option "ConnectedMonitor" "DFP"
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection

Section "Screen"
Identifier "TV"
Device "nVidia Corporation G80 [GeForce 8500 GT]-1"
Monitor "Television"
Defaultdepth 24
SubSection "Display"
Depth 24
Modes "720x480"
EndSubSection
EndSection


Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" #0 0
screen 1 "TV" rightof "Default Screen"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection


Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Module"
Load "glx"
Load "v4l"
EndSection
#Section "ServerFlags"
# Option "Xinerama" "true"
#EndSection


And now my working /etc/X11/xorg.conf from Ubuntu 8.04

(remember: backup)


# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Wed Sep 12 14:29:17 PDT 2007

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
#
# Edit this file with caution, and see the xorg.conf(5) 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 "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
screen 1 "Screen1" rightof "Default Screen"
EndSection



# ----------------------------- Screen --------------------

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Option "AddARGBGLXVisuals" "True"
DefaultDepth 24

EndSection

Section "Screen"
Identifier "Screen1"
Monitor "Television"
Device "Device1"
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
DefaultDepth 24
EndSection




# ------------------------------Device --------------------

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BusID "PCI:4:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
BusID "PCI:2:0:0"
Option "UseDisplayDevice" "TV"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "TV"
EndSection

# ---

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "ca"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

# ------------------ Monitor -----------------------

Section "Monitor"
Identifier "Configured Monitor"

EndSection

Section "Monitor"
Identifier "Television" #TV

EndSection




Section "Extensions"
Option "Composite" "Enable"
EndSection


dont forget do change the BUSID, the keyboard input, the tv resolution, etc

question? :)