[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NVIDIA OpenGL driver



On Saturday, October 20, 2012 11:58 PM, Kelly Clowers wrote:
This needs to go to the list, not me

On Sat, Oct 20, 2012 at 2:47 AM, Zhigang Song<1005411480a@gmail.com>  wrote:
On Friday, October 19, 2012 11:16 PM, Kelly Clowers wrote:
On Fri, Oct 19, 2012 at 6:34 AM, Zhigang Song<1005411480a@gmail.com>
wrote:
I can't use any OpenGL program after I installed Nvidia driver on my
laptop,
the error message is : invalid opengl context.

my graphic card is Geforce GT 630M, Cpu is core i5-2450M

Do you mean you installed the Nvidia binary driver or do you mean the
Nouveau Open Source driver?

Please post the first five or so lines of output from running
"glxinfo" on the command line.
While we are at it, might as well post the output from "lsmod".


Cheers,
Kelly Clowers


Sorry for late reply.

I got the error message "command not found" when running 'glxinfo', I'm not
sure if I install the nvidia-glx correctly. here are the command I used when
I installed my driver:

# apt-get install module-assistant gcc nvidia-kernel-common
# m-a update
# m-a prepare
# m-a get nvidia
# m-a build nvidia
# m-a install nvidia
# apt-get install nvidia-glx

and i edited my xorg.conf after these commands, I commented out 'Load "dir"'
and 'Load "dir2"'(Load "glx" is in the file),then run command "echo
nvidia>/etc/modules".


output of lsmod is blow:
Module                  Size  Used by
pci_stub               12397  1
vboxpci                18713  0
vboxnetadp             25431  0
vboxnetflt             23231  0
vboxdrv               165027  3 vboxnetflt,vboxnetadp,vboxpci
binfmt_misc            12813  1
nfsd                  173714  2
nfs                   265779  0
nfs_acl                12463  2 nfs,nfsd
auth_rpcgss            32143  2 nfs,nfsd
fscache                31978  1 nfs
lockd                  57255  2 nfs,nfsd
sunrpc                143853  6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
loop                   17810  0
snd_hda_codec_hdmi     26319  1
snd_hda_codec_realtek   142221  1
nvidia              10183049  0
uvcvideo               56896  0
videodev               61658  1 uvcvideo
media                  13692  2 videodev,uvcvideo
joydev                 17010  0
arc4                   12418  2
ath9k                  67776  0
ath9k_common           12648  1 ath9k
ath9k_hw              311354  2 ath9k_common,ath9k
snd_hda_intel          21856  2
ath                    17114  3 ath9k_hw,ath9k_common,ath9k
snd_hda_codec          63477  3
snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
mac80211              171359  1 ath9k
snd_hwdep              12943  1 snd_hda_codec
snd_pcm                53390  3
snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
i915                  307698  2
snd_page_alloc         12867  2 snd_pcm,snd_hda_intel
drm_kms_helper         22699  1 i915
drm                   134178  3 drm_kms_helper,i915
snd_seq                39487  0
snd_seq_device         13016  1 snd_seq
acpi_cpufreq           12807  0
acer_wmi               21651  0
ac                     12552  0
battery                12957  0
i2c_algo_bit           12713  1 i915
cfg80211              117454  3 mac80211,ath,ath9k
snd_timer              22356  2 snd_seq,snd_pcm
psmouse                54927  0
snd                    42691  13
snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
power_supply           13283  2 battery,ac
evdev                  17225  19
serio_raw              12803  0
sparse_keymap          12680  1 acer_wmi
rfkill                 18516  3 cfg80211,acer_wmi
i2c_i801               12670  0
mperf                  12421  1 acpi_cpufreq
iTCO_wdt               16945  0
iTCO_vendor_support    12632  1 iTCO_wdt
wmi                    13051  1 acer_wmi
i2c_core               19116  7
i2c_i801,i2c_algo_bit,drm,drm_kms_helper,i915,videodev,nvidia
coretemp               12770  0
soundcore              12921  1 snd
processor              27565  1 acpi_cpufreq
button                 12817  1 i915
video                  17412  1 i915
pcspkr                 12515  0
crc32c_intel           12659  0
aesni_intel            17913  2
aes_i586               16608  1 aesni_intel
aes_generic            32970  2 aes_i586,aesni_intel
cryptd                 14125  1 aesni_intel
ext4                  302665  3
crc16                  12327  1 ext4
jbd2                   52246  1 ext4
mbcache                12897  1 ext4
sg                     21476  0
sr_mod                 17468  0
sd_mod                 35425  5
cdrom                  34813  1 sr_mod
crc_t10dif             12332  1 sd_mod
ahci                   20821  4
libahci                18308  1 ahci
ehci_hcd               35509  0
libata                124981  2 libahci,ahci
usbcore               104352  3 ehci_hcd,uvcvideo
usb_common             12338  1 usbcore
sdhci_pci              13576  0
scsi_mod              135124  4 libata,sd_mod,sr_mod,sg
sdhci                  22377  1 sdhci_pci
mmc_core               61993  2 sdhci,sdhci_pci
thermal                13103  0
thermal_sys            17752  3 thermal,video,processor
tg3                   109180  0
libphy                 18490  1 tg3



i had solved it ----- I followed this:http://wiki.debian.org/NvidiaGraphicsDrivers and reinstalled my graphic driver. Command "glxinfo" need to install package "mesa-utils".


Reply to: