← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: RadeonHD+IntelGMA switchable -Inc Nvidia firmware files N61JV

 

Hi,

On Tue, 29 Jun 2010, Durango. wrote:
Did you use the ati processor binary files .? from airlied ?.
Please see attached co-processor files for the intel 915 and nvidia 325m
if anyone is trying this method on the Asus N61JV

Frankly I'm not quite sure what to do with those binaries %) I'm new to this graphic stuff, as well as to acpi (learning 4.0a specs now)
But currently i'm trying to breed together code from radeon and firegl.
So far I managed to inject the code and make switcheroo to be enabled with firegl drivers. Now i'm searching for the way to get drm_device in firegl since pci_get_drvdata(pdev) returns NULL and switching graphics crashes with Oops:
Pid: 1238, comm: bash Tainted: P       A   2.6.34-aspire-4820tg #5 ZQ1B/Aspire 4820TG
RIP: 0010:[<ffffffff81528fee>]  [<ffffffff81528fee>] _raw_spin_lock+0xe/0x20
... <snip> ...
Process bash (pid: 1238, threadinfo ffff8801ad1d2000, task ffff8801b2ddc410)
 fff8801ad1d3e58 ffffffffa08142e6 0000000000000005 0000000000000005
<0> ffff8801ad1d3ee8 ffffffff8130810a ffff880a53494444 ffff8801aca4ca20
<0> ffff880100000065 ffff8801b2080800 ffff880100000001 00007fff6b9a9ff0
 [<ffffffffa08142e6>] radeon_switcheroo_can_switch+0x26/0x40 [fglrx]
 [<ffffffff8130810a>] vga_switcheroo_debugfs_write+0x21a/0x320
 [<ffffffff8111df58>] vfs_write+0xb8/0x180
 [<ffffffff8102f277>] ? do_page_fault+0x147/0x2a0
 [<ffffffff8111e761>] sys_write+0x51/0x90
 [<ffffffff810027db>] system_call_fastpath+0x16/0x1b
 RSP <ffff8801ad1d3e38>
---[ end trace 74095cac3c4d3984 ]---


Some distros arent compiling switcheroo at all ,looks like yours is working well.


Well, I'm using just generic ubuntu 10.4 installation (actually not generic, rather minimal, i don't like all those bells and whistles) and vanilla kernel from kernel.org stable tarball configured for aspire hw and with injected dsdt file.

---
 Looking forward to reading yours.
   Ruslan N. Marchenko>



References