Bug 223603 - "Multiple monitors" does not find my multiple monitors
Summary: "Multiple monitors" does not find my multiple monitors
Status: RESOLVED FIXED
Alias: None
Product: krandr
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Gustavo Pichorim Boiko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-20 18:28 UTC by Ole Reier Ulland
Modified: 2012-06-20 07:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Reier Ulland 2010-01-20 18:28:50 UTC
Version:           1.0 (using 4.3.2 (KDE 4.3.2), Mandriva Linux release 2010.0 (Official) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.6-desktop-1mnb

I have read in bugzilla that this is not a new problem. Several others have pointed this out, but they have all been marked RESOLVED, but I still have the same problem even though I use the latest edition which is also newly updated.

Description of problem:

I have a Dell Dimension 8300 that runs both Mandriva Linux 2010.0 and Windows
XP Home Edition, and it has two monitors.

Graphics card: ATI RV280(Radeon 9200 PRO)
Monitor 1: BenQ T2210HD (DVI)
Monitor 2: Flatron W2042S (VGA)

In Windows the "Dual monitor" functions, so there should be no hardware problem.

In Linux however, I only get the same picture on both monitors. The message in: System settings - Display - Multiple monitors is: "This module is only for configuring systems with a single desktop spread across multiple monitors. You do not appear to have this configuration."
Comment 1 Christoph Feck 2010-01-20 22:21:18 UTC
Does your X11 driver support XRandR extension? You can test with command "xrandr --version". If your driver does support XRandR, then attach output of command "xrandr" both when the second monitor is connected, and when it is not.

You could also try the KDE SC 4.4 release candidate, if it works any better, there are many changes related to XRandR support in the "Size & Orientation" section.

I think "Multiple Monitors" is not related to XRandR, but uses old style Xinerama.
Comment 2 Christoph Feck 2010-01-25 03:09:43 UTC
You need to attach the information to the bugreport (or add them as a comment), otherwise we cannot process them. Do not mail developers privately.
Comment 3 Ole Reier Ulland 2010-01-25 03:23:59 UTC
On Wednesday 20 January 2010 10:21:20 pm Christoph Feck wrote:
> https://bugs.kde.org/show_bug.cgi?id=223603
> 
> 
> Christoph Feck <christoph@maxiom.de> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |christoph@maxiom.de
> 
> 
> 
> 
> --- Comment #1 from Christoph Feck <christoph maxiom de>  2010-01-20
>  22:21:18 --- Does your X11 driver support XRandR extension? You can test
>  with command "xrandr --version". If your driver does support XRandR, then
>  attach output of command "xrandr" both when the second monitor is
>  connected, and when it is not.

Sorry, I did not know about the routines here, so I send it now to the correct 
reply address.

Here are the results from the commands:

xrandr --version

xrandr program version       1.3.2
Server reports RandR version 1.3

xrandr [secondary screen not connented]

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
VGA-0 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 
434mm x 270mm
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm 
x 268mm
   1920x1080      60.0*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   640x480        75.0     59.9  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)
  1920x1080_60 (0x50)  172.8MHz
        h: width  1920 start 2040 end 2248 total 2576 skew    0 clock   
67.1KHz
        v: height 1080 start 1081 end 1084 total 1118           clock   60.0Hz

xrandr [secondary screen connented]

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
VGA-0 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 434mm 
x 270mm
   1680x1050      59.9*+   60.0     60.0     59.9  
   1920x1080_60   60.0  
   1600x900_60    60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1368x768_60    60.0  
   1360x765_60    60.0  
   1280x720_60    60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm 
x 268mm
   1920x1080      60.0*+
   1280x1024      75.0     60.0  
   1152x864       75.0  
   1024x768       75.0     60.0  
   800x600        75.0     60.3  
   640x480        75.0     59.9  
   720x400        70.1  
S-video disconnected (normal left inverted right x axis y axis)

Sincerely,

