All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: NVIDIA (including Optimus) laptop owners - please read!
@ 2011-10-16 14:37 Dmitriy.Trt
  0 siblings, 0 replies; 10+ messages in thread
From: Dmitriy.Trt @ 2011-10-16 14:37 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 958 bytes --]

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-962d5TIgE1qHXe+LvDLADg@public.gmane.org
Skype: dmitriytrt

[-- Attachment #1.2: Type: text/html, Size: 1420 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 10+ messages in thread
* NVIDIA (including Optimus) laptop owners - please read!
@ 2011-10-09  1:06 Gianluca Cecchi
       [not found] ` <CAG2kNCycMfZ_p6RzZ3Tk0g4YYK8O6OAb5R3pj==jfcHAGDp4aQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Gianluca Cecchi @ 2011-10-09  1:06 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* NVIDIA (including Optimus) laptop owners - please read!
@ 2011-10-07  0:56 Ben Skeggs
  2011-10-08  0:15 ` Eric Appleman
  0 siblings, 1 reply; 10+ messages in thread
From: Ben Skeggs @ 2011-10-07  0:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-10-16 14:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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   ` NVIDIA (including Optimus) laptop owners - please read! Eric Appleman
     [not found]     ` <4E928C09.3090904-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-10-10  7:55       ` Ben Skeggs
2011-10-16 14:37 Dmitriy.Trt
  -- 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
2011-10-07  0:56 Ben Skeggs
2011-10-08  0:15 ` Eric Appleman

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.