Ben Skeggs
2011-Oct-07 00:56 UTC
[Nouveau] NVIDIA (including Optimus) laptop owners - please read!
Hi guys and gals, I'm working on improving nouveau's support for MXM (Mobile PCI Express Module) chips and need some more data to check my implementation. To see if you can help, the first thing to do is jump over to /sys/firmware/acpi/tables and run "grep MXMS *". [root at nisroch tables]# grep MXMS * Binary file DSDT matches [root at nisroch tables]# If this isn't present, while running nouveau, using i2c-tools (fedora package name) do the following as root: modprobe i2c-dev i2cdetect -l Any you should see something like: [root at nisroch ~]# i2cdetect -l i2c-0 smbus SMBus I801 adapter at 1860 SMBus adapter i2c-1 i2c nouveau-0000:01:00.0-2 I2C adapter i2c-2 i2c nouveau-0000:01:00.0-0 I2C adapter i2c-3 i2c nouveau-0000:01:00.0-10 I2C adapter i2c-4 i2c nouveau-0000:01:00.0-6 I2C adapter i2c-5 i2c nouveau-0000:01:00.0-11 I2C adapter i2c-6 i2c nouveau-0000:01:00.0-12 I2C adapter i2c-7 i2c nouveau-0000:01:00.0-8 I2C adapter For every nouveau entry there, run "i2cdetect <bus>" (where number is the i2c-<bus> in the above list). If you see 0x54 or 0x56 appear on any of the i2c busses, please save the output of "i2cdump <bus> <address>", where <address> is 0x54 or 0x56 (whichever appears). If you either the above is present, it would be a great help if you could email the matching files along with a number of different vbios images to mmio.dumps at gmail.com. Now, onto the different vbios images. To obtain these, install envytools[1] and run the following: nvagetbios -S PRAMIN > vbios_pramin.rom nvagetbios -s PROM > vbios_prom.rom If fetching the VBIOS from PROM fails with (for example): [root at nisroch tables]# nvagetbios -s PROM >vbios.rom Attempt to extract the vbios from card 0 (nva8) using PROM Invalid signature(0x55aa). You may want to try another retrieval method. [root at nisroch tables]# Then it's possible that we need to fetch it from ACPI instead. The easiest way is probably to reboot with "nouveau.vbios=ACPI" in your kernel options, and then: mount -t debugfs debugfs /sys/kernel/debug cp /sys/kernel/debug/dri/0/vbios.rom ~/ Any questions, feel free to respond to this email or jump into #nouveau on freenode and ping me (darktama). Thanks in advance! Ben. [1] http://nouveau.git.sourceforge.net/git/gitweb.cgi?p=nouveau/envytools;a=summary
Eric Appleman
2011-Oct-08 00:15 UTC
[Nouveau] NVIDIA (including Optimus) laptop owners - please read!
I have two i2c devices for my nvc3 (555M) on Optimus: 15 and 16. But when I probe both, there's no occupied addresses. Is this normal? Also, I don't think any Optimus laptops feature MXM cards. I can only assume that the Optimus versions of the 460M, 560M, and 570M are fixed to the motherboard. There are some Optimus laptops with the MXMX and MXDS ACPI calls, but they aren't MXM. 90% of Optimus laptops are _DSM.
Gianluca Cecchi
2011-Oct-09 01:06 UTC
[Nouveau] NVIDIA (including Optimus) laptop owners - please read!
Hello, I have an Asus U36SD with nvidia optimus technology. OS is Fedora 15 + virt-preview repo. I have also win7 installed in another partition. I have the default nouveau drivers installed. Here below some infos: # lspci -vnnn|grep VGA 00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:1050] (rev a1) (prog-if 00 [VGA controller]) # cd /sys/firmware/acpi/tables # ll total 0 -r-------- 1 root root 0 Oct 9 02:56 APIC -r-------- 1 root root 0 Oct 9 02:56 ASF! -r-------- 1 root root 0 Oct 9 02:56 DBGP -r-------- 1 root root 0 Oct 9 02:56 DMAR -r-------- 1 root root 0 Oct 9 02:56 DSDT drwxr-xr-x 2 root root 0 Oct 9 02:56 dynamic -r-------- 1 root root 0 Oct 9 02:56 ECDT -r-------- 1 root root 0 Oct 9 02:56 FACP -r-------- 1 root root 0 Oct 9 02:56 FACS -r-------- 1 root root 0 Oct 9 02:56 HPET -r-------- 1 root root 0 Oct 9 02:56 MCFG -r-------- 1 root root 0 Oct 9 02:56 SLIC -r-------- 1 root root 0 Oct 9 02:56 SSDT1 -r-------- 1 root root 0 Oct 9 02:56 SSDT2 # grep MXMS * # # modprobe i2c-dev # i2cdetect -l i2c-0 i2c i915 gmbus disabled I2C adapter i2c-1 i2c i915 gmbus ssc I2C adapter i2c-2 i2c i915 GPIOB I2C adapter i2c-3 i2c i915 gmbus vga I2C adapter i2c-4 i2c i915 GPIOA I2C adapter i2c-5 i2c i915 gmbus panel I2C adapter i2c-6 i2c i915 GPIOC I2C adapter i2c-7 i2c i915 gmbus dpc I2C adapter i2c-8 i2c i915 GPIOD I2C adapter i2c-9 i2c i915 gmbus dpb I2C adapter i2c-10 i2c i915 GPIOE I2C adapter i2c-11 i2c i915 gmbus reserved I2C adapter i2c-12 i2c i915 gmbus dpd I2C adapter i2c-13 i2c i915 GPIOF I2C adapter i2c-14 i2c DPDDC-C I2C adapter i2c-15 smbus SMBus I801 adapter at e040 SMBus adapter # lsmod|grep nou nouveau 545674 0 ttm 55273 1 nouveau drm_kms_helper 26474 2 nouveau,i915 drm 193955 6 nouveau,i915,ttm,drm_kms_helper i2c_algo_bit 5006 2 nouveau,i915 i2c_core 25712 8 i2c_dev,videodev,i2c_i801,nouveau,i915,drm_kms_helper,drm,i2c_algo_bit mxm_wmi 1727 1 nouveau video 12340 2 nouveau,i915 # cat /proc/cmdline ro root=UUID=10146a5d-4ae1-4fe0-87a5-691c8121c7dc rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet Let me know if you need further info. Gianluca
Eric Appleman
2011-Oct-10 06:09 UTC
[Nouveau] NVIDIA (including Optimus) laptop owners - please read!
Ben, most Optimus laptops have no physical output for the Nvidia GPU. Oddballs like the Dell XPS line have the HDMI ports connected to the GPU and Asus laptops have the MXDS/MXMX mux for the LVDS. Come to the #bumblebee-dev channel on Freenode if you want any additional resources. We're eager to help. - Eric
Dmitriy.Trt
2011-Oct-16 14:37 UTC
[Nouveau] NVIDIA (including Optimus) laptop owners - please read!
i2cdetect output has both 0x54 and 0x56. But I've stuck on getting vbios images. # nvagetbios -s PROM >vbios.rom gives me the error you've mentioned:> Attempt to extract the vbios from card 0 (nv86) using PROM > Invalid signature(0x55aa). You may want to try another retrieval method. >and adding string (without quotes) "nouveau.vbios=ACPI" to kernel options doesn't work at all. GRUB2 shows me error:> alloc magic is broken at 0xdfbdbc50 > Aborted. Press any key to exit. >Nouveau already works MUCH better than proprietary driver for my tasks. Thanks a lot for that! Please help me to help you. My system info: - Debian testing/unstable - kernel 3.0.0-1-686-pae from repository - libdrm-nouveau1a 2.4.26-1 - xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1+exp1 -- ??????? ???????? aka Dmitriy.trt Jabber: dmitriy.trt at jabber.ru Skype: dmitriytrt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20111016/8e5ac1a4/attachment.htm>