LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2014, 10:46 AM   #1
stsandwich
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
RHEL 6.4 Xorg Configuration using NVIDIA Corporation GK107 [GeForce GT 640]


Hi, I'm currently trying to configure my computer to support three monitors on RHEL 6.4.
Edit: I've realized I am actually using RHEL 6.5

I'm new to linux and I am struggling trying to configure my computer to detect all three monitors. I am using the integrated VGA port on my motherboard for Screen 0. Screen 1 and Screen 2 are both connected to my NVIDIA GeForce GT 640 graphics card HDMI ports. Currently, the screen using the integrated VGA port is working, but the two that are connected to the nvidia ports simply display a black screen with "RED HAT ENTERPRISE LINUX 6".

Right now when I use xrandr, it shows that VGA1 is connected but no others.

xrandr

Code:
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
VGA1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 434mm x 236mm
   1600x900       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  
HDMI2 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
These are the VGA controllers I have.

lspci

Code:
lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: eVga.com. Corp. Device 2645
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at f7000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nvidia, nouveau, nvidiafb

00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0581
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Memory at f7400000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915
I have not gotten the propietary nvidia drivers to work at all. I have installed the driver and configured it. When I use "modprobe nvidia", it added the nvidia driver to the i2c_core module, and I'm not sure where to go from there. So instead, I am currently trying to use the nouveau driver. This is my current module set up.

lsmod

Code:
lsmod | grep "nouveau"
nouveau               995351  0 
ttm                    80590  1 nouveau
drm_kms_helper         44321  2 i915,nouveau
drm                   280012  5 i915,nouveau,ttm,drm_kms_helper
i2c_algo_bit            5935  2 i915,nouveau
i2c_core               31084  6 i2c_i801,i915,nouveau,drm_kms_helper,drm,i2c_algo_bit
mxm_wmi                 1967  1 nouveau
video                  20674  2 i915,nouveau
wmi                     6287  2 nouveau,mxm_wmi


Originally, there was no xorg.conf file in /etc/X11/, however, after installing the propietary nvidia driver and using the command X -configure, the nvidia driver created a xorg.conf file. However, whenever a xorg.conf file exists in my /etc/X11/ folder, the X server will not load and instead hangs during bootup.

I have tried editing the xorg.conf file to fit my current configuration, but the problem still persists.

xorg.conf


Code:
Section "ServerLayout"
    Identifier     "DualScreen"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      1  "Screen2" RightOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
    ModulePath      "/lib/modules/2.6.32-431.20.3.el6.x86_64/kernel/drivers/video/nvidia.ko"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from data in "/etc/sysconfig/keyboard"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc105"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "Enable" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    Option         "Enable" "true"
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    Option         "Enable" "true"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "i915"
    VendorName     "Intel Corporation"
    BusID          "00:02.0"
    Screen         0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    BusID          "01:00.0"
    Screen         1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device1"
    Monitor        "Monitor2"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Where can I go from here? I've explored all the options I'm aware of. If any additional information is needed to analyze this situation, let me know and I can provide it. Thanks!

Last edited by stsandwich; 07-01-2014 at 02:28 PM.
 
Old 07-01-2014, 12:41 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
I have not gotten the propietary nvidia drivers to work at all
on rhel6.4
you might want to upgrade to the current 6.5

to install the .run driver you MUST install gcc and the kernel source
and for that you 100% MUST have bought the required support contract
you need that to install software
Code:
su -
yum install kernel-devel 
--------- then this --------------
yum groupinstall "Development Tools"
if you are NOT paying for redhat
-- DO NOT USE IT --

there is a FREE rebuild of redhat called CentOS
install that if you are not going to pay for redhat

Last edited by John VV; 07-01-2014 at 12:42 PM.
 
Old 07-01-2014, 02:27 PM   #3
stsandwich
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
on rhel6.4
you might want to upgrade to the current 6.5
I realized I actually am on version 6.5.

Quote:
to install the .run driver you MUST install gcc and the kernel source
and for that you 100% MUST have bought the required support contract
you need that to install software
I have successfully installed the driver using the guide shown here: http://www.tecmint.com/install-nvidia-drivers-in-linux/. My issue is that after installing it, I cannot find a way for the system to recognize the driver and use it because the xorg.conf file causes the system to hang on boot. Using rm /etc/X11/xorg.conf before starting the X server fixes this issue, but I am left right where I started.
 
Old 07-02-2014, 01:56 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
the .run driver has a option to blacklist "Nouveau" and to make a new xorg.conf
it is one of the questions you said " yes / agree " to
this here states you did not fallow that guide
the nouveau driver was not blacklisted and you did not rebuild the boot image
Code:
Section "Device"
    Identifier     "Device1"
    Driver         "nouveau"
    VendorName     "NVIDIA Corporation"
    BusID          "01:00.0"
    Screen         1
EndSection
the new boot image after you blacklist neveau
Code:
su -
---------- type in your root password ----------------
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak 

------------then this ----------------

dracut -v /boot/initramfs-$(uname -r).img $(uname -r)
then reinstall the .run driver
 
Old 07-02-2014, 02:21 PM   #5
stsandwich
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
I can, and have, successfully blacklisted nouveau. At this point I do not have nouveau driver blacklisted. I am attempting to use it as my driver, rather than the proprietary driver. I had originally followed that guide when my intention was to use the nvidia driver. After following the guide, my X server would hang on booting up, so I am exploring other options.

Since it appears I am closer to getting the nouveau driver to work than the nvidia driver, I have decided to pursue that option.

I manually edited this text below:

Code:
Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID          "01:00.0"
    Screen         1
EndSection
To, instead, read:

Code:
Section "Device"
    Identifier     "Device1"
    Driver         "nouveau" #Changed "nvidia" to "nouveau", manually.
    VendorName     "NVIDIA Corporation"
    BusID          "01:00.0"
    Screen         1
EndSection
This is because I am trying to get the device to use the nouveau driver. It doesn't really matter at this point, however, because no matter what I write in my xorg.conf file, it will cause the system to hang when booting the X server.

I am not attatched to using either driver. I only want to get a driver to work, be it the nvidia driver or the nouveau driver.
 
Old 07-02-2014, 04:04 PM   #6
Germany_chris
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Arch
Posts: 1,021

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
on most motherboards I've owned once you put a graphics card in it disables you cannot use the integrated graphics for a monitor.
 
Old 07-02-2014, 05:01 PM   #7
stsandwich
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
on most motherboards I've owned once you put a graphics card in it disables you cannot use the integrated graphics for a monitor.
This shouldn't be an issue with the motherboard. Using the exact same hardware configuration works when booting using Windows 7 and all three monitors work correctly. I was able to do this because the nvidia driver installation was successful on Windows.

Do you think the issue is with the driver?
 
Old 07-02-2014, 05:06 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
the Nouveau driver dose not work well for multiple monitors

seeing as this IS RHEL6
the FULL instructions for REPLACING nouveau with Nvidia is in the knowledge base
a step by step

log into the redhat site
and use the search
https://access.redhat.com/search/browse/search
 
  


Reply

Tags
nouveau, nvidia drivers, rhel, xorg.conf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Corporation G96 [GeForce 9600M GT]/ Debian Wheezy lindylex Linux - Laptop and Netbook 7 10-10-2013 03:51 PM
Having problem getting higher resolutions with nVidia Corporation C51 GeForce 6150LE leinad11 Linux - Hardware 2 09-14-2009 10:28 PM
nvidia geforce 6200 video card and xorg.conf lestoil Slackware 5 05-09-2009 01:34 PM
need Driver for "nVidia Corporation NV43 [GeForce 6600] (rev a2)" graphics card dth4h Linux - Hardware 7 05-04-2009 12:23 AM
XORG Issues with nVidia GeForce 6100 richinsc Debian 9 12-24-2007 11:12 AM


All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration