dusf
2011-May-19 10:42 UTC
[Wine] Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau
Since upgrading from Ubuntu 10.10 I have had problems with graphics. The problems started after I initially upgraded to Ubuntu 11.04 but then installed xubuntu-desktop over it, but I have had the same problem all my fresh installs of Xubuntu 11.04 too. FPS previously averaging about 30 or 35 FPS while playing an OpenGL game with WINE now starts at 20 FPS for 2 or 3 minutes and then slows down to 2-5 FPS. Unfortunately Applications Menu >> System >> Additional Drivers or jockey shows:> The driver is activated but not currently in use.Restart and/or switching to the other driver, and/or back, and/or restarting does nothing. Code: dusf at banshee:~$ lspci -k ... 01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1) Subsystem: Dell Device 0405 Kernel driver in use: nvidia Kernel modules: nvidia-current, nvidia-173, nouveau, nvidiafb Although now Kernel modules also includes 'nvidia' after my attempts to fix the problem which I shall get on to. I was advised on the WINE HQ forums:> You are using both the proprietary and FOSS drivers. Remove the FOSS > drivers (nouveau) and use only the nVidia supplied drivers.I used *synaptic to uninstall xserver-xorg-video-nouveau as there is no package which is just 'nouveau'. Edited a line in /etc/default/grub to: Code: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset rdblacklist=nouveau" Then: Code: sudo update-grub On rebooting none of these measures made any difference to FPS performance, or the kernel modules listed in lspci -k. Further following advice from the WINE HQ forums I executed: Code: sudo modprobe -r nouveau but the above also made no difference to FPS performance, or the kernel modules listed in lspci -k. I tried another fresh install of Xubuntu 11.04, formatting /home and /boot partition (if relevant), and as advised from #Xubuntu on freenode I installed all updates before going near jockey or Applications Menu >> System >> Additional Drivers but nothing had changed from there or the output of lspci -k. On further advice last night from #Xubuntu I *executed: Code: sudo apt-get --purge remove xserver-xorg-video-nouveau And then added the following lines to the bottom of /etc/modprobe.d/blacklist.conf: Code: blacklist vga16fb blacklist nouveau blacklist rivafb blacklist nvidiafb blacklist rivatv I saved the file, and then rebooted into recovery mode to bring up a tty without x running where I had to chmod +x NVIDIA-Linux-x86-270.41.06.run before installing which warned me there was a problem with the preconfigured distribution script but installed anyway. On logging in lspci -k now outputs Code: 01:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1) Subsystem: Dell Device 0405 Kernel driver in use: nvidia Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau, nvidiafb ...which includes the additional nvidia module but jockey still is the same and I just confirmed my FPS will still start at 20 FPS and drop to 2-5 FPS shortly after starting an OpenGL game with WINE. dusf at banshee:~$ jockey-text -l xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use) xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, Not in use) etc/X11/xorg.conf: Code: Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection My post is #21 on https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/726496 although I'm not sure it's the exact same bug, as I seem to have two of the different problems mentioned, and then some. Where do I go from here? I want to keep trying to fix this problem, but I will downgrade to Xubuntu 10.10 if absolutely necessary.
dusf
2011-May-19 13:41 UTC
[Wine] Re: Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau
Tried: Code: dusf at banshee:~$ echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf [sudo] password for dusf: options nouveau modeset=0 dusf at banshee:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic cryptsetup: WARNING: failed to detect canonical device of /dev/sda9 cryptsetup: WARNING: could not determine root device from /etc/fstab But unfortunately after a reboot lspci -k still outputs: Code: Kernel driver in use: nvidia Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau, nvidiafb
Frédéric Delanoy
2011-May-19 22:32 UTC
[Wine] Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau
On Thu, May 19, 2011 at 15:41, dusf <wineforum-user at winehq.org> wrote:> Tried: > > > Code: > dusf at banshee:~$ echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf > [sudo] password for dusf: > options nouveau modeset=0 > dusf at banshee:~$ sudo update-initramfs -u > update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic > cryptsetup: WARNING: failed to detect canonical device of /dev/sda9 > cryptsetup: WARNING: could not determine root device from /etc/fstab > > > > But unfortunately after a reboot lspci -k still outputs: > > > Code: > > Kernel driver in use: nvidia > Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau, nvidiafbUse ubuntu-x-swat PPA to get latest nVidia blob. Activate it via hardware/additional drivers (aka jockey IIRC) Then restart X (or Ubuntu if you prefer)
dusf
2011-May-20 10:42 UTC
[Wine] Re: Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau
[/quote] Use ubuntu-x-swat PPA to get latest nVidia blob. Activate it via hardware/additional drivers (aka jockey IIRC) Then restart X (or Ubuntu if you prefer)[/quote] I have the latest from NVIDIA's own site already, but as it happens it's the same as nvidia-current provided by Ubuntu.
dusf
2011-May-20 13:27 UTC
[Wine] Re: Kernel modules: nvidia, nvidia-173, nvidia-current, nouveau
Fr??d??ric Delanoy wrote:> On Fri, May 20, 2011 at 12:42, dusf <wineforum-user at winehq.org> wrote: > > Use ubuntu-x-swat PPA to get latest nVidia blob. Activate it via > hardware/additional drivers (aka jockey IIRC) > Then restart X (or Ubuntu if you prefer)I have the latest from NVIDIA's own site already, but as it happens it's the same as nvidia-current provided by Ubuntu. [/quote] The point is custom Ubuntu packages are generally less likely to cause problem than generic Unix NVIDIA installer[/quote] Okay, I had thought on reading that that just means I would have the driver installed which I did before going to NVIDIA's site, but on searching synaptic for nvidia I see there's nvidia-glx-173, which I'm assuming is what I had before because it's shown in jockey, but also a nvidia-glx-185 (270.41.06-0ubuntu1). Neither of these are shown as installed because I ran the NVIDIA script from a TTY. So will I just sudo apt-get install nvidia-glx-185?