At the bottom of the SOLVED message, I noted that one program didn't work. That one is SeeVogh teleconverencing (research.seevogh.org). Today I discovered a Matlab application (one of mine) that produced the same symptoms.

To skip to the end: Setting Matlab to use software opengl fixes that problem.

*Symptoms

*When running a program that encounters this problem, X11 crashes and the current session logs out bringing you to the login window. All programs are immediately terminated.

When running NVidia settings from the menu and attempting to check OpenGL/GLX Information, that program exits immediately.

*Error messages and logs

*Since these programs crash the only information I've found is in $HOME/.xsession-errors.old and /var/log/Xorg.log.old

The NVidia settings program, .xsession-errors:

   Gdk-ERROR **: The program 'nvidia-settings' received an X Window
   System error.
   This probably reflects a bug in the program.
   The error was 'BadWindow (invalid Window parameter)'.
      (Details: serial 771 error_code 3 request_code 137 minor_code 4)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the --sync command line
       option to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error()
   function.)
   aborting...

Matlab and SeeVogh have:

   Window manager warning: gnome-session: Fatal IO error 11 (Resource
   temporarily unavailable) on X server :0.0.

/var/log/Xorg.log.old has:

   Backtrace:
   [ 37353.205] 0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x467998]
   [ 37353.205] 1: /usr/bin/Xorg (0x400000+0x6bf99) [0x46bf99]
   [ 37353.205] 2: /lib64/libpthread.so.0 (0x32a0400000+0xf500)
   [0x32a040f500]
   [ 37353.205] Segmentation fault at address (nil)
   [ 37353.205]
   Fatal server error:
   [ 37353.205] Caught signal 11 (Segmentation fault). Server aborting
   [ 37353.205]
   [ 37353.205]
   Please consult the Scientific Linux support
         at https://www.scientificlinux.org/maillists
     for help.
   [ 37353.205] Please also check the log file at "/var/log/Xorg.0.log"
   for additional information.
   [ 37353.205]

*Request

*I've attached my xorg.conf, which I think is the most probable source of the problem.

I'd appreciate any suggestions on how to fix this so these programs can use hardware OpenGL, or how to get everything to use software OpenGL as a workaround while still being able use the GPU for crunching.

Also any avenues to allow me to dig deeper would help.

Thanks,

Joe

-----------------Excuse me for top posting on a bottom posting thread but this is just background below-------

On 03/10/2013 08:57 AM, Joseph Areeda wrote:

On 03/10/2013 08:02 AM, Florian Philipp wrote:
Am 10.03.2013 14:53, schrieb Phil Perry:
On 10/03/13 13:11, Florian Philipp wrote:
Am 09.03.2013 21:59, schrieb Joseph Areeda:
I need some advice on how to turn on RANDR.

I have a few systems with nVidia GPU 5xx and 6xx series.  Latest kmod
drivers, multiple monitors with Xinerama enabled.

Newer systems work fine but I have once that been upgraded since before
the 2 were compatible.  I have libXrandr installed but it doesn't seem
to be enabled.

[...]

Thank you Florian and Phil. I got it to work. Here's the procedure I used. I make no claim that it is optimal.
------------------------------------------------------------------------

*Problem*:

When using multiple monitors with nVidia drivers some programs require RANDR (Resize, rotate, AND, Reflect). If it's not available, they exit with an error available in $HOME/.xsession-errors or the terminal window noting RANDR is not available.

If Scientific Linux was upgraded from older versions during which RANDR and kmod-nvidia were incompatible, it is necessary to "fix" /etc/xorg.conf.

*Prerequisites*:

My reading suggests that to use RANDR with nVidia drivers those drivers must be newer than 302.x I am using 310.32, current as of 2013-3-10. I have not verified when this support was added.

The package libXrandr must be installed. I'm using 1.3.0 but have no idea what the minimum version might be.

*Procedure*:

  * Remove /etc/xorg.conf (sudo mv /etc/xorg.conf /etc/xorg.conf.bak)
  * Reboot (X will not start) into command line terminal.  Or log in
    remotely via ssh
  * run nvidia-settings with no options.  This will create a default
    xorg.conf
  * reboot (X will start)
  * Now run the NVIDIA X Server settings from the System menu, or
    nvidia-config-display from the command line.
      o On the X-server Display Configuration tab, Configuration
        should be TwinView
      o As far as I can tell you have to argue with program to
        convince it how you want the rest of the options to display.

------------------------------------------------------------------------

I can now run AisleRight Solitaire without going through a VNC server and for free I can also run my scanner software but I seem to still have issues with my teleconferencing software but that might be something else.

Thanks for all your help.

Joe




# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 310.32  (buildmeister@swio-display-x86-rhel47-01)  
Mon Jan 14 15:51:37 PST 2013

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 310.32  (buildmeister@swio-display-x86-rhel47-01)  
Mon Jan 14 15:51:51 PST 2013

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    FontPath        "/usr/share/fonts/default/Type1"
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      "Ancor Communications Inc ASUS VS228"
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 560"
EndSection

Section "Screen"

# Removed Option "nvidiaXineramaInfoOrder" "DFP-2"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP-0: nvidia-auto-select +1920+0 
{rotation=270}, DFP-2: nvidia-auto-select +0+0; DFP-0: nvidia-auto-select +0+0 
{rotation=270}; DFP-0: 1680x1050 +0+0 {rotation=270}; DFP-0: 1440x900 +0+0 
{rotation=270}; DFP-0: 1280x1024 +0+0 {rotation=270}; DFP-0: 1280x1024_60 +0+0 
{rotation=270}; DFP-0: 1280x960 +0+0 {rotation=270}; DFP-0: 1280x800 +0+0 
{rotation=270}; DFP-0: 1280x720 +0+0 {rotation=270}; DFP-0: 1152x864 +0+0 
{rotation=270}; DFP-0: 1024x768 +0+0 {rotation=270}; DFP-0: 1024x768_70 +0+0 
{rotation=270}; DFP-0: 1024x768_60 +0+0 {rotation=270}; DFP-0: 800x600 +0+0 
{rotation=270}; DFP-0: 800x600_72 +0+0 {rotation=270}; DFP-0: 800x600_60 +0+0 
{rotation=270}; DFP-0: 800x600_56 +0+0 {rotation=270}; DFP-0: 640x480 +0+0 
{rotation=270}; DFP-0: 640x480_60 +0+0 {rotation=270}"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Reply via email to