Fedora Linux Support Community & Resources Center
  #1  
Old 19th April 2011, 07:23 PM
laurc Offline
Registered User
 
Join Date: Apr 2011
Posts: 4
linuxchrome
problem creating xorg.conf in Fedora 14

Some background: I am trying to add a display using a DisplayLink USB adapter.
The USB adapter works fine (I created a custom xorg.conf and by itself works like a charm).

My other displays are connected to DVI ports and by themselves also work fine (without xorg.conf).
The problem is that I can not run them all in the same time.

As I understood, I need to create an xorg.conf file for all the displays. Running Xorg -configure (or Xorg :1 -configure) (without X running) gives some errors (see bellow) and further customizing xorg.conf gives nothing but blank screens on the DVI displays.


My first question: is there a way to add the USB display without creating an xorg.conf for all?

If not possible, how do I pass this error? and create a working xorg.conf for the DVI devices.


[ 155.593] The PCI device has a kernel module claiming it.
[ 155.594] This driver cannot operate until it has been unloaded
[ 155.595] Number of created screens does not match number of detected devices.
Configuration failed.


For more info I attached Xorg.log, the relevant lspci, the output of the xrandr and the xorg-try.conf that doesn't work for the DVI attached screens.

Thank you

01:00.0 VGA compatible controller: nVidia Corporation GT218 [NVS 3100M] (rev a2) (prog-if 00 [VGA controller])
Subsystem: Dell Device 040b
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e2000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at e0000000 (64-bit, prefetchable) [size=32M]
Region 5: I/O ports at 7000 [size=128]
Expansion ROM at e3000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express (v2) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 256 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Latency L0 <256ns, L1 <4us
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-, Selectable De-emphasis: -6dB
Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
Compliance De-emphasis: -6dB
LnkSta2: Current De-emphasis Level: -6dB
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [128 v1] Power Budgeting <?>
Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Kernel modules: nouveau, nvidiafb

Here is xrandr with only the DVI monitors connected.
> xrandr
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 8192 x 8192
eDP-1 connected (normal left inverted right x axis y axis)
1920x1080 60.0 + 60.0 40.0
1680x1050 60.0
1400x1050 60.0
1280x1024 59.9
1280x960 59.9
1152x864 60.0
1024x768 59.9
800x600 59.9
VGA-1 disconnected (normal left inverted right x axis y axis)
DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 531mm x 298mm
1920x1080 60.0*+
1280x1024 75.0 60.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.0*+
1280x1024 75.0 60.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
Attached Files
File Type: log Xorg.1.log (26.9 KB, 50 views)
File Type: conf xorg-try.conf (3.6 KB, 69 views)
Reply With Quote
  #2  
Old 20th April 2011, 05:11 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 555
linuxredhatmozilla
Re: problem creating xorg.conf in Fedora 14

Hello,

from what I read, the error message means that the driver 'nouveau' is already loaded and forbid the usage
of the driver 'nv' that the X server wants to use.
Try to unload 'nouveau' or blacklist it at boot.

I wonder if you can just create a configuration file for the new display in /etc/X11/xorg.conf.d/ ?
http://fedoraproject.org/wiki/Input_..._configuration
__________________
:confused:

Last edited by Skull One; 20th April 2011 at 05:19 PM.
Reply With Quote
  #3  
Old 22nd April 2011, 02:47 PM
laurc Offline
Registered User
 
Join Date: Apr 2011
Posts: 4
linuxchrome
Re: problem creating xorg.conf in Fedora 14

Thank you for the suggestions,

Indeed the driver was the problem. Setting nouveau in xorg.conf brought up the DVI displays (as well as the displayLink).

Now I have two X servers, one for the two DVIs displays, and one for DisplayLink (xinerama doesn't work due to different color depths).

The problem is that the two DVI displays are always in mirror mode (I tried: individual screens, one virtual screen, disabled cloning, etc) - nothing seems to work. I see nothing of relevance in Xorg.0.log.

Some configs I tried:
-----------------------------------------------------------------------------
1.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "DisplayLinkScreen" 0 0
Screen 1 "Screen0" LeftOf "DisplayLinkScreen"
Screen 2 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

# DVI devices section
Section "Device"
Identifier "Card0"
Option "FlatPanel" "True"
Option "CrtcNumber" "0"
Option "DualHead" "True"
Driver "nouveau"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "Card1"
Option "FlatPanel" "True"
Option "CrtcNumber" "1"
Option "DualHead" "True"
Driver "nouveau"
BusID "PCI:1:0:0"
EndSection

-----------------------------------------------------------------------------
2.
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "DisplayLinkScreen" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "DELL"
ModelName "S2409W(a05f)"
Option "DPMS"
Option "Primary" "True"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "DELL"
ModelName "U2311H"
Option "DPMS"
Option "LeftOf" "Monitor0"
Option "Primary" "False"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 24
Modes "1920x1080"
Virtual 3840 1080
EndSubSection
EndSection

Section "Device"
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
Option "DP-1" "Monitor0"
Option "DP-2" "Monitor1"
EndSection


I also tried setting the displayLink in /etc/X11/xorg.conf.d/ but I didn't have much luck (maybe because I am not sure how to use the InputClass...?)


Thank you again,
Reply With Quote
  #4  
Old 22nd April 2011, 04:34 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 555
linuxredhatmozilla
Re: problem creating xorg.conf in Fedora 14

Well, I am not good for these settings.
Maybe you can do something using your desktop environment tools ?
__________________
:confused:
Reply With Quote
  #5  
Old 22nd April 2011, 04:42 PM
laurc Offline
Registered User
 
Join Date: Apr 2011
Posts: 4
linuxchrome
Re: problem creating xorg.conf in Fedora 14

The desktop tool didn't help. The DVI displays are recognized but unsetting the mirror option didn't change anything (no errors either).
Thanks,
Reply With Quote
  #6  
Old 22nd April 2011, 05:06 PM
Skull One's Avatar
Skull One Offline
Registered User
 
Join Date: Jun 2010
Location: Lost...
Posts: 555
linuxredhatmozilla
Re: problem creating xorg.conf in Fedora 14

Here is an example that seems to work : https://wiki.archlinux.org/index.php/Nouveau
From 'man xorg.conf' :
Code:
       With RandR 1.2-enabled drivers, monitor sections may be tied to  specific  outputs  of  the  video
       card.   Using  the name of the output defined by the video driver plus the identifier of a monitor
       section, one associates a monitor section with an output by adding an option to the Device section
       in the following format:

       Option "Monitor-outputname" "monitorsection"

       (for example, Option "Monitor-VGA" "VGA monitor" for a VGA output)
I guess that in your second config., the device section must be:
Code:
Section "Device"
    Identifier "Card0"
    Driver "nouveau"
    BusID "PCI:1:0:0"
    Option "Monitor-DP-1" "Monitor0"
    Option "Monitor-DP-2" "Monitor1"
EndSection

P.S. : I don't know if it is possible, but can you change the title to something more attractive, like 'multiple monitors configuration problem' ?
__________________
:confused:

Last edited by Skull One; 22nd April 2011 at 05:15 PM.
Reply With Quote
  #7  
Old 22nd April 2011, 06:47 PM
laurc Offline
Registered User
 
Join Date: Apr 2011
Posts: 4
linuxchrome
Re: problem creating xorg.conf in Fedora 14

Thanks again,
I will try on my next boot. In the mean time I got it working by using "Merged Framebuffer" (MergedFB).
In this mode I could turn off the Mirror mode on the DVI pair.

Still some small problems:
- on startup, the mouse gets stuck in one display (can not move on the other displays) until I do a right click .... ???
- also on startup - sometimes - I can not completely move a window between the two DVI displays that are under the same X (it goes about 3/4 then the mouse capture blocks it) ???
- sometime the windows don't refresh (I need to move them around) - this happened even before messing with the xorg.conf.
I assume there is something funky in my window manager - but for now I can leave with these...


Here is my working xorg.conf for 3 monitors (2 DVI and one DisplayLink USB on two X servers) .

Thanks for all the help.


################################################## ############
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Screen 1 "DisplayLinkScreen" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off"
Option "Clone" "off"
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
ModulePath "/usr/local/lib/xorg/modules/drivers/" # needed for the displaylink driver
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "dri2"
Load "dri"
Load "extmod"
Load "record"
Load "glx"
Load "dbe"
Load "fbdevhw"
Load "displaylink"
Load "nouveau"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
################################################## ##################
Section "Monitor"
Identifier "Monitor0"
VendorName "DELL"
ModelName "S2409W(a05f)"
Option "DPMS"
Option "Primary" "True"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "DELL"
ModelName "U2311H"
Option "DPMS"
Option "RightOf" "Monitor0"
Option "Primary" "False"
EndSection

Section "Device"
Identifier "Card0"
Option "FlatPanel" "True"
Option "DualHead" "True"
Option "MergedFB" "True"
Driver "nouveau"
BusID "PCI:1:0:0"
Option "DP-2" "Monitor0"
Option "DP-1" "Monitor1"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# Option "metamodes" "DP-1: nvidia-auto-select"
# Option "CustomEDID" "DP-1:/root/EDID-dell-S2409W"
# Option "ConnectedMonitor" "DP-1"
SubSection "Display"
Depth 24
Modes "1920x1080"
Virtual 3840 1080
EndSubSection
EndSection

############### DisplayLink Screen ######################
Section "Device"
Identifier "DisplayLinkDevice"
driver "displaylink"
Option "MergedFB" "true
Option "fbdev" "/dev/fb1"
EndSection

Section "Monitor"
Identifier "DisplayLinkMonitor"
EndSection

Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
################################################## #######
Reply With Quote
Reply

Tags
fedora 14 64 bit, nvidia, xorg.conf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error creating xorg.conf lightnb Hardware & Laptops 16 21st August 2010 12:06 AM
Fedora 11 Getting Blank Login screen after creating xorg.conf martensitephase Using Fedora 0 23rd June 2009 11:31 PM
HELP! Fedora 10 Blank Login Screen after creating xorg.conf Matt Quinn Installation and Live Media 8 15th May 2009 04:21 PM
Fedora 7 xorg.conf problem looksalot Installation and Live Media 15 9th July 2007 02:39 PM
Creating a new xorg.conf Slugkilla Using Fedora 2 31st December 2005 12:14 AM


Current GMT-time: 16:22 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat