?
Solved

Need help getting Xorg.conf dual head configured

Posted on 2014-01-24
15
Medium Priority
?
1,038 Views
Last Modified: 2014-02-18
Hi Guys,

Having some challenges getting Xorg.conf sorted.

Everything was fine, then I installed an nVidia geforce 6200 card that I had from a previous build and installed kmod-nvidia from elrepo - hell then broke loose.

Did some tinkering with a generic xorg.conf and get one monitor working "screen 0" (Connected on VGA), the other - "Screen 1" (connected on VGA) just has flashing cursor. I'm not sure what modules to load in xorg.conf.

Running 2.6.32-431.3.1.el6.x86_64 kernel on 8gb ram and i5 quad core processor.

Another thing that has gone wrong is that when I try to watch video in VLC  CPU usage jumps to 100% but the video is blotchy and I'm forced to kill it.


OUTPUT OF: xrandr

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
VGA-0 connected 1280x1024+0+0 338mm x 270mm
   1280x1024      60.0 +   75.0*
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
HDMI-0 disconnected
DisplayPort-0 disconnected
HDMI-1 disconnected
DisplayPort-1 disconnected



OUTPUT OF: lspci | grep vga

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
07:00.0 VGA compatible controller: NVIDIA Corporation NV44A [GeForce 6200] (rev a1)

xorg.conf & Xorg.0.log attached.
Xorg.0.log
xorg.conf.txt
0
Comment
Question by:bimrock
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 4
  • 2
15 Comments
 
LVL 14

Accepted Solution

by:
ThomasMcA2 earned 486 total points
ID: 39806542
Hmmm, I can't help with the driver issue, but maybe the wrong settings in xorg.conf is breaking things. So try this:

1) Rename xorg.conf. It is not needed for default settings.
2) Connect your 2nd monitor.
3) Run xrandr (without any parms) to see the device names
4) To enable the 2nd monitor, run an xrandr command like this (using your device names)

xrandr --output VGA-0 --auto --output VGA-1 --auto --right-of LVDS

Remember to change VGA-1 to the 2nd device name returned from the xrandr command.

The --auto switch tells xrandr to use the default resolution for that device. I have had pretty good results with no xorg.conf and the --auto switch.

The above xrandr command even works for me at work when connecting to various overhead projectors.
0
 

Author Comment

by:bimrock
ID: 39806688
Ok Thanks, will give this a try.
0
 

Author Comment

by:bimrock
ID: 39808150
Ok so I tried the suggestion and here are the results:

When I run with no xorg.conf file the display appears fine until I login to the desktop and then all of the icons and text are upside down.

Interesting enough the xrandr command only locates 1 monitor so part of this may be a driver issue.

The output from xrandr is:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
VGA-0 connected 1280x1024+0+0 338mm x 270mm
   1280x1024      60.0 +   75.0*
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
HDMI-0 disconnected
DisplayPort-0 disconnected
HDMI-1 disconnected
DisplayPort-1 disconnected
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 14

Expert Comment

by:ThomasMcA2
ID: 39808158
Does the nVidia D/L page have your driver?
0
 

Author Comment

by:bimrock
ID: 39808233
Apparently not... I tried installing the linux X64 (AMD/EM64T) Display driver version 325.15 which does not work with my GPU so I reverted to the 304.1190 version and it worked after I killed xvnc (had to run in runlevel 3 so X was not running). It ran to completion, however on reboot it now identifies my card as VGA1 but still doesn't recognise the nVidia card.

The thing is that I know the monitor is working for sure and I am assuming that the nVidia card is still working as the BIOS picks it up and uses it to display the POST info before it switches to the onboard VGA...
0
 
LVL 62

Assisted Solution

by:gheist
gheist earned 489 total points
ID: 39808572
nvidia driver is not friend of original xorg drivers
try removing nvidia driver and using nouveau.

Both drivers will work perfectly, just DELETE xorg.conf for auto-detection to work
http://nouveau.freedesktop.org/wiki/FeatureMatrix/
0
 

Author Comment

by:bimrock
ID: 39808799
Will give that a try was using nouveau before and got no love though so blacklisted it to try the nvidia... Linux is a horrible mistress.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39808817
Nope, everything just works out of the box...

You need vdpau capable player to get kicks from HD2000 or nouveau... (not vlc, more like mplayer & co)
0
 

Author Comment

by:bimrock
ID: 39860896
Sorry for the delay guys (had some other fires to put out), tried everything but got no love from the Nvidia so I found an old ATI Radeon which the is recognised but now I am not seeing the onboard card... will have a go at that shortly...

the output of lspci | grep VGA now gives:

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV610 [Radeon HD 2400 PRO/XT]
0
 

Author Comment

by:bimrock
ID: 39861315
Hi Guys,

So here's what I ended with:

Disabled onboard intel card
Used AMD ATI Radeon HD 2400 which give two VGA outputs - which incidentally is recognised by Centos 6.5 native.

xrandr now gives:

Screen 0: minimum 320 x 200, current 2560 x 1280, maximum 8192 x 8192
DIN disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
DVI-1 connected 1024x1280+0+0 left (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  


Thanks so much for all your help.
0
 

Author Closing Comment

by:bimrock
ID: 39861318
Ultimately the troubleshooting steps helped me to understand the problem more and get to a conclusion - Nvidia cards are more stress than profit. Just use Intel / AMD.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39861325
elrepo.org have the "latest" driver repository
Maybe all cards work at once...
0
 

Author Comment

by:bimrock
ID: 39864994
Thanks.
0
 
LVL 62

Expert Comment

by:gheist
ID: 39865913
Not really that cards are bad. nvidia driver replaces opengl libraries, so it cannot work with other xorg drivers. Radeon on the other hand is well supported by xorg-s drivers.
0
 

Author Comment

by:bimrock
ID: 39867814
Ahh... noted.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question