You are not logged in.
Hey friends,
I've been messing around with having multiple screens for my laptop. I've already jumped through some hoops and I've come to the point that it's all working, except for one little nitpicky thing: the screen of my laptop overlaps the one of my second monitor, by a margine of ~4 pixels. I've been looking at the xrandr man page and Google over and over, but none of the suggestions/options have worked.
Could you please tell me how I can get rid of this overlap?
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Hi!
I think I had a similar problem, which I could solve.
The resolution of my notebook display is 1366x768. Connecting an external monitor and using xrandr as
xrandr --output LVDS --auto --pos 0x0 --output VGA-0 --auto --pos 1368x0 --primarygot rid of the (in my case 2 pixel) overlap.
hth
Offline
Hi!
I think I had a similar problem, which I could solve.
The resolution of my notebook display is 1366x768. Connecting an external monitor and using xrandr asxrandr --output LVDS --auto --pos 0x0 --output VGA-0 --auto --pos 1368x0 --primarygot rid of the (in my case 2 pixel) overlap.
hth
Had already tried that, doesn't work ![]()
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Could you paste the output of `xrandr` here?
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline
┌─[jente@lappy ~][22:47:46]
└─■ xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 3046 x 3046
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.0*+
1360x768 60.0
1280x768 60.0
1280x720 60.0
1024x768 60.0
1024x600 60.0
800x600 60.0
800x480 60.0
640x480 60.0
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 connected (normal left inverted right x axis y axis)
1680x1050 59.9 +
1400x1050 59.9
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1280x800 60.0
1152x864 59.9 75.0
1280x768 60.0
1280x720 60.0
1024x768 75.0 60.0
1024x600 75.0 60.0
800x600 75.0 60.3 56.2
800x480 75.0 60.3 56.2
640x480 75.0 59.9 If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Unia, is that the output when both heads are active? If not, please duplicate your problem with the overlapping screens and then post the output of `xrandr`.
If so, something very strange is going on because CRT1 doesn't have a chosen geometry.
Also, what video card do you have and which driver are you using?
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline
Unia, is that the output when both heads are active? If not, please duplicate your problem with the overlapping screens and then post the output of `xrandr`.
If so, something very strange is going on because CRT1 doesn't have a chosen geometry.
Excuse me, I should have given that from the beginning:
┌─[jente@lappy ~][23:27:56]
└─■ xrandr
Screen 0: minimum 320 x 200, current 3046 x 1050, maximum 3046 x 3046
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1366x768 60.0*+
1360x768 60.0
1280x768 60.0
1280x720 60.0
1024x768 60.0
1024x600 60.0
800x600 60.0
800x480 60.0
640x480 60.0
DFP1 disconnected (normal left inverted right x axis y axis)
CRT1 connected 1680x1050+1366+0 (normal left inverted right x axis y axis) 473mm x 296mm
1680x1050 59.9*+
1400x1050 59.9
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1280x800 60.0
1152x864 59.9 75.0
1280x768 60.0
1280x720 60.0
1024x768 75.0 60.0
1024x600 75.0 60.0
800x600 75.0 60.3 56.2
800x480 75.0 60.3 56.2
640x480 75.0 59.9 Also, what video card do you have and which driver are you using?
I have an ATi Mobility Radeon HD 5470. The driver is Catalyst and I assume the latter is the culprit here...
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
The only way I could have the screens right here was by using seperate commands for each.
xrandr --output LVDS1 --mode 1366x768
xrandr --output VGA1 --mode 1280x1024 --right-of LVDS1HTH
You're just jealous because the voices only talk to me.
Offline
Still no dice.. I keep having the overlap. Are there any other ideas here?
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Interesesting. xrandr is reporting that your monitors are configured correctly.
A few more things:
Have you tried configuring your monitor setup using Catalyst? What about starting over with a fresh xorg.conf? Finally, could you post your xorg.conf? (It should be generated by the aticonfig tool, I think. Although it's been a while since I've used AMD's blob.)
Also, if you don't game, you might find xf86-video-ati to be quite acceptable. It might be interesting to try it just to see if it fixes this issue.
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline
Have you tried configuring your monitor setup using Catalyst? What about starting over with a fresh xorg.conf? Finally, could you post your xorg.conf? (It should be generated by the aticonfig tool, I think. Although it's been a while since I've used AMD's blob.)
Yes, I have tried to configure it with Catalyst. That does work correctly, but I would like to be able to change the settings on-the-fly and Catalyst doesn't support this (gotta restart X if I want to change settings). I also started with a fresh xorg.conf, which is one of the hoops I had to jump through to get things working to the point where I am now. Here it is:
┌─[jente@lappy ~][20:13:24]
└─■ cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Files"
FontPath "/usr/share/fonts/local"
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 "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 3046 3046
EndSubSection
EndSectionAs you can see, it's quite minimal. The only things I have added myself is the font path and the Virtual entry in the SubSection "Display" in Section "Screen".
Also, if you don't game, you might find xf86-video-ati to be quite acceptable. It might be interesting to try it just to see if it fixes this issue.
xf86-video-ati is not acceptable for my laptop. It makes it run too hot and last time I tried this, I got random artifacts. (didn't look into those, though)
EDIT: By the way, thanks for your help! (and the others too!
)
Last edited by Unia (2012-06-11 18:16:23)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
As you can see, it's quite minimal. The only things I have added myself is the font path and the Virtual entry in the SubSection "Display" in Section "Screen".
Ack. I can't spot anything wrong. I was thinking maybe your Virtual geometry was off, but it looks it matches xrandr. I'm fresh out of ideas :-(
xf86-video-ati is not acceptable for my laptop. It makes it run too hot and last time I tried this, I got random artifacts. (didn't look into those, though)
Interesting. Have you tried performance tuning and power saving? Make sure you enable KMS! (I think you have to disable it for Catalyst.)
That's pretty much all I've got. Sorry. :-(
Education is favorable to liberty. Freedom can exist only in a society of knowledge. Without learning, men are incapable of knowing their rights, and where learning is confined to a few people, liberty can be neither equal nor universal.
Tu ne cede malis sed contra audentior ito
Offline