← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: [Sony-vaio-z-series] nvidia switchable graphics code in linux-next

 

Thanks tsuraan for reporting back.

On Thu, Mar 4, 2010 at 3:12 PM, tsuraan <tsuraan@xxxxxxxxx> wrote:
>> David Airlie's patch v13 of the vga_switcheroo code now contains
>> nvidia switchable
>> graphics functionality. This code has just landed on linux-next this week.
>>
>> For those with a bit of time for testing, can you try the latest patch
>> and report back
>> to the list following the instructions in this URL?
>
> When I try to do the "echo OFF > /sys/kernel/debug/.../switch", I get this GPF:
>
> [   73.880913] BUG: unable to handle kernel paging request at 0000001d0102036d
> [   73.881007] IP: [<ffffffff81364b75>] nouveau_pci_suspend+0x3a/0x329
> [   73.881007] PGD 13deb4067 PUD 0
> [   73.881007] Oops: 0000 [#1] PREEMPT SMP
> [   73.881007] last sysfs file:
> /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/energy_full
> [   73.881007] CPU 0
> [   73.881007] Pid: 2856, comm: bash Not tainted 2.6.33-switch #3 VAIO/VGN-Z590E
> [   73.881007] RIP: 0010:[<ffffffff81364b75>]  [<ffffffff81364b75>]
> nouveau_pci_suspend+0x3a/0x329
> [   73.881007] RSP: 0018:ffff88013c963de8  EFLAGS: 00010282
> [   73.881007] RAX: 0000001d010201f4 RBX: ffff88013ead1000 RCX: ffffffff81d8e4b0
> [   73.881007] RDX: ffff880028200000 RSI: 0000000000000002 RDI: ffff88013fa0d888
> [   73.881007] RBP: ffff88013c963e48 R08: 0000000000000002 R09: 0000000000000000
> [   73.916855] R10: 0000000000000005 R11: 0000000000000100 R12: 0000000000000000
> [   73.916855] R13: ffff88013fa0d800 R14: 00000000ffffffed R15: 0000000000000001
> [   73.916855] FS:  00007fa5e6f1d6f0(0000) GS:ffff880028200000(0000)
> knlGS:0000000000000000
> [   73.916855] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [   73.916855] CR2: 0000001d0102036d CR3: 000000013aa71000 CR4: 00000000000006f0
> [   73.916855] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [   73.916855] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [   73.916855] Process bash (pid: 2856, threadinfo ffff88013c962000,
> task ffff88013aa9ace0)
> [   73.940445] Stack:
> [   73.940445]  ffff88013c963e48 ffffffff8164e1f0 0000002200000008
> ffff880100000002
> [   73.940445] <0> ffff88013c963e18 0000000000000000 ffff88013c963e78
> ffff88013fa0d800
> [   73.940445] <0> 0000000000000004 ffff88013c963f58 00007fff67b3e56c
> 0000000000000001
> [   73.940445] Call Trace:
> [   73.940445]  [<ffffffff8164e1f0>] ? printk+0x3c/0x3e
> [   73.940445]  [<ffffffff8136655f>] nouveau_switcheroo_set_state+0x43/0x47
> [   73.940445]  [<ffffffff813ac91e>] vga_switchoff+0x14/0x30
> [   73.940445]  [<ffffffff813acd73>] vga_switcheroo_debugfs_write+0xbb/0x277
> [   73.940445]  [<ffffffff81241350>] ? security_file_permission+0x11/0x13
> [   73.940445]  [<ffffffff810db3f4>] ? rw_verify_area+0x88/0xab
> [   73.940445]  [<ffffffff810dbbf7>] vfs_write+0xad/0x172
> [   73.940445]  [<ffffffff810dbd75>] sys_write+0x45/0x6c
> [   73.940445]  [<ffffffff810029eb>] system_call_fastpath+0x16/0x1b
> [   73.940445] Code: 55 49 89 fd 41 54 48 8d bf 88 00 00 00 53 48 83
> ec 38 89 75 b8 e8 e6 35 05 00 48 89 c3 4c 8b a0 88 03 00 00 48 8b 80
> b8 03 00 00 <f6> 80 79 01 00 00 20 0f 84 cd 02 00 00 45 31 f6
> 83 7d b8 08 0f
> [   73.940445] RIP  [<ffffffff81364b75>] nouveau_pci_suspend+0x3a/0x329
> [   73.940445]  RSP <ffff88013c963de8>
> [   73.940445] CR2: 0000001d0102036d
> [   73.943694] ---[ end trace 912d3cc137090b32 ]---
>
> It's a vaio z590, with intel/nvidia hybrid graphics.  My config.gz is attached.
>