LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 11-11-2007, 02:47 PM   #1
charlesreid1
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Rep: Reputation: 0
Unhappy Problem with aticonfig setting up second monitor


Hi,

I'm trying to set up a 2nd monitor for my laptop runinng Xubuntu and I'm having all kinds of headaches (no surprise there). Here is all the info on my setup:
Xubuntu, kernel vers 2.6.22-14
HP Pavillion zv6000, AMD 64 processor, ATI Radeon XPRESS 200M vid card
External Monitor: Proview WDBi

First, I run aticonfig from terminal to see how aticonfig is supposed to be used. Next, I run:

Code:
charles@laptop:~$ sudo aticonfig --initial=dual-head --screen-layout=right
Which returns:

Code:
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-7
*** glibc detected *** aticonfig: munmap_chunk(): invalid pointer: 0x00007fff898b49df ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1b6)[0x2acb2203c826]
aticonfig[0x4148ed]
aticonfig[0x414849]
aticonfig[0x40c6e5]
aticonfig(XOpenDisplay+0x2bd)[0x402485]
aticonfig(XOpenDisplay+0x141)[0x402309]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2acb21fe4b44]
aticonfig(XOpenDisplay+0x62)[0x40222a]
======= Memory map: ========
00400000-00420000 r-xp 00000000 03:03 4456917                            /usr/bin/aticonfig
00520000-00526000 rw-p 00020000 03:03 4456917                            /usr/bin/aticonfig
00526000-00547000 rw-p 00526000 00:00 0                                  [heap]
2acb211f5000-2acb21212000 r-xp 00000000 03:03 3407884                    /lib/ld-2.6.1.so
2acb21212000-2acb21216000 rw-p 2acb21212000 00:00 0 
2acb21411000-2acb21413000 rw-p 0001c000 03:03 3407884                    /lib/ld-2.6.1.so
2acb21413000-2acb2141a000 r-xp 00000000 03:03 4457799                    /usr/lib/libXrandr.so.2.1.0
2acb2141a000-2acb21619000 ---p 00007000 03:03 4457799                    /usr/lib/libXrandr.so.2.1.0
2acb21619000-2acb2161a000 rw-p 00006000 03:03 4457799                    /usr/lib/libXrandr.so.2.1.0
2acb2161a000-2acb21623000 r-xp 00000000 03:03 4457801                    /usr/lib/libXrender.so.1.3.0
2acb21623000-2acb21822000 ---p 00009000 03:03 4457801                    /usr/lib/libXrender.so.1.3.0
2acb21822000-2acb21823000 rw-p 00008000 03:03 4457801                    /usr/lib/libXrender.so.1.3.0
2acb21823000-2acb21834000 r-xp 00000000 03:03 4457779                    /usr/lib/libXext.so.6.4.0
2acb21834000-2acb21a33000 ---p 00011000 03:03 4457779                    /usr/lib/libXext.so.6.4.0
2acb21a33000-2acb21a34000 rw-p 00010000 03:03 4457779                    /usr/lib/libXext.so.6.4.0
2acb21a34000-2acb21b3e000 r-xp 00000000 03:03 4457758                    /usr/lib/libX11.so.6.2.0
2acb21b3e000-2acb21d3e000 ---p 0010a000 03:03 4457758                    /usr/lib/libX11.so.6.2.0
2acb21d3e000-2acb21d45000 rw-p 0010a000 03:03 4457758                    /usr/lib/libX11.so.6.2.0
2acb21d45000-2acb21d46000 rw-p 2acb21d45000 00:00 0 
2acb21d46000-2acb21dc6000 r-xp 00000000 03:03 3408485                    /lib/libm-2.6.1.so
2acb21dc6000-2acb21fc5000 ---p 00080000 03:03 3408485                    /lib/libm-2.6.1.so
2acb21fc5000-2acb21fc7000 rw-p 0007f000 03:03 3408485                    /lib/libm-2.6.1.so
2acb21fc7000-2acb22119000 r-xp 00000000 03:03 3408481                    /lib/libc-2.6.1.so
2acb22119000-2acb22318000 ---p 00152000 03:03 3408481                    /lib/libc-2.6.1.so
2acb22318000-2acb2231b000 r--p 00151000 03:03 3408481                    /lib/libc-2.6.1.so
2acb2231b000-2acb2231d000 rw-p 00154000 03:03 3408481                    /lib/libc-2.6.1.so
2acb2231d000-2acb22322000 rw-p 2acb2231d000 00:00 0 
2acb22322000-2acb22324000 r-xp 00000000 03:03 4457764                    /usr/lib/libXau.so.6.0.0
2acb22324000-2acb22523000 ---p 00002000 03:03 4457764                    /usr/lib/libXau.so.6.0.0
2acb22523000-2acb22524000 rw-p 00001000 03:03 4457764                    /usr/lib/libXau.so.6.0.0
2acb22524000-2acb22525000 rw-p 2acb22524000 00:00 0 
2acb22525000-2acb2252a000 r-xp 00000000 03:03 4457775                    /usr/lib/libXdmcp.so.6.0.0
2acb2252a000-2acb22729000 ---p 00005000 03:03 4457775                    /usr/lib/libXdmcp.so.6.0.0
2acb22729000-2acb2272a000 rw-p 00004000 03:03 4457775                    /usr/lib/libXdmcp.so.6.0.0
2acb2272a000-2acb2272c000 r-xp 00000000 03:03 3408484                    /lib/libdl-2.6.1.so
2acb2272c000-2acb2292c000 ---p 00002000 03:03 3408484                    /lib/libdl-2.6.1.so
2acb2292c000-2acb2292e000 rw-p 00002000 03:03 3408484                    /lib/libdl-2.6.1.so
2acb2292e000-2acb22930000 rw-p 2acb2292e000 00:00 0 
2acb22930000-2acb2293d000 r-xp 00000000 03:03 3407938                    /lib/libgcc_s.so.1
2acb2293d000-2acb22b3d000 ---p 0000d000 03:03 3407938                    /lib/libgcc_s.so.1
2acb22b3d000-2acb22b3e000 rw-p 0000d000 03:03 3407938                    /lib/libgcc_s.so.1
7fff898a0000-7fff898b5000 rw-p 7fff898a0000 00:00 0                      [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vdso]
Aborted (core dumped)
and if I try initializing WITHOUT the dual-head option, I get the same thing:

Code:
charles@laptop:~$ aticonfig --initial
Which returns:

Code:
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-6
aticonfig: Writing to '/etc/X11/xorg.conf' failed. Bad file descriptor.
charles@laptop:~$ sudo aticonfig --initial
Uninitialised file found, configuring.
Using /etc/X11/xorg.conf
Saved back-up to /etc/X11/xorg.conf.original-6
*** glibc detected *** aticonfig: munmap_chunk(): invalid pointer: 0x00007fffc6b4f9ff ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1b6)[0x2b38e4da0826]
aticonfig[0x4148ed]
aticonfig[0x414849]
aticonfig[0x40c6e5]
aticonfig(XOpenDisplay+0x2bd)[0x402485]
aticonfig(XOpenDisplay+0x141)[0x402309]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2b38e4d48b44]
aticonfig(XOpenDisplay+0x62)[0x40222a]
======= Memory map: ========
00400000-00420000 r-xp 00000000 03:03 4456917                            /usr/bin/aticonfig
00520000-00526000 rw-p 00020000 03:03 4456917                            /usr/bin/aticonfig
00526000-00547000 rw-p 00526000 00:00 0                                  [heap]
2b38e3f59000-2b38e3f76000 r-xp 00000000 03:03 3407884                    /lib/ld-2.6.1.so
2b38e3f76000-2b38e3f7a000 rw-p 2b38e3f76000 00:00 0 
2b38e4175000-2b38e4177000 rw-p 0001c000 03:03 3407884                    /lib/ld-2.6.1.so
2b38e4177000-2b38e417e000 r-xp 00000000 03:03 4457799                    /usr/lib/libXrandr.so.2.1.0
2b38e417e000-2b38e437d000 ---p 00007000 03:03 4457799                    /usr/lib/libXrandr.so.2.1.0
2b38e437d000-2b38e437e000 rw-p 00006000 03:03 4457799                    /usr/lib/libXrandr.so.2.1.0
2b38e437e000-2b38e4387000 r-xp 00000000 03:03 4457801                    /usr/lib/libXrender.so.1.3.0
2b38e4387000-2b38e4586000 ---p 00009000 03:03 4457801                    /usr/lib/libXrender.so.1.3.0
2b38e4586000-2b38e4587000 rw-p 00008000 03:03 4457801                    /usr/lib/libXrender.so.1.3.0
2b38e4587000-2b38e4598000 r-xp 00000000 03:03 4457779                    /usr/lib/libXext.so.6.4.0
2b38e4598000-2b38e4797000 ---p 00011000 03:03 4457779                    /usr/lib/libXext.so.6.4.0
2b38e4797000-2b38e4798000 rw-p 00010000 03:03 4457779                    /usr/lib/libXext.so.6.4.0
2b38e4798000-2b38e48a2000 r-xp 00000000 03:03 4457758                    /usr/lib/libX11.so.6.2.0
2b38e48a2000-2b38e4aa2000 ---p 0010a000 03:03 4457758                    /usr/lib/libX11.so.6.2.0
2b38e4aa2000-2b38e4aa9000 rw-p 0010a000 03:03 4457758                    /usr/lib/libX11.so.6.2.0
2b38e4aa9000-2b38e4aaa000 rw-p 2b38e4aa9000 00:00 0 
2b38e4aaa000-2b38e4b2a000 r-xp 00000000 03:03 3408485                    /lib/libm-2.6.1.so
2b38e4b2a000-2b38e4d29000 ---p 00080000 03:03 3408485                    /lib/libm-2.6.1.so
2b38e4d29000-2b38e4d2b000 rw-p 0007f000 03:03 3408485                    /lib/libm-2.6.1.so
2b38e4d2b000-2b38e4e7d000 r-xp 00000000 03:03 3408481                    /lib/libc-2.6.1.so
2b38e4e7d000-2b38e507c000 ---p 00152000 03:03 3408481                    /lib/libc-2.6.1.so
2b38e507c000-2b38e507f000 r--p 00151000 03:03 3408481                    /lib/libc-2.6.1.so
2b38e507f000-2b38e5081000 rw-p 00154000 03:03 3408481                    /lib/libc-2.6.1.so
2b38e5081000-2b38e5086000 rw-p 2b38e5081000 00:00 0 
2b38e5086000-2b38e5088000 r-xp 00000000 03:03 4457764                    /usr/lib/libXau.so.6.0.0
2b38e5088000-2b38e5287000 ---p 00002000 03:03 4457764                    /usr/lib/libXau.so.6.0.0
2b38e5287000-2b38e5288000 rw-p 00001000 03:03 4457764                    /usr/lib/libXau.so.6.0.0
2b38e5288000-2b38e5289000 rw-p 2b38e5288000 00:00 0 
2b38e5289000-2b38e528e000 r-xp 00000000 03:03 4457775                    /usr/lib/libXdmcp.so.6.0.0
2b38e528e000-2b38e548d000 ---p 00005000 03:03 4457775                    /usr/lib/libXdmcp.so.6.0.0
2b38e548d000-2b38e548e000 rw-p 00004000 03:03 4457775                    /usr/lib/libXdmcp.so.6.0.0
2b38e548e000-2b38e5490000 r-xp 00000000 03:03 3408484                    /lib/libdl-2.6.1.so
2b38e5490000-2b38e5690000 ---p 00002000 03:03 3408484                    /lib/libdl-2.6.1.so
2b38e5690000-2b38e5692000 rw-p 00002000 03:03 3408484                    /lib/libdl-2.6.1.so
2b38e5692000-2b38e5694000 rw-p 2b38e5692000 00:00 0 
2b38e5694000-2b38e56a1000 r-xp 00000000 03:03 3407938                    /lib/libgcc_s.so.1
2b38e56a1000-2b38e58a1000 ---p 0000d000 03:03 3407938                    /lib/libgcc_s.so.1
2b38e58a1000-2b38e58a2000 rw-p 0000d000 03:03 3407938                    /lib/libgcc_s.so.1
7fffc6b3b000-7fffc6b51000 rw-p 7fffc6b3b000 00:00 0                      [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vdso]
Aborted (core dumped)
I have been Googling and forum-searching and even library-searching but I can't find a solution for this dual-head monitor that WORKS...

Here is my xorg.conf file:

# 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" "pc104"
Option "XkbLayout" "us"
EndSection

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

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
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 "ATI Radeon"
Driver "ati"
BusID "PCI:1:5:0"
EndSection

Section "Monitor"
Identifier "Laptop Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Radeon"
Monitor "Laptop Monitor"
DefaultDepth 24
SubSection "Display"
Modes "1280x800"
EndSubSection
EndSection

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

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





I have also tried editing my xorg.conf file manAdditional information:

I have also tried manually editing /etc/X11/xorg.conf but have not gotten any good results with that either. Here's what I've tried:

1. Change "Monitor" section to:
Code:
Section "Monitor"
Identifier "Laptop Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
Option "MonitorLayout" "CRT,LFP"
Option "Clone" "true" 
EndSection
This resulted in no change.


2. Added the following to my xorg.conf file:
Code:
Option "DesktopSetup"  "horizontal" #Enable Big Desktop
Option "Mode2"         "1280x1024" #Resolution for second monitor 
Option "DesktopSetup" "LVDS,AUTO" #the types of monitors that is connected LVDS = LCD, CRT, AUTO
Option "EnablePrivateBackZ" "yes" #Enable 3d support <= May Not Work
Option "HSync2" "65" #This sets the horizontal sync for the secondary display. 
Option "VRefresh2" "60" #This sets the refresh rate of the secondary display.
I logged out to restart X, and when I logged out, GDM was using BOTH monitors (YAY!) But, when I logged into Xfce, Gnome, or Fluxbox, the solid light-tan background would show, and I would have a normal (pointer) mouse, but it wouldn't be doing anything ( i.e. it was not reading the hard drive) and after about 15 seconds I get logged off and I return to the GDM window (but it still is using both monitors). Sometimes I get past the light-tan background and I can see my wallpaper, and a little white square that shows up when my menu is being "drawn", but it does the same thing - I have the normal pointer mouse, it doesn't do anything (but not frozen), and then it kicks me off 15 seconds later.
***This is the closest I've come to a working solution!!!***
It's the ONLY way I've gotten both monitors to work with ONE desktop... so maybe if someone knows how to solve the problem I'm having when logging in, that would be easier?

3. Installed developer version of the fglrx ATI drivers, but no change (well, it was worth a shot)

4. Reset xorg.conf by typing in terminal:
Code:
sudo dpkg-reconfigure xserver-xorg
This didn't change anything...
5. In xorg.conf, in the "Device" section, is the following line:
Code:
driver "ati"
This is making the external monitor show the same thing that's shown by laptop display, except too narrow horizontally and too tall vertically.
I changed this line to:
Code:
driver "fglrx"
This makes the external monitor show the desktop w/ 1280x1024 resolution, but on a square in the monitor that is 1280x1024 (but the monitor is 1680x1050!). Same s*** different day.
(btw, I also tried adding BOTH lines, but it picks the ati driver by default).

6. Got rid of my "Device", "ServerFlags", and "Screen" sections in xorg.conf and replaced them with:

Code:
Section "Device"
	Identifier	"ATI Radeon"
	Driver		"ati"
	BusID		"PCI:1:0:0"
Option		"MergedFB"	"true"
EndSection

Section "Screen"
	Identifier "Default Screen"
	Device "ATI Radeon"
	Monitor "Generic Monitor"
	DefaultDepth 24
SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

Section "Screen"
	Identifier "CRT Screen"
	Device "ATI Radeon"
	Monitor "Generic Monitor"
	DefaultDepth 24
	SubSection "Display"
		Depth  24
Modes		"1680X1050"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"MergedFB2 Screen"
	Device		"ATI Radeon"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "ServerLayout"
	Identifier	"MergedFB2Layout"
	Screen		"MergedFB2 Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "ServerFlags"
Option		"DefaultServerLayout"	"MergedFB2Layout"
EndSection

So that about summarizes what I've tried. I'm also willing to try running a Ubuntu live CD and seeing if I have any luck getting the external monitor to work with that...

Any help at all with this would be greatly appreciated, I am at the point where I've tried everything I can and nothing's really working.




UPDATE: I booted from a Ubuntu live CD, and while I did not have both desktops working, the external 1680x1050 monitor had the entire desktop area available to it (but menu bars were in same place as on smaller screen, so I had a 1680x1050 desktop with a menu bar 2/3 of the way down).

Last edited by charlesreid1; 11-13-2007 at 11:02 AM.
 
Old 11-11-2007, 04:13 PM   #2
charlesreid1
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
additional information

(info moved to post)

Last edited by charlesreid1; 11-11-2007 at 11:43 PM. Reason: putting info in main post
 
Old 11-11-2007, 04:15 PM   #3
charlesreid1
LQ Newbie
 
Registered: Apr 2006
Posts: 8

Original Poster
Rep: Reputation: 0
(info moved to post)

Last edited by charlesreid1; 11-13-2007 at 11:01 AM.
 
  


Reply

Tags
external, monitor, xorgconf, xubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI 8.40.4 amdcccle or aticonfig problem maitrebart Linux - Hardware 10 09-01-2007 12:34 PM
Problem setting up a dual-monitor system with ATI Radeon 7000/VE imjoe Linux - Hardware 1 01-17-2007 09:40 PM
aticonfig illegal instruction tamtam Slackware 14 09-22-2006 08:27 PM
Ati Drivers aticonfig problem Steel_J Linux - Hardware 6 04-03-2006 11:49 AM
Problem With Setting Up Monitor Rick069 Suse/Novell 1 10-19-2005 10:50 AM


All times are GMT -5. The time now is 03:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration