← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Bumblebee test on PCI ID: 10de:0a75

 

Vga switcheroo reports that can handle the card. The problem is a
conflict with the method called to turn off the card at system startup.

Try to disable the bumblebee "turnoff on startup" script, it seems that
it's not turning off the card correctly, that's why you see this kind of
message:
 FATAL: Error inserting nvidia_current
(/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such
device

Vga-switcheroo will work when the card is on and usable (nouveau driver
loaded).
The workaround to use vga-switcheroo is to unload the nvidia driver,
load the nouveau driver, call OFF on vga-switcheroo. To turn the card on
the process is exactly tho opposite: call ON on vga-switcheroo, unload
the nouveau module, load the nvidia module.

-- 
Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>

El sáb, 16-07-2011 a las 12:16 -0800, Leonardo Morelli escribió:
> Under kubuntu 10.10 I tried the following:
> 
> $ sudo service bumblebee stop
>  * Starting Bumblebee X server bumblebee
> _PS0 Enabling nVidia Card Succeded.
> FATAL: Error inserting nvidia_current (/lib/modules/2.6.35-30-generic/updates/dkms/nvidia-current.ko): No such device
>                [ OK ]
> $ sudo rmmod nvidia-current
> ERROR: Module nvidia_current does not exist in /proc/modules
> $ sudo modprobe -v nouveau
> insmod /lib/modules/2.6.35-30-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko 
> $ dmesg | grep -i vga
> [26295.530661] VGA switcheroo: detected DSM switching method \_SB_.PCI0.P0P1.PEGP handle
> 
> the "vgaswitcheroo: enabled" doesn't show up and neither the file /sys/.../vgaswitcheroo*.
> 
> 
> 
> > -----Original Message-----
> > From: samsagax@xxxxxxxxx
> > Sent: Sat, 16 Jul 2011 15:39:52 -0300
> > To: leonrm@xxxxxxxxx
> > Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID: 10de:0a75
> > 
> > Once you mount the debugfs, the /sys/vgaswitcheroo/switch file will
> > appear when you load the nouveau driver (the vga-switcheroo module will
> > enable then, detect the DSM method and will handle acpi events from the
> > nvidia card).
> > Try this:
> > https://wiki.archlinux.org/index.php/Bumblebee#Power_Switching_Using_Vga-switcheroo
> > 
> > --
> > Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
> > 
> > El sáb, 16-07-2011 a las 07:34 -0800, Leonardo Morelli escribió:
> >> Tried mounting but mtab says it is already mounted, in fact, I can see
> >> many directories under /sys/kernel/debug except for vgaswitcheroo...
> >> 
> >> 
> >>> -----Original Message-----
> >>> From: samsagax@xxxxxxxxx
> >>> Sent: Sat, 16 Jul 2011 00:56:16 -0300
> >>> To: hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> >>> Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID:
> >>> 10de:0a75
> >>> 
> >>> You must mount the debugfs filesystem:
> >>> # mount -t debugfs none /sys/kernel/debug/
> >>> 
> >>> To mount no every boot, add this line to the file "/etc/fstab":
> >>> none /sys/kernel/debug debugfs defaults 0 0
> >>> 
> >>> --
> >>> Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
> >>> 
> >>> El vie, 15-07-2011 a las 19:24 -0800, Leonardo Morelli escribió:
> >>>> After reading https://help.ubuntu.com/community/HybridGraphics,
> >>>> the vga_switcheroo thing is enabled:
> >>>> 
> >>>> $ grep -i switcheroo /boot/config-2.6.35...
> >>>> CONFIG_VGA_SWITCHEROO=y
> >>>> 
> >>>> but the file /sys/kernel/debug/vgaswitcheroo/switch doesn't exist, nor
> >>>> even the dir vgaswitcheroo...
> >>>> (I'm running Kubuntu 10.10)
> >>>> 
> >>>> Do I need to do something else to make it appear?
> >>>> 
> >>>> 
> >>>>> -----Original Message-----
> >>>>> From: samsagax@xxxxxxxxx
> >>>>> Sent: Fri, 15 Jul 2011 23:40:51 -0300
> >>>>> To: leonrm@xxxxxxxxx
> >>>>> Subject: Re: [Hybrid-graphics-linux] Bumblebee test on PCI ID:
> >>>>> 10de:0a75
> >>>>> 
> >>>>> This "error" is spreading. Is related to the methods called to turn
> >>>>> on/off the card and the kernel being able to recognize the card again
> >>>>> once turned on. This means that either the card was not properly shut
> >>>>> down/turned on, or the kernel does not recognize it properly. Try the
> >>>>> vga-switcheroo switch, it is known to work on some machines with that
> >>>>> problem.
> >>>>> --
> >>>>> Joaquín Ignacio Aramendía <samsagax@xxxxxxxxx>
> >>>>> 
> >>>>> El vie, 15-07-2011 a las 11:48 -0800, Leonardo Morelli escribió:
> >>>>>> Well, after installing Bumblebee and running optirun glxgears, I got
> >>>>>> the
> >>>>>> "FATAL: Error inserting nvidia_current" :s
> >>>>>> The acpi calls (on and off) are working.
> >>>>>> 
> >>>>>> The thing is that after checking the /var/log/messages it says:
> >>>>>> 
> >>>>>> NVRM: The NVIDIA GPU 0000:01:00.0 (PCI ID: 10de:0a75) installed in
> >>>>>> this
> >>>>>> system is not supported by the 275.09.07 NVIDIA Linux graphics
> >>>>>> driver
> >>>>>> release.
> >>>>>> 
> >>>>>> but...
> >>>>>> 
> >>>>>> when I see the /usr/share/doc/nvidia-current/README.txt.gz, this
> >>>>>> line
> >>>>>> appears at the APPENDIX A:
> >>>>>> GeForce 310M    0x0A75    C
> >>>>>> 
> >>>>>> so, apparently, ID 0x0a75 is supported...
> >>>>>> 
> >>>>>> Should I file a bug report?
> >>>>>> 
> >>>>>> 
> >>>>>> Leo
> >>>>>> 
> >> 
> >> ____________________________________________________________
> >> TRY FREE IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if5
> >> Capture screenshots, upload images, edit and send them to your friends
> >> through IMs, post on Twitter®, Facebook®, MySpace™, LinkedIn® – FAST!
> >> 
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> >> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> >> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> >> More help   : https://help.launchpad.net/ListHelp
> 
> ____________________________________________________________
> Publish your photos in seconds for FREE
> TRY IM TOOLPACK at http://www.imtoolpack.com/default.aspx?rc=if4
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~hybrid-graphics-linux
> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
> More help   : https://help.launchpad.net/ListHelp



Follow ups

References