LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   X crashes on use of GL program (https://www.linuxquestions.org/questions/linux-hardware-18/x-crashes-on-use-of-gl-program-560184/)

DJOtaku 06-08-2007 07:58 AM

X crashes on use of GL program
 
If I launch glx gears, blender, etc X crashes and reloads.

I'm using Fedora 7 - upgraded from FC6 and nVidia driver from livna. livna's nVidia drivers have served me well for the life of FC6. (And maybe FC5, I don't remember)

I have a dual screen setup and Fedora's setup utility refused to allow me to set it up whether it was with nv, noveau, or nVidia. So I used nVidia's utility to make my xorg.conf. I think it's possible something is missing from there.

here's my xorg.conf:

Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder3)  Fri Apr 13 13:36:32 PDT 2007

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

Section "Files"

    FontPath        "unix/:7100"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
EndSection

Section "ServerFlags"
    Option        "Xinerama" "0"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "DELL E770s"
    HorizSync      30.0 - 70.0
    VertRefresh    50.0 - 160.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Videocard0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName      "GeForce FX 5500"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "TwinView" "1"
    Option        "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: 1280x1024 +1280+0; CRT-0: 1280x960 +0+0, CRT-1: nvidia-auto-select +1280+0; CRT-0: 1280x800 +0+0, CRT-1: nvidia-auto-select +1280+0; CRT-0: 1152x864 +0+0, CRT-1: nvidia-auto-select +1152+0; CRT-0: 1152x768 +0+0, CRT-1: nvidia-auto-select +1152+0; CRT-0: 1024x768 +0+0, CRT-1: nvidia-auto-select +1024+0; CRT-0: 800x600 +0+0, CRT-1: nvidia-auto-select +800+0; CRT-0: 640x480 +0+0, CRT-1: nvidia-auto-select +640+0"
    SubSection    "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Any help would be greatly appreciated!

DJOtaku 06-08-2007 08:56 AM

I think it might be a bad nvidia driver. But if you notice anything wrong in the xorg, let me know.

Here's the rpms I have installed:(and the search I used)

rpm -qa *nvidia*
kmod-nvidia-1.0.9762-1.2.6.21_1.3194.fc7
xorg-x11-drv-nvidia-1.0.9762-2.lvn7
xorg-x11-drv-nvidia-devel-1.0.9762-2.lvn7

Confusingly enough, kmod-nvidia-1.0.9762-1.2.6.21_1.3194.fc7 is provided by linvna, according to rpm -qi. Who knows why they chose to change their naming scheme for this?

Anyway, I uninstalled and reinstalled the rpms, just in case. Something appears to be wrong with the nvidia driver.

If it helps, here are the glx rpms I have installed: (and the search I used)

rpm -qa *glx*
glx-utils-6.5.2-10.fc7
rss-glx-kde-0.8.1.p-6.fc6
rss-glx-0.8.1.p-6.fc6
glitz-glx-devel-0.5.6-5.fc7
rss-glx-xscreensaver-0.8.1.p-6.fc6
glitz-glx-0.5.6-5.fc7
rss-glx-gnome-screensaver-0.8.1.p-6.fc6

DJOtaku 06-08-2007 09:27 AM

YES/darn.....

It automagically fixed itself. I'm not happy about that because I don't know how to fix this in the future and neither do any readers who come here.

The only thing that I *maybe* did differently was add another EndSection to my xorg.conf - but I'm not 100% sure that wasn't there before. (When I tried something I had to redo the xorg.conf and then copied from here, so I may have copied to here wrong or copied from here wrong) It was missing an EndSection at the end of xorg.conf.

Well, since I use Blender a lot, I'm glad that's fixed. But how annoying....I mean, I'm glad it's fixed but any of you true linux types will also be dissapointed.


All times are GMT -5. The time now is 01:43 AM.