LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-08-2007, 07:58 AM   #1
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Rep: Reputation: 37
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!
 
Old 06-08-2007, 08:56 AM   #2
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
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 installedand 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
 
Old 06-08-2007, 09:27 AM   #3
DJOtaku
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora 25;CentOS 7; Kubuntu; Debian
Posts: 860

Original Poster
Rep: Reputation: 37
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.
 
  


Reply



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
Help! Program Crashes in Mepis pblogic Linux - Newbie 1 02-12-2005 02:25 PM
why my program crashes as a background application? iclinux Programming 5 01-19-2005 11:11 AM
find files program crashes paul62 Slackware 1 11-23-2004 02:08 PM
Redhat 9 'up2date' program always crashes! mindfestival Linux - Software 5 04-05-2004 12:10 PM
XLib program crashes with BadWindow jasonar79 Programming 0 03-15-2004 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:32 PM.

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
Open Source Consulting | Domain Registration