Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old May 2nd, 2007   #1
super7
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 6
almost perfect: feisty+fglrx+dualhead+xinerama

hello,

it almost works perfectly, finally unfortunately when I want to switch to a console from X (Ctrl-Alt-F1) or try to shut down my pc hangs with garbled screen. I'm afraid it ruins my installation somehow sometime when I could not shutdown properly ... in case anybody wants to know (I tried so many how-tos so currenty I don't know if it already well known how to get fglrx + dualhead + xinerama with, in my case a ati X200M onboard card:

1) installed and build fglrx module out of the newest (8.36.5) ati driver package, imho all howtos are more or less the same, mine was: http://wiki.cchtml.com/index.php/Ubu...allation_Guide )
2) aticonfig --initial=dual-head --screen-layout=right (see aticonfig --help | less for details)
3) aticonfig --overlay-type=Xv
4) manually added Option "Xinerama" "true" into the ServerLayout Section.
5) added the following code to the end of the /etc/X11/xorg.conf file (without effect as far as I could find out)
Code:
Section "Extensions"
        Option "Composite" "false"
EndSection



my xorg.conf:

Code:
# /etc/X11/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(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      0  "aticonfig-Screen[0]" 0 0
	Screen         "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
	Option "Xinerama" "true"
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	InputDevice    "stylus" "SendCoreEvents"
	InputDevice    "cursor" "SendCoreEvents"
	InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

	# path to defoma fonts
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "vbe"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "de"
	Option	    "XkbVariant" "deadacute"
	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"

							# /dev/input/event
							# for USB
	Identifier  "stylus"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"	# Change to 
	Option	    "Type" "stylus"
	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"

							# /dev/input/event
							# for USB
	Identifier  "eraser"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"	# Change to 
	Option	    "Type" "eraser"
	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"

							# /dev/input/event
							# for USB
	Identifier  "cursor"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"	# Change to 
	Option	    "Type" "cursor"
	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	HorizSync    28.0 - 84.0
	VertRefresh  43.0 - 60.0
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[1]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	HorizSync   30-96
	VertRefresh 50-160
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	BusID       "PCI:1:5:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[1]"
	Driver      "fglrx"
	BusID       "PCI:1:5:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1680x1050"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[1]"
	Device     "aticonfig-Device[1]"
	Monitor    "aticonfig-Monitor[1]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes "1280x1024"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option "Composite" "false"
EndSection
if I comment the Option "Xinerama" stuff (which probably isn't intended for the fglrx drivers) I get a dual-screen but can't move windows to and forth ... can anybody help? Is there a secure way to logout my session before the X server crashes (I can logout but then happens the same as if I try to shutdown or to reboot ...)
super7 is offline   Reply With Quote
Old May 2nd, 2007   #2
super7
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 6
Re: almost perfect: feisty+fglrx+dualhead+xinerama

probably I solved it myself:
I added the following to the first device section:
Option "DesktopSetup" "horizontal"
using so aticonfig --desktop-setup=horizontal
(I had to change the serverlayout section to the previous state because aticonfig changed it ...)
so the device section looks like:

Code:
Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	Option	    "DesktopSetup" "horizontal"
	BusID       "PCI:1:5:0"
EndSection
so the whole xorg.conf:
Code:
# /etc/X11/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(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      0  "aticonfig-Screen[0]" 0 0
	Screen         "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
	InputDevice    "stylus" "SendCoreEvents"
	InputDevice    "cursor" "SendCoreEvents"
	InputDevice    "eraser" "SendCoreEvents"
	Option	    "Xinerama" "true"
EndSection

Section "Files"

	# path to defoma fonts
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load  "i2c"
	Load  "bitmap"
	Load  "ddc"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	Load  "glx"
	Load  "int10"
	Load  "vbe"
EndSection

Section "InputDevice"
	Identifier  "Generic Keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "de"
	Option	    "XkbVariant" "deadacute"
	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"

							# /dev/input/event
							# for USB
	Identifier  "stylus"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"	# Change to 
	Option	    "Type" "stylus"
	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"

							# /dev/input/event
							# for USB
	Identifier  "eraser"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"	# Change to 
	Option	    "Type" "eraser"
	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"

							# /dev/input/event
							# for USB
	Identifier  "cursor"
	Driver      "wacom"
	Option	    "Device" "/dev/wacom"	# Change to 
	Option	    "Type" "cursor"
	Option	    "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	HorizSync    28.0 - 84.0
	VertRefresh  43.0 - 60.0
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[1]"
	HorizSync    30.0 - 96.0
	VertRefresh  50.0 - 160.0
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	Option	    "DesktopSetup" "horizontal"
	BusID       "PCI:1:5:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[1]"
	Driver      "fglrx"
	BusID       "PCI:1:5:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1680x1050"
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[1]"
	Device     "aticonfig-Device[1]"
	Monitor    "aticonfig-Monitor[1]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1280x1024"
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
#	Option	    "Composite" "true"
EndSection
now it seems to work, yes! so if I could help anybody getting this to work it makes me happy.
super7 is offline   Reply With Quote
Old May 2nd, 2007   #3
ashgromnies
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 15
Re: almost perfect: feisty+fglrx+dualhead+xinerama

thanks man i think this might help me, i was having issues but didn't know about ati-config




So, yea. Ubuntu brought up this "HEY THERE ARE DRIVERS AVAILABLE!" message, so I said "COOL!" and let it do its thing.

After restarting Metacity...

ps -C metacity -o pid= | xargs sudo kill -1

I was greeted by a second monitor that no longer functioned as a second screen, but now as a duplicate of the primary. Fuuuuck.

Rebooted Xorg and the same thing was going on.

I looked in my xorg.conf and that ******* had changed it!

I noticed it changed the driver="ati" in the second screen to driver="fglrx". Nuts. I change it back to ati, restart Xorg...

Now it shows nothing. Uhoh.

So I change the driver to fglrx for each screen and end up having the monitors both working like they should, but now when I bring my mouse cursor into the second monitor, it appears as a big distorted square.

How do I fix that?
ashgromnies is offline   Reply With Quote
Old May 6th, 2007   #4
the_joker
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 19
Re: almost perfect: feisty+fglrx+dualhead+xinerama

I managed to get the dual-head displays working on my Radeon 9800 in Feisty using this guide, however when I attempt to load my Gnome-XGL sesssion, I receive the following error:

Xlib: extension xfree86-dri missing on display ":0.0"
Fatal server error
No screens found
(Gnome-session-9833): glx-warning **: cannot open display: [no more test after this. Don't know what display it is referring to]

I've since reverted to a clone display - I'd prefer to have Beryl working at this point, although of course I'd prefer to have dual-head *and* Beryl
the_joker is offline   Reply With Quote
Old May 7th, 2007   #5
BionicSeahorse
5 Cups of Ubuntu
 
BionicSeahorse's Avatar
 
Join Date: Mar 2007
Beans: 20
Kubuntu 9.10 Karmic Koala
Re: almost perfect: feisty+fglrx+dualhead+xinerama

Quote:
Originally Posted by the_joker View Post
I managed to get the dual-head displays working on my Radeon 9800 in Feisty using this guide, however when I attempt to load my Gnome-XGL sesssion, I receive the following error:

Xlib: extension xfree86-dri missing on display ":0.0"
Fatal server error
No screens found
(Gnome-session-9833): glx-warning **: cannot open display: [no more test after this. Don't know what display it is referring to]

I've since reverted to a clone display - I'd prefer to have Beryl working at this point, although of course I'd prefer to have dual-head *and* Beryl
Try commenting out the following line in your /etc/X11/xorg.conf file:

Code:
Section "ServerLayout"
    # Option  Xinerama  "true"
EndSection
Taking that line out gave me my Xgl session back. Hope that helps!

Last edited by BionicSeahorse; May 7th, 2007 at 02:39 AM..
BionicSeahorse is offline   Reply With Quote
Old May 7th, 2007   #6
jago25_98
A Carafe of Ubuntu
 
Join Date: Jan 2005
Beans: 109
Re: almost perfect: feisty+fglrx+dualhead+xinerama

I use a laptop with docking station plugged into VGA external monitor.

Is there not something to help detect that external monitor and utilize it without restarting X?
jago25_98 is offline   Reply With Quote
Old May 8th, 2007   #7
the_joker
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 19
Re: almost perfect: feisty+fglrx+dualhead+xinerama

Quote:
Originally Posted by BionicSeahorse View Post
Try commenting out the following line in your /etc/X11/xorg.conf file:

Code:
Section "ServerLayout"
    # Option  Xinerama  "true"
EndSection
Taking that line out gave me my Xgl session back. Hope that helps!
Thanks for the advise. Disabling that line allowed XGL and Beryl to work as normal, however, now I have lost my second screen!

The monitor display is black, with no background that I can see. When I move the mouse over it, I can see a black cross (I think this is the standard X cursor). When I attempt to move a window to it, half of the window disappears on the side of the screen, but does not appear on the other display. I've also noticed that the further I attempt to move the window to the other display, it simply makes the window move *up* the side of the monitor.
the_joker is offline   Reply With Quote
Old May 8th, 2007   #8
Ziox
Grande Half-n-Half Cinnamon Ubuntu
 
Ziox's Avatar
 
Join Date: Jul 2006
Location: Pittsburgh, PA
Beans: 924
Ubuntu 7.04 Feisty Fawn
Send a message via AIM to Ziox
Re: almost perfect: feisty+fglrx+dualhead+xinerama

Xinerama DISABLES direct rendering. Do not use it unless you DON'T HAVE a nVidia, ATI, Matrox card. If you want a guide, check my signature for dual monitors and check out the Big Desktop thread.
Ziox is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:14 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry