← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Asus N61 Nouveau & Switcheroo

 

On Mon, Jul 26, 2010 at 10:29 AM, durango <durango8113@xxxxxxxxxxxx> wrote:
> Some minor success with the Asus n61 on kernel 2.6.35-rc6
>
>  # cat /sys/kernel/debug/vgaswitcheroo/switch
>
>  0:+:Pwr:0000:00:02.0
>  1: :Pwr:0000:01:00.0
>
> See nvidia card now powered up on vgaswitcheroo ( thanks Dave ) ,still
> we need to be able to pass some
> correct args to acpi call or i2c for card1 & the DSM acpi functions
> ,this has worked but the LCDD screen
> loses it lines or doesnt lock in on log out or X restart,it doesnt hard
> lock the machine unless you
> try to switch the GFX0 on agian or try another acpi call ,even after
> then doing a Fn F7 which switches
> it off .
>
> Passing DDIS & DGID to switcheroo reports in syslog to logout etc ,but
> the machine hard locks when logging
> out at present ,still trying different methods out .
> See below ;
> When pushing glx functions the card and system temp rises 8-10 Deg C.
> The system fan also responds now after fixing the dsdt ,this should
> achieve 5000 frames over 5 seconds with
> MESA DRI GL modules ,not sure if the nvidia adapter is pushing it
> functions through the Intel Head ,still to be
> determined .
> Not sure why the nvidiafb is required ,but it performs a function ,and
> the card wont switch without both framebuffers.
>
> To get this i carried these steps out ;
>
> 1 - modified and cleaned my DSDT file
> 2 - Kernel Boot Parameters are ; i915.modeset=1 i915.powersave=0
> apic=debug acpi_debug_level=0xFFFFFFFF
>                                                    acpi_osi="!Linux"
>
> Before Starting X
>
> 3 - chmod 666 /dev/dri/card*
> 4 - Specify the Intel driver in Xorg for the Nvidia card & set the
> nvidia card to a blind screen ,i have screen 1 and the intel on 0
> 5 - modprobe nvidiafb
> 6 - modprobe intelfb
> 7 - Startx
> 7 - modprobe nouveau ,rmmod nouveau ,modprobe nouveau
> 8 - You should now see 2 cards in /dev/dri/  & /sys/bus/acpi/devices/
> 9 - You should also see this in the i2cdetect -l
>
> i2c-0   i2c             nouveau-0000:01:00.0-0            I2C adapter
> i2c-1   i2c             intel drm CRTDDC_A                 I2C adapter
> i2c-2   i2c             intel drm LVDSDDC_C                I2C adapter
> i2c-3   i2c             intel drm HDMIC                          I2C
> adapter
> i2c-4   i2c             DPDDC-C                                   I2C
> adapter
>
> See these links also for bios /firmware checking ,acpi & dsdt fixing .
>
> http://www.lavalys.com/support/downloads   for obtaining win dsdt file
> for comparison
> http://linux.aldeby.org/bios-dst.html
>
>> Results from Syslog
>>
>> [drm] nouveau 0000:01:00.0: Detected an NV50 generation card
> (0x0a5a80a2)
>> vga_switcheroo: enabled
>> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
>> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
>> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
>> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
>> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PCIROM
>> nouveau 0000:01:00.0: Invalid ROM contents
>> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
>> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from ACPI
>> i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-1: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-1: master_xfer[1] R, addr=0x50, len=128
>> [drm] nouveau 0000:01:00.0: ... appears to be valid
>> [drm] nouveau 0000:01:00.0: BIT BIOS found
>> [drm] nouveau 0000:01:00.0: Bios version 70.16.58.00
>> [drm] nouveau 0000:01:00.0: Pointer to BIT loadval table invalid
>> [drm] nouveau 0000:01:00.0: TMDS table revision 2.0 not currently
> supported
>> [drm] nouveau 0000:01:00.0: Found Display Configuration Block version
> 4.0
>> [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 02011300 00000000
>> [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 0000000e 00000000
>> [drm] nouveau 0000:01:00.0: DCB connector table: VHER 0x40 5 16 4
>> [drm] nouveau 0000:01:00.0: 1: 0x00000100: type 0x00 idx 1 tag 0xff
>> [drm] nouveau 0000:01:00.0: Adaptor not initialised
>> [drm] nouveau 0000:01:00.0: Running VBIOS init tables
>> [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset
> 0x6E19
>> [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset
> 0x72B1
>> [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset
> 0x81B1
>> [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset
> 0x81D3
>> [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset
> 0x8335
>> [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset 0x839A
>> i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-2: NAK from device addr 0x50 msg #0
>> i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
>> [drm] nouveau 0000:01:00.0: Couldn't find matching output script table
>> [drm] nouveau 0000:01:00.0: Detected 1024MiB VRAM
>> i2c i2c-2: NAK from device addr 0x50 msg #0
>> i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-1: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-1: master_xfer[1] R, addr=0x50, len=128
>> i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-2: NAK from device addr 0x50 msg #0
>> i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-2: NAK from device addr 0x50 msg #0
>> [TTM] Zone kernel: Available graphics memory: 1923028 kiB.
>> [TTM] Initializing pool allocator.
>> [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
>> [drm] nouveau 0000:01:00.0: Allocating FIFO number 1
>> [drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
>> [drm] nouveau 0000:01:00.0: Detected a DAC output
>> [drm] nouveau 0000:01:00.0: Detected a VGA connector
>> PM: Adding info for No Bus:card1-VGA-2
>> PM: Adding info for i2c:i2c-4
>> i2c i2c-4: adapter [nouveau-0000:01:00.0-0] registered
>> PM: Adding info for No Bus:i2c-4
>> i2c-dev: adapter [nouveau-0000:01:00.0-0] registered as minor 4
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-1: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-1: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-1: master_xfer[1] R, addr=0x50, len=128
>> No connectors reported connected with modes
>> [drm] Cannot find any crtc or sizes - going 1024x768
>> [drm] nouveau 0000:01:00.0: allocated 1024x768 fb: 0x40250000, bo
>> ffff880129b94000
>> PM: Adding info for No Bus:fb1
>> fb1: nouveaufb frame buffer device
>> [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 1
>> i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-2: NAK from device addr 0x50 msg #0
>> i2c i2c-2: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-2: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-2: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> PM: Adding info for No Bus:0:19
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>> i2c i2c-4: NAK from device addr 0x50 msg #0
>> i2c i2c-4: master_xfer[0] W, addr=0x50, len=1
>> i2c i2c-4: master_xfer[1] R, addr=0x50, len=1
>
> Cheers
> --
> This message was sent from Launchpad by the user
> durango (https://launchpad.net/~durango8113)
> using the "Contact this team" link on the Hybrid Graphics Linux
> team page to each member directly.
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>