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@nisroch tables]# grep MXMS *
Binary file DSDT matches
[root@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@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-Re5JQEeQqe9fmgfxC/sS/[email protected]
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@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@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
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.