All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Skeggs <skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: NVIDIA (including Optimus) laptop owners - please read!
Date: Fri, 07 Oct 2011 10:56:57 +1000	[thread overview]
Message-ID: <1317949017.2403.18.camel@nisroch> (raw)

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/w@public.gmane.org

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

             reply	other threads:[~2011-10-07  0:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-07  0:56 Ben Skeggs [this message]
2011-10-08  0:15 ` NVIDIA (including Optimus) laptop owners - please read! Eric Appleman
  -- strict thread matches above, loose matches on Subject: below --
2011-10-09  1:06 Gianluca Cecchi
     [not found] ` <CAG2kNCycMfZ_p6RzZ3Tk0g4YYK8O6OAb5R3pj==jfcHAGDp4aQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-09  3:38   ` Ben Skeggs
2011-10-10  5:55     ` Gianluca Cecchi
     [not found]       ` <CAG2kNCwDMKs6a9m9yFbu0NUcfu0k9hf3SNFe9f9tRZcJTcLW8w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-10-10  7:51         ` Ben Skeggs
2011-10-10  9:21           ` Gianluca Cecchi
     [not found] <mailman.34.1318226309.17709.nouveau@lists.freedesktop.org>
     [not found] ` <mailman.34.1318226309.17709.nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
2011-10-10  6:09   ` Eric Appleman
     [not found]     ` <4E928C09.3090904-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-10-10  7:55       ` Ben Skeggs
2011-10-16 14:37 Dmitriy.Trt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317949017.2403.18.camel@nisroch \
    --to=skeggsb-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.