Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to use multi-display under normal user? - ati, fglrx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 307
Location: Paris

PostPosted: Fri Aug 17, 2012 3:28 pm    Post subject: how to use multi-display under normal user? - ati, fglrx Reply with quote

Hello, I would like get multi-display under the normal user when I connect another monitor. The graphic card is ATI, I use fglrx driver.

In fact, the catalyst control tool (amdcccle) could do this if I have the administrator permission. So if I log in by root and start the X server, I could get the multi-display by changing the display option in catalyst control tool (amdcccle). It works if I change the option in X server environment and restart the X server. It works perfectly.

But if I log in by my own account, a normal user, I could do nothing if I only run amdcccle. I couldn't get multi-display even if I run sudo amdcccle. For exemple, I run sudo amdcccle under X-server and change the display option to multi-display, and restart the X server. It doesn't work, and if I run amdcccle ( under normal user, not sudo ), the display option is still unchanged.

I find catalyst control tool very convinient, I hope there is an solution which allow me to make some changes and get multi-display by amdcccle. If someone has a solution which need some text-form changes in files, it will be great too.

Thank you in advance.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 307
Location: Paris

PostPosted: Sun Aug 19, 2012 3:48 pm    Post subject: Reply with quote

I tried several times recently, sometimes it works if I run "sudo amdcccle", sometimes it doesn't and it ask me to restart the X server to make the configuration work. I don't why. Maybe the problem is related of desktop environment? I run xfce in my laptop.
Back to top
View user's profile Send private message
sobhan
n00b
n00b


Joined: 05 Jul 2012
Posts: 17
Location: Tehran,Iran

PostPosted: Mon Aug 20, 2012 2:56 am    Post subject: Reply with quote

i use the open source driver and i dont have any problem for dual screen it automaticly work's
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 307
Location: Paris

PostPosted: Mon Aug 20, 2012 1:59 pm    Post subject: Reply with quote

sobhan wrote:
i use the open source driver and i dont have any problem for dual screen it automaticly work's


I have no choice, I need a better power management since it usually works with battery.
Back to top
View user's profile Send private message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 309
Location: Brisbane, Australia

PostPosted: Fri Oct 05, 2012 10:23 pm    Post subject: Reply with quote

Not sure if this is still an issue for you, but I just sorted this out myself yesterday after lots of googling and playing with xorg files.

Here is what ended up working for me:

/etc/X11/xorg.conf
Code:

Section "Module"
   Load      "GLcore"
   Load      "glx"
EndSection
Section "Monitor"
   Identifier   "DFP3"
   Option      "DPMS" "true
   OPtion      "Primary" "true"
EndSection
Section "Monitor"
        Identifier   "DFP4"
   Option      "DPMS" "true"
   Option      "PreferredMode" "1600x1200"
   Option      "RightOf" "DFP3"
   Option      "Primary" "False"
   Option      "Position" "1680 0"
EndSection

Section "Device"
   Identifier   "device1"
   Driver      "fglrx"
   BusID      "PCI:1:0:0"
   Option      "Monitor-DFP3" "DFP3"
   Option      "Monitor-DFP4" "DFP4"
   Option      "XaaNoOffScreenPixmaps"   "true"
   Option      "UseFastTLS" "2"
EndSection

Section "Screen"
   Identifier   "screen1"
   Device      "device1"
   Monitor      "DFP3"
   DefaultDepth     24
   SubSection "Display"
      Modes      "1680x1050"
                Depth      24
                Virtual      3280 1200
        EndSubSection
EndSection


The names of the monitors (DFP3 and DFP4) were determined by the output of:
Code:

#xrandr

This displayed the following output, which may well be different on your machine :)
Code:
Screen 0: minimum 320 x 200, current 3280 x 1200, maximum 3280 x 1200
DFP3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050      59.9*+
   1400x1050      59.9 
   1600x900       59.9 
   1360x1024      59.9 
   1280x1024      75.0     60.0 
   1440x900       59.9 
   1280x960       60.0 
   1280x800       60.0 
   1152x864       59.9     75.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       75.0     70.1     60.0 
   800x600        72.2     75.0     60.3     56.2 
   640x480        75.0     72.8     67.0     59.9 
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP4 connected 1600x1200+1680+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+
   1400x1050      74.9     60.0 
   1600x900       60.0 
   1360x1024      74.9     60.0 
   1280x1024      75.0     60.0 
   1440x900       60.0 
   1280x960       60.0 
   1152x864       60.0     75.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       75.0     70.1     60.0 
   800x600        72.2     75.0     60.3     56.2 
   640x480        75.0     72.8     67.0     59.9 
CRT1 disconnected (normal left inverted right x axis y axis)
CRT2 disconnected (normal left inverted right x axis y axis)


Dual screen now works flawlessly!
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 307
Location: Paris

PostPosted: Sat Oct 06, 2012 8:03 am    Post subject: Reply with quote

BillyD wrote:
Not sure if this is still an issue for you, but I just sorted this out myself yesterday after lots of googling and playing with xorg files.

Here is what ended up working for me:

/etc/X11/xorg.conf
Code:

Section "Module"
   Load      "GLcore"
   Load      "glx"
EndSection
Section "Monitor"
   Identifier   "DFP3"
   Option      "DPMS" "true
   OPtion      "Primary" "true"
EndSection
Section "Monitor"
        Identifier   "DFP4"
   Option      "DPMS" "true"
   Option      "PreferredMode" "1600x1200"
   Option      "RightOf" "DFP3"
   Option      "Primary" "False"
   Option      "Position" "1680 0"
EndSection

Section "Device"
   Identifier   "device1"
   Driver      "fglrx"
   BusID      "PCI:1:0:0"
   Option      "Monitor-DFP3" "DFP3"
   Option      "Monitor-DFP4" "DFP4"
   Option      "XaaNoOffScreenPixmaps"   "true"
   Option      "UseFastTLS" "2"
EndSection

Section "Screen"
   Identifier   "screen1"
   Device      "device1"
   Monitor      "DFP3"
   DefaultDepth     24
   SubSection "Display"
      Modes      "1680x1050"
                Depth      24
                Virtual      3280 1200
        EndSubSection
EndSection


The names of the monitors (DFP3 and DFP4) were determined by the output of:
Code:

#xrandr

This displayed the following output, which may well be different on your machine :)
Code:
Screen 0: minimum 320 x 200, current 3280 x 1200, maximum 3280 x 1200
DFP3 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm
   1680x1050      59.9*+
   1400x1050      59.9 
   1600x900       59.9 
   1360x1024      59.9 
   1280x1024      75.0     60.0 
   1440x900       59.9 
   1280x960       60.0 
   1280x800       60.0 
   1152x864       59.9     75.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       75.0     70.1     60.0 
   800x600        72.2     75.0     60.3     56.2 
   640x480        75.0     72.8     67.0     59.9 
DFP1 disconnected (normal left inverted right x axis y axis)
DFP2 disconnected (normal left inverted right x axis y axis)
DFP4 connected 1600x1200+1680+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+
   1400x1050      74.9     60.0 
   1600x900       60.0 
   1360x1024      74.9     60.0 
   1280x1024      75.0     60.0 
   1440x900       60.0 
   1280x960       60.0 
   1152x864       60.0     75.0 
   1280x768       60.0 
   1280x720       60.0 
   1024x768       75.0     70.1     60.0 
   800x600        72.2     75.0     60.3     56.2 
   640x480        75.0     72.8     67.0     59.9 
CRT1 disconnected (normal left inverted right x axis y axis)
CRT2 disconnected (normal left inverted right x axis y axis)


Dual screen now works flawlessly!


I have a long time not to use dual display. At that time, sometimes it worked, sometimes it didn't. I didn't test too much. So I passed. But your information is very intesresting. I will look at when I use dual display, next time.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum