LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-08-2015, 12:35 PM   #1
thekore
Member
 
Registered: Oct 2003
Location: Scotland
Distribution: Ubuntu 18.04
Posts: 41

Rep: Reputation: 18
Exclamation Xorg Dual head setup on Wheezy (3.2.0-4-amd64) fglrx


I needed to change from Arch to Debian on my main desktop for reasons that are unimportant. I have two monitors 1 26" LCD TV @ 1920*1080 and 1 Xerox 19" @ 1440*900

I am having issues with having the resolutions of monitor position persist after reboot. I am using Xfce with lightdm. I have tried making the changes with amdcccle (as su) and after a reboot the changes dont remain. xrandr using arandr, changes don't persist.

I have created a .xinit file in ~/ and in the file entered the command below but again the the .xinit file appears to be ignored.

Code:
xrandr --output CRT2 --mode 1440x900 --pos 1920x180 --rotate normal --output CRT1 --mode 1920x1080 --pos 0x0 --rotate normal --output DFP2 --off --output DFP1 --off
I have added the following lines to lightdm.conf (layout1.sh is the layout saved from arandr which contains the same command as above)

Code:
display-setup-script=/home/dante/.screenlayout/layout1.sh
session-setup-script=/home/dante/.screenlayout/layout1.sh
the lightdm.conf changes fixed the resolution and placement during login (lightdm) but once xfce loads it goes back to the default which is of no use to me.

related info
Running amdcccle as root provides these messages:
Code:
root@#####:/home/#####/Desktop# amdcccle

(process:5945): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:5945): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

(process:5945): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
root@bertha:/home/dante/Desktop# amdcccle

(process:5950): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(process:5950): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

(process:5950): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
amdcccle layout:
http://s27.postimg.org/grgua56eb/amdcccle.png

arandr layout:
http://s29.postimg.org/mlnz1ovmv/arandr.png

contents of xorg.conf (/etc/X11/)
Code:
Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "0-CRT1"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1920x1080"
        Option      "TargetRefresh" "60"
        Option      "Position" "0 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Monitor"
        Identifier   "0-CRT2"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1440x900"
        Option      "TargetRefresh" "60"
        Option      "Position" "1920 0"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        Option      "Monitor-CRT1" "0-CRT1"
        Option      "Monitor-CRT2" "0-CRT2"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Virtual   3360 1920
                Depth     24
                Modes    "1920x1080" "1440x900"
        EndSubSection
EndSection
Any help or suggestions would be greatly appreciated

Last edited by thekore; 02-08-2015 at 12:36 PM.
 
Old 02-09-2015, 10:20 AM   #2
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,134
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
The FGLRX driver is such a PITA to work with. This was my last working xorg.conf before switching to nVidia. Maybe some of the options used in my xorg.conf will help.

Code:
Section "ServerLayout"
	Identifier     "Xorg Configured"
	Screen      0  "screen-0" 0 0
	Option	    "AIGLX" "1"
EndSection

Section "Module"
	Load  "fbdevhw"
	Load  "GLcore"
	Load  "v4l"
	Load  "i2c"
	Load  "bitmap"
EndSection

Section "ServerFlags"
	Option	    "AllowMouseOpenFail" "1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard 0"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us,ca"
	Option	    "XkbOptions" "altwin:super_win"
EndSection

Section "InputDevice"
	Identifier  "Microsoft Microsoft Trackball Optical� 0"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "Auto"
	Option	    "Emulate3Buttons" "1"
	Option	    "CorePointer"
EndSection

Section "Monitor"
	Identifier   "samsung-0"
	ModelName    "SAMSUNG SYNCMASTER 2033SW"
EndSection

Section "Device"
	Identifier  "HD3200-0"
	Driver      "fglrx"
	BoardName   "AMD-780G"
	Option	    "EnableRandR12" "0"
	Option	    "BackingStore" "1"
	Option	    "XAANoOffscreenPixmaps" "1"
	Option	    "XaaNoPixmapCache" "1"
	Option	    "EnablePrivateBackZ" "1"
	Option	    "DesktopSetup" "horizontal"
	Option	    "PairModes" "1600x900+1440x900"
	Option	    "VideoOverlay" "1"
	Option	    "OpenGLOverlay" "0"
	Option	    "TexturedVideo" "1"
	Option	    "TexturedVideoSync" "1"
	Option	    "Textured2D" "1"
	Option	    "NoMTRR" "1"
EndSection

Section "Screen"
	Identifier "screen-0"
	Device     "HD3200-0"
	Monitor    "samsung-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "3040x900"
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "1"
	Option	    "DAMAGE" "1"
	Option	    "RENDER" "1"
	Option	    "XVideo" "1"
EndSection
 
Old 02-20-2015, 10:05 AM   #3
sudowtf
Member
 
Registered: Nov 2013
Posts: 206

Rep: Reputation: 46
i put my xrandr script in my XFCE->Settings Manager->Application Autostart for a similar reason (secondary monitor on left, not right)
 
  


Reply



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 fglrx dual head, both on 85Hz? konqi Linux - Desktop 9 05-30-2010 03:32 PM
[SOLVED] fglrx, updated from 9.6 to 9.8 and dual head stopped working i92guboj Linux - Hardware 7 09-10-2009 09:16 AM
dual-head support, radeon 300, fglrx noviciado Linux - Hardware 8 04-20-2009 03:28 PM
Debian-amd64 : Xorg & Ati's fglrx hungrigerhaifisch Linux - Hardware 2 07-09-2006 08:34 AM
Debian-amd64 : Xorg & Ati's fglrx hungrigerhaifisch Debian 4 07-08-2006 01:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration