Closed DEvry closed 13 years ago
I realize after reading this that the issue isn't clear. What happens is that when running glxgears, I get the following:
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile GL_VERSION = 2.1 Mesa 7.11 GL_VENDOR = Tungsten Graphics, Inc
at about 60 frames per second. It's what I would expect.
When I run optirun glxgears, I get:
Xlib: extension "NV-GLX" missing on display ":0". Xlib: extension "NV-GLX" missing on display ":0". [VGL] WARNING: The OpenGL rendering context obtained on X display [VGL] :0 is indirect, which may cause performance to suffer. [VGL] If :0 is a local X display, then the framebuffer device [VGL] permissions may be set incorrectly. GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile GL_VERSION = 1.4 (2.1 Mesa 7.11) GL_VENDOR = Tungsten Graphics, Inc
running between 70 and 77 frames per second.
Clearly, the nvidia driver isn't kicking in. I'm sure there's some location where the decision point is "if 'optirun' then rmmod mesa driver and insmod nvidia driver" or something along those lines. I suspect that's the point where things aren't working quite right as it appears that the nvidia driver is not loading.
Sorry for the confusion.
Wait - I think I may have found the problem. That recent nvidia upgrade 1.11 in the Debian repository appears to have a problem. This may not be a debumblebee issue...
Should be working with this update. Though I've tested only glxgears. Still we need to wait for proper updated drivers from nVidia, duh. You can patch debumblebee script locally, but I recommend to run uninstall-install sequence, as there are updated nvidia alternatives and we need to make sure that debumblee alternative is selected.
PS Please use pastebin for long listings.
First, I'd like to say 'thanks' for this project. It is very helpful.
I'm running a ThinkPad W520 with a Quadro 1000M GPU and Debian Sid with kernel 3.0.0-1.
A few days ago, I had everything working well. I wasn't paying much attention to the updates via Update Manager, but some newer pieces of the xorg package were installed, along with nvidia updates. Big mistake. Everything broke.
From single user mode, I ran the uninstall script, made sure anything with "nvidia" in the name was purged and removed xorg in an attempt to clean all traces of the problem. I then reinstalled xorg and ran the latest debumblebee install.sh.
In xorg.config.nvidia I have to added the Option "ConnectedMonitor" "DFP-0" option and change /etc/default/debumblebee to diplay 0.
Now, from gnome, glxgears works fine, but when running optirun glxgears -info, I get the following error:
Xlib: extension "NV-GLX" missing on display ":0". Xlib: extension "NV-GLX" missing on display ":0". [VGL] WARNING: The OpenGL rendering context obtained on X display [VGL] :0 is indirect, which may cause performance to suffer. [VGL] If :0 is a local X display, then the framebuffer device [VGL] permissions may be set incorrectly.
and the Mesa Sandybridge driver appears to still be running:
GL_RENDERER = Mesa DRI Intel(R) Sandybridge Mobile GL_VERSION = 1.4 (2.1 Mesa 7.11) GL_VENDOR = Tungsten Graphics, Inc
lsmod shows that the nvidia driver is not really running - (not being used, anyway). This is the different behavior I've gotten this time around - last time it was clear that nouveau was running until optirun was executed.
Should I blacklist videodev, etc?
Here's the lspci:
Module Size Used by btusb 17462 0 acpi_cpufreq 13009 1 mperf 12453 1 acpi_cpufreq cpufreq_powersave 12454 0 cpufreq_stats 12862 0 cpufreq_userspace 12576 0 cpufreq_conservative 13147 0 parport_pc 22395 0 ppdev 12763 0 lp 17270 0 parport 31929 3 parport_pc,ppdev,lp bnep 17615 2 rfcomm 33848 0 bluetooth 114376 11 btusb,bnep,rfcomm crc16 12343 1 bluetooth autofs4 27706 0 pci_stub 12429 1 binfmt_misc 13040 1 fuse 66430 3 nfsd 260662 2 nfs 259369 0 lockd 71503 2 nfsd,nfs fscache 36721 1 nfs auth_rpcgss 37204 2 nfsd,nfs nfs_acl 12511 2 nfsd,nfs sunrpc 172969 6 nfsd,nfs,lockd,auth_rpcgss,nfs_acl nvidia 11484521 0 joydev 17262 0 arc4 12458 2 uvcvideo 61887 0 videodev 66713 1 uvcvideo media 18184 2 uvcvideo,videodev i915 342883 2 v4l2_compat_ioctl32 16567 1 videodev e1000e 124997 0 i2c_i801 16870 0 drm_kms_helper 27216 1 i915 drm 163280 3 i915,drm_kms_helper iwlagn 166455 0 i2c_algo_bit 12850 1 i915 sdhci_pci 13304 0 sdhci 26511 1 sdhci_pci psmouse 55656 0 i2c_core 23909 7 nvidia,videodev,i915,i2c_i801,drm_kms_helper,drm ,i2c_algo_bit thinkpad_acpi 61450 0 mmc_core 63601 1 sdhci ac 12624 0 tpm_tis 13152 0 snd_hda_codec_conexant 45375 1 battery 13109 0 xhci_hcd 68261 0 nvram 13045 1 thinkpad_acpi tpm 17819 1 tpm_tis power_supply 13475 2 ac,battery snd_hda_intel 26140 1 snd_hda_codec 72699 2 snd_hda_codec_conexant,snd_hda_intel tpm_bios 12944 1 tpm mac80211 182631 1 iwlagn wmi 13243 0 serio_raw 12846 0 pcspkr 12579 0 processor 27942 9 acpi_cpufreq snd_hwdep 13186 1 snd_hda_codec snd_pcm 68104 2 snd_hda_intel,snd_hda_codec video 17707 1 i915 button 12930 1 i915 snd_seq 45208 0 snd_timer 22581 2 snd_pcm,snd_seq snd_seq_device 13137 1 snd_seq cfg80211 132564 2 iwlagn,mac80211 snd 52823 11 thinkpad_acpi,snd_hda_codec_conexant,snd_hda_in tel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device soundcore 13152 1 snd snd_page_alloc 13043 2 snd_hda_intel,snd_pcm rfkill 19080 5 bluetooth,thinkpad_acpi,cfg80211 ata_generic 12479 0 ata_piix 25358 0 isofs 35232 0 usbhid 40516 0 hid 73172 1 usbhid uhci_hcd 26787 0 mptspi 18059 0 mptscsih 22653 1 mptspi mptbase 56668 2 mptspi,mptscsih scsi_transport_spi 23822 1 mptspi ext2 63732 1 ext3 114399 0 jbd 43355 1 ext3 mbcache 13066 2 ext2,ext3 reiserfs 197263 3 generic 12490 0 onenand 39556 1 generic mtd 24216 2 generic,onenand dm_mod 63164 9 ide_cd_mod 30634 0 ide_gd_mod 28308 0 ide_core 76322 2 ide_cd_mod,ide_gd_mod loop 64124 2 sg 25985 0 sr_mod 21811 0 sd_mod 36259 5 cdrom 35093 2 ide_cd_mod,sr_mod crc_t10dif 12348 1 sd_mod usb_storage 47996 2 ahci 25089 1 libahci 22767 1 ahci libata 149043 4 ata_generic,ata_piix,ahci,libahci scsi_mod 162442 8 mptspi,mptscsih,scsi_transport_spi,sg,srmod,sd mod,usb_storage,libata evdev 17558 10 thermal 17426 0 thermal_sys 17949 3 processor,video,thermal ehci_hcd 40090 0 usbcore 128338 8 btusb,uvcvideo,xhci_hcd,usbhid,uhci_hcd,usb_stor age,ehci_hcd
thoughts?
Thanks, David