Bug 23952 - xorg-server does not allow selection of Primary monitor in xorg.conf/randr
Summary: xorg-server does not allow selection of Primary monitor in xorg.conf/randr
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 19:30 UTC by Öyvind Saether
Modified: 2018-04-25 19:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
My Xorg config (3.75 KB, text/plain)
2009-09-15 02:53 UTC, Öyvind Saether
no flags Details
secret log document (74.29 KB, text/plain)
2009-09-15 02:54 UTC, Öyvind Saether
no flags Details
xorg.conf (931 bytes, text/plain)
2010-04-09 06:15 UTC, Florian Scandella
no flags Details

Description Öyvind Saether 2009-09-14 19:30:19 UTC
I use the radeon driver with two monitors connected to radeon3000.

(II) RADEON(0): Port0:
  XRANDR name: HDMI-0
  Connector: HDMI-A
  DFP1: INTERNAL_KLDSCP_LVTMA
  DDC reg: 0x7e50
(II) RADEON(0): Port1:
  XRANDR name: VGA-0
  Connector: VGA
  CRT1: INTERNAL_KLDSCP_DAC1
  DDC reg: 0x7e40

The VGA-0 on VGA is used as Primary monitor, that is where GDM and some apps show up.

I want the HDMI-0 to be the Primary monitor.

I have tried to place Option "Primary" "1" in the Monitor section of the HDMI, however, it is ignored:

(WW) RADEON(0): Option "PreferredMode" is not used
(WW) RADEON(0): Option "Primary" is not used

The Manual Page indicates that this should work,
http://cgit.freedesktop.org/xorg/xserver/commit/?id=8fab7f72f2cc4ac5ca415c95ccbd05d3084f10c4
Comment 1 Dave Airlie 2009-09-14 20:57:33 UTC
can you attach the xorg.conf you are using.
Comment 2 Öyvind Saether 2009-09-15 02:53:57 UTC
Created attachment 29556 [details]
My Xorg config
Comment 3 Öyvind Saether 2009-09-15 02:54:13 UTC
Created attachment 29557 [details]
secret log document
Comment 4 Alex Deucher 2009-09-15 07:28:46 UTC
The desktop environment you are using has to actually have support for the primary randr flag otherwise you need to use app specific controls.
Comment 5 Florian Scandella 2010-04-09 06:15:25 UTC
Created attachment 34845 [details]
xorg.conf

same problem here ... using xf86-video-ati from git and xorg-server-1.8.0, randr 1.3.
XRRGetOutputPrimary returns 0.

[    20.795] (II) RADEON(0): Output DVI-0 using monitor section tft-monitor
[    20.795] (**) RADEON(0): Option "PreferredMode" "1280x1024"
[    20.795] (**) RADEON(0): Option "Primary" "True"
[    20.807] (II) RADEON(0): Output DIN has no monitor section
[    20.860] (II) RADEON(0): Output DVI-1 using monitor section crt-monitor
[    20.860] (**) RADEON(0): Option "PreferredMode" "1280x1024"
[    20.860] (**) RADEON(0): Option "LeftOf" "tft-monitor"

...

[    21.048] (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    21.053] (WW) RADEON(0): Option "PreferredMode" is not used
[    21.053] (WW) RADEON(0): Option "TargetRefresh" is not used
[    21.053] (WW) RADEON(0): Option "Primary" is not used
Comment 6 Alex Deucher 2010-04-09 10:53:53 UTC
The drivers don't have anything to do with the primary option.  It's handled completely in the xserver.
Comment 7 Florian Scandella 2010-04-09 16:00:15 UTC
hmm, it seems the only thing the xserver does with the option, is movin the output to the first position.

http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/modes/xf86Crtc.c#n644

shouldn't it the randr primary property too?
Comment 8 Öyvind Saether 2018-04-25 19:23:18 UTC
I request this bug closed as Resolved and Wontfix. It's either fixed or it won't be. I no longer have the radeon3000 or the monitors present when this bug was filed so I can't test and I doubt anyone else has either.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.