Ole Reier Ulland
Norway
Comment 4 Ole Reier Ulland 2010-02-27 02:02:14 UTC
I have now updated to KDE SC 4.4 and it did not help. The message I get in "Multiple Monitors" is the same as before.
Comment 5 Burkhard Lück 2010-02-27 14:02:05 UTC
This module is really badly named and has a not user friendly error message.
Afaik this module "Multiple Monitor" is only for X11 with Xinerama extension.
Does grep -i xinerama /etx/X11/xorg.conf give a hit? Me assumes no.

But you can try to use xrandr - either via Systemsettings -> Display -> Size & Orientation or try in konsole:
xrandr --output VGA-0 --preferred --right-of DVI-0

But before that should work you need to change the "maximum 1920 x 1920" for Screen 0:
With your hardware and VGA-0 rightof DVI-0 you'l need at least maximum 3840 x 1080.
To achieve that you have to add a line "Virtual 3840 x 1080" to 'SubSection "Display"' in /etx/X11/xorg.conf.

Cc'ing Luboš Luňák, who has lately worked on xrandr afaik.
Comment 6 Ole Reier Ulland 2010-02-27 15:33:13 UTC
"grep -i xinerama /etx/X11/xorg.conf" gives: "No such file or directory".

The "right of" and "left of" between VGA-0 and DVI-0 seems to work fine according to the preview in "Size and Orientation".

But it all stops at "/etx/X11/xorg.conf" because the file does not exist. I have checked that both the "libxcb-xinerama0" and "libxinerama1" rpms are installed.
Comment 7 Ole Reier Ulland 2010-02-27 18:09:03 UTC
I realize that it was supposed to be "/etc/X11..." and not "/etx/X11...".

I have edited the "/etc/X11/xorg.conf" by adding the line "Virtual 3840 x 1080" to all the four different Subsections "Display" with depth 8, 15, 16 and 24, but with the change " Virtual "3840 x 1080" " also because it looks more natural. Is that correct? But the xrandr does not change maximum to more than 1920 x 1920.

The one thing I can see is that xrandr writes about "Screen 0", but xorg.conf writes about "screen1". Could this be a clue?
Comment 8 Ole Reier Ulland 2010-02-27 18:19:15 UTC
I do not restart any thing between each attempt. Is there a service that I need to restart to see if the changes took effect, or anything else I need to do?
Comment 9 Ole Reier Ulland 2010-02-27 18:44:38 UTC
I think restart something would change something, because I restarted the whole computer and now KDE would not start at all. I had to login in a terminal to restore the original xorg.conf and then restart again.
Comment 10 Burkhard Lück 2010-02-28 13:38:38 UTC
Sorry for screwing up the proper addition of Virtual. 
This is what I have in my /etc/X11/xorg.conf:
<quote>
Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. RV350 NP [Mobility Radeon 9600/9700 M10/M11]"
        Monitor         "Standardbildschirm"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1400x1050"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1400x1050"
# added for randr + two monitors
                Virtual 3000 3000
        EndSubSection
EndSection
</quote>

You should add such a line to your /etc/X11/xorg.conf and restart the x-server and check with xrandr -q that you see the new maximim size in the output.

If that is ok, try "xrandr --output VGA-0 --preferred --right-of DVI-0" in console, it should give you two screens side by side.

Using that here with the second monnitor plugged in works; and launching "Multiple Monitor" in systemsettings shows me then a lot of option, which I sadly don't understand - no tooltips/documenation.
So it seems "Multiple Monitor" is not only for xinerama, but the options are only displayed if you have the setup with two monitors already running.

Using "Size & Orientation" in systemsettings to setup the two monitors does not work here properly, I have to use the Konsole command to enable/disable the second monitor.
Comment 11 Ole Reier Ulland 2010-03-01 02:22:01 UTC
I followed your example of editing "/etc/X11/xorg.conf", just that I used 3600 instead of 3000, because my displays are 1920x1080 and 1680x1050 (1920 + 1680 = 3600).

I restarted the x-server, and now the "xrandr -q" gave the correct maximum size, "maximum 3600 x 3600".

To my amazement the "Size & Orientation" worked fine. The information in "Multiple Monitor" is now correct, but I have not tried out the options, which I agree is not self explanatory.

I now have 6 desktops and 12 different wallpapers.

Thank you very much.