You are not logged in.

#1 2014-07-14 19:59:34

Nue
Member
Registered: 2014-06-07
Posts: 11

[Solved] Catalyst Control Center settings lost after reboot

Hi

After having a working desktop I decided not to use xinerama because it wouldn't work with the composite extension. So i decided to start from scratch. After following the wiki on making a dual-head setup in my xorg.conf file it kind of worked (cloned display 1280x1024). I changed settings in ccc and all was perfect (Big desktop 3200x1080). But then after restarting all ccc configuration was lost.

xorg.conf:

Section "ServerLayout"
	Identifier     "screen-layout"
	Screen      0  "screen0" 1920 0
EndSection

Section "Monitor"
	Identifier   "monitor0"
	Option	    "VendorName" "BenQ"
	Option	    "ModelName" "TV"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "monitor1"
	Option	    "VendorName" "ViewSonic"
	Option	    "ModelName" "Display"
	Option	    "DPMS" "true"
	Option	    "RightOf" "monitor0"
EndSection

Section "Device"
	Identifier  "device0"
	Driver      "fglrx"
	Option	    "OverlayOnCRTC2" "1"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
	Identifier  "device1"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "screen0"
	Device     "device0"
	Monitor    "monitor0"
	DefaultDepth     24
	Option	    "TVOverScan" "0"
	SubSection "Display"
		Viewport   0 0
		Virtual   3200 1080
		Depth     24
	EndSubSection
EndSection

And here is the log:

sudo cat /var/log/Xorg.0.log | grep WW
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.433] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     6.536] (WW) Falling back to old probe method for fglrx
[     6.632] (WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
[     6.639] (WW) fglrx(0): board is an unknown third party board, chipset is supported
[     6.912] (WW) fglrx(0): Big Desktop related functionalities are replaced by RandR 1.2!
[     6.946] (WW) fglrx(0): Option "VendorName" is not used
[     6.946] (WW) fglrx(0): Option "ModelName" is not used
[     7.347] (WW) fglrx(0): TFD direct rotation is not supported currently with multi-viewport screen
[     7.807] (WW) evdev: EST Gaming keyboard: ignoring absolute axes.

Does anyone know how to fix this or have a better solution on dual-head without xinerama?

Thanks in advance!

Last edited by Nue (2014-07-15 12:17:06)

Offline

#2 2014-07-14 21:14:42

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Catalyst Control Center settings lost after reboot

So the xorg.conf is still there? How do you start X? What desktop environment and greeter, if any, do you use?
So you want just to clone the monitor? Or do you want two separate screens, but do not wish to drag windows between them? I use two screens, one of them without a window manager primarily to watch movies.

Offline

#3 2014-07-14 22:50:21

Nue
Member
Registered: 2014-06-07
Posts: 11

Re: [Solved] Catalyst Control Center settings lost after reboot

The xorg.conf is at /etc/X11/xorg.conf.
I'm using slim to start x and awesome wm.
I want to extend my desktop and not clone. And be able to drag windows between the screens.

Offline

#4 2014-07-14 23:51:23

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Catalyst Control Center settings lost after reboot

What is the content of your ~/.xinitrc? What is in /etc/X11/xorg.conf.d?

Nue wrote:

I want to extend my desktop and not clone.

So far I can follow.

Nue wrote:

And be able to drag windows between the screens.

If you do not mean Eyefinity, which I know little about, then how do you want to achieve this without Xinerama? I am not aware of that possibility, but will be gladly corrected.

Offline

#5 2014-07-15 09:34:51

Nue
Member
Registered: 2014-06-07
Posts: 11

Re: [Solved] Catalyst Control Center settings lost after reboot

I just realized that I wont need to be able to drag windows between screens. heh
I got it mostly right now. It's just that my second screen is black. You can move the mouse there but thats it. I will keep on working.

My .xinitrc

cat .xinitrc 
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

setxkbmap -layout se

exec awesome

The xorg.conf.d should be untouched

sudo ls /etc/X11/xorg.conf.d/
10-evdev.conf   50-joystick.conf   50-vmmouse.conf
10-quirks.conf  50-synaptics.conf

The main issue and reason I started over was that Composite wouldn't work when xinerama was enabled.

Offline

#6 2014-07-15 09:48:35

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Catalyst Control Center settings lost after reboot

Nue wrote:

It's just that my second screen is black.

You can put a wallpaper on it. Again I suggest using two screens on one display for this (2 devices, 2 monitors, 2 screens and a modified serverlayout are necessary). You can run another instance of awesome on the second screen also, I sometimes do that with openbox. For the two screen approach using the DISPLAY=:0.1 variable set so is necessary.

Offline

#7 2014-07-15 11:19:12

Nue
Member
Registered: 2014-06-07
Posts: 11

Re: [Solved] Catalyst Control Center settings lost after reboot

emeres wrote:

You can run another instance of awesome on the second screen also, I sometimes do that with openbox.

I did a bit of google on multiple X instances but could not figure out how to start it in just my second screen. I tried "startx -- :1" and "startx -- :1.1" but it just started another instance on my main screen.

emeres wrote:

For the two screen approach using the DISPLAY=:0.1 variable set so is necessary.

Where do I set this variable?

Last edited by Nue (2014-07-15 11:19:33)

Offline

#8 2014-07-15 11:37:13

Nue
Member
Registered: 2014-06-07
Posts: 11

Re: [Solved] Catalyst Control Center settings lost after reboot

This did the trick but I do not think it is a good solution...

cat .xinitrc 
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

setxkbmap -layout se

DISPLAY=:0.0
exec awesome &
DISPLAY=:0.1
exec awesome

Offline

#9 2014-07-15 11:37:28

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Catalyst Control Center settings lost after reboot

You set/export DISPLAY in the shell where you run applications for the other screen/display. Take a look here and somewhat different but still helpful thread here.

env DISPLAY=:0.1 awesome

Do you really want two instances of X instead of two screens on one "display"? They will be still separate.

Edit: Too slow. Yes that is basically it. But those are two exact awesome sessions, maybe you want something different for the other screen (another awesome configuration).

Last edited by emeres (2014-07-15 11:40:16)

Offline

#10 2014-07-15 11:49:17

Nue
Member
Registered: 2014-06-07
Posts: 11

Re: [Solved] Catalyst Control Center settings lost after reboot

I figured out I can use two diffrent configurations with -c like this.

DISPLAY=:0.0
exec awesome -c <config.lua> &
DISPLAY=:0.1
exec awesome -c <other-config.lua>

Or if this works?

env DISPLAY=:0.0 awesome -c <config.lua> &
env DISPLAY=:0.1 awesome -c <other-config.lua>

Anyway I think I have it from here. Thanks very much for the help! smile

Offline

#11 2014-07-15 11:58:34

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] Catalyst Control Center settings lost after reboot

For more explanation read:

man env export bash #Shell Variables

You are welcome.

Offline

Board footer

Powered by FluxBB