← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: finishing intel/nvidia support (with open drivers)

 

 Hey,

patched the kernel 2.6.35 rc6 for fedora and build the rpm.

Asus NJ82 Nvidia Optimus 335

nouveau will not be unloaded and the power consumption don't change.

Patched kernel can be downloaded from here:

http://rapidshare.com/files/408671137/kernel-2.6.35-0.55.rc6.git0.fc13.x86_64.rpm

cat switch

0: :Pwr:0000:01:00.0
1:+:Pwr:0000:00:02.0

-------------

echo DDIS > switch

vga_switcheroo: setting delayed switch to client 1
VGA switcheroo: switched nouveau off

------------

echo DIGD > switch

vga_switcheroo: client 1 refused switch
vga_switcheroo: setting delayed switch to client 0

------------------

echo OFF > switch


cat switch
0: :Off:0000:01:00.0
1:+:Pwr:0000:00:02.0


tail -f /var/log/messages

Jul 23 21:24:22 fedbox kernel: [drm] nouveau 0000:01:00.0: Disabling fbcon acceleration... Jul 23 21:24:22 fedbox kernel: [drm] nouveau 0000:01:00.0: Unpinning framebuffer(s)... Jul 23 21:24:22 fedbox kernel: [drm] nouveau 0000:01:00.0: Evicting buffers... Jul 23 21:24:22 fedbox kernel: [drm] nouveau 0000:01:00.0: Idling channels... Jul 23 21:24:22 fedbox kernel: [drm] nouveau 0000:01:00.0: Suspending GPU objects...
Jul 23 21:24:22 fedbox kernel: [drm] nouveau 0000:01:00.0: And we're gone!
Jul 23 21:24:22 fedbox kernel: nouveau 0000:01:00.0: PCI INT A disabled
Jul 23 21:24:22 fedbox kernel: nouveau 0000:01:00.0: power state changed by ACPI to D3


echo ON > switch


Jul 23 21:26:32 fedbox kernel: VGA switcheroo: switched nouveau on
Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: We're back, enabling device... Jul 23 21:26:32 fedbox kernel: nouveau 0000:01:00.0: power state changed by ACPI to D0 Jul 23 21:26:32 fedbox kernel: nouveau 0000:01:00.0: power state changed by ACPI to D0 Jul 23 21:26:32 fedbox kernel: nouveau 0000:01:00.0: power state changed by ACPI to D0 Jul 23 21:26:32 fedbox kernel: nouveau 0000:01:00.0: power state changed by ACPI to D0 Jul 23 21:26:32 fedbox kernel: nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: POSTing device...
Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xD3B5 Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xD96C Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xE8BF Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xE8FD Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xEB37 Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset 0xEB9C Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Reinitialising engines... Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Restoring GPU objects...
Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: Restoring mode...
Jul 23 21:26:32 fedbox kernel: [drm] nouveau 0000:01:00.0: 0x76DE: parsing clock script 0


-------------

dmesg

http://mitglied.multimania.de/schranziis/hybrid-graphics/dmesg-patched-kernel


dekker

References