Bug 15675 - Randr12: works from command-line but not in xorg.conf
Summary: Randr12: works from command-line but not in xorg.conf
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-23 08:17 UTC by Andrew McNabb
Modified: 2010-07-23 16:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (92.47 KB, application/octet-stream)
2008-04-23 08:29 UTC, Andrew McNabb
no flags Details
xorg.conf (865 bytes, application/octet-stream)
2008-04-23 10:46 UTC, Andrew McNabb
no flags Details
xorg.conf (fixed typo) (861 bytes, application/octet-stream)
2008-04-23 10:50 UTC, Andrew McNabb
no flags Details

Description Andrew McNabb 2008-04-23 08:17:25 UTC
I have two machines with different hardware that are using nouveau with Randr12.  One of them works fine.  The other one is behaving oddly.  If I set "Virtual 3200 1200" in the xorg.conf and start up X, only the DVI monitor displays anything.  The VGA is blank.  If I run `xrandr --output VGA-0 --right-of DVI-D-0`, then the VGA screen lights up and everything is happy.

However, if I try to tell xorg.conf to put VGA-0 right of DVI-D-0 (which is what I successfully do on the other computer), then the VGA monitor stays blank, even though X apparently thinks it is using two monitors.  Here's what's at the bottom of xorg.conf:

Section "Monitor"
    Identifier "DVI-D-0"
EndSection 

Section "Monitor"
    Identifier "VGA-0"
    Option "RightOf" "DVI-D-0"
EndSection

When I use this configuration, switching which display is left and which is right doesn't help.  If I do `xrandr --output VGA-0 --left-of DVI-D-0`, then the DVI gets the other half of the virtual screen and whatever windows should have been displayed on the VGA.  However, the VGA is still blank.

At this point, if I do `xrandr --output VGA-0 --same-as DVI-D-0`, then suddenly the VGA lights up and displays correctly.  I can now put VGA-0 to the right of or left of DVI-D-0; all of the xrandr commands work perfectly.

I'm using the latest version of nouveau from git.  The machine is running Fedora Rawhide.  In case it helps, here's the output from `lspci -v` about the video card:

05:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce 6200] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Unknown device 196e:02f0
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 16
	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
	Expansion ROM at feae0000 [disabled] [size=128K]
	Capabilities: [60] Power Management version 2
	Capabilities: [44] AGP version 3.0
	Kernel driver in use: nvidia
	Kernel modules: nvidia, nvidiafb

I hope this is helpful.
Comment 1 Andrew McNabb 2008-04-23 08:29:06 UTC
Created attachment 16131 [details]
Xorg.0.log

Attaching Xorg.0.log.  In this particular case, Monitor VGA-0 has Option "SameAs" "DVI-D-0".  I've also tried with RightOf.  In both cases, the VGA monitor is blank.
Comment 2 Maarten Maathuis 2008-04-23 09:49:24 UTC
http://wiki.debian.org/XStrikeForce/HowToRandR12

Try that, i think you made a small mistake with the syntax.

(eg, you need to add Option "Monitor-DVI-D-0" "foomon" to your device section for example)
Comment 3 Andrew McNabb 2008-04-23 10:46:49 UTC
Created attachment 16132 [details]
xorg.conf

I tried doing what you recommended, but it didn't seem to help.  Here's the new xorg.conf.

By the way, the page you pointed to had an example that said:

# no need to specific Monitor-VGA-0, it uses the "VGA-0" identifier automatically

This seems to be consistent with how things are working on the other machine, where the RightOf, LeftOf, etc. were being respected even though there was no Option "Monitor-DVI-D-0" "FOO"

Thanks again for your help.
Comment 4 Andrew McNabb 2008-04-23 10:49:34 UTC
Also note that the Xorg.0.log says:

Output DVI-D-0 using monitor section DVI-D-0

and

Output VGA-0 using monitor section VGA-0

even when the Option "Monitor-VGA-0" "FOO" isn't specified.

Thanks.
Comment 5 Andrew McNabb 2008-04-23 10:50:21 UTC
Created attachment 16133 [details]
xorg.conf (fixed typo)
Comment 6 Stuart Bennett 2009-01-13 17:02:47 UTC
Is this still an issue?
Comment 7 Andrew McNabb 2009-01-13 17:59:34 UTC
I don't have any nVidia hardware anymore, so I don't have any way to check.  It's been a really long time since I filed the bug.
Comment 8 Marcin Slusarz 2010-07-23 16:28:35 UTC
Reporter does not have the hardware anymore, last reponse one year ago. Closing.
If the problem still exists on current version, please reopen with new set of logs.


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.