LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RHEL 6.4 Xorg Configuration using NVIDIA Corporation GK107 [GeForce GT 640] (https://www.linuxquestions.org/questions/linux-newbie-8/rhel-6-4-xorg-configuration-using-nvidia-corporation-gk107-%5Bgeforce-gt-640%5D-4175509752/)

stsandwich 07-01-2014 09:46 AM

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!

John VV 07-01-2014 11:41 AM

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

stsandwich 07-01-2014 01:27 PM

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.

John VV 07-02-2014 12:56 PM

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

stsandwich 07-02-2014 01:21 PM

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.

Germany_chris 07-02-2014 03:04 PM

on most motherboards I've owned once you put a graphics card in it disables you cannot use the integrated graphics for a monitor.

stsandwich 07-02-2014 04:01 PM

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?

John VV 07-02-2014 04:06 PM

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


All times are GMT -5. The time now is 11:31 AM.