← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: Hello, from new user with ThinkPad E520 (1143CTO)

 

First, Eric and Albert, let me thank you for the info. Especially the
possibility to switch of the card without rebooting into the BIOS is
very helpful. I will try it soon.
I tried to install acpi_call a few days before, but the git repo
didn't want to let me in (Permission denied (publickey).). I think
this is an error on my side, but I had no time to work on that
problem. Perhaps I have more time tomorrow.

My attempts to get the card working are at this point: I've installed
the fglrx driver, and edited my xorg.conf to use the fglrx driver.
Some symlinks were not correct (I remember libfglrxdrm.so), but this
might has been caused by previous attempts to install the driver.

The xserver starts loads the driver and detects the card, but then
falls back to the intel graphic, seemingly because of some "invalid
video BIOS signature":
Here is a snippet of my Xorg.0.log:

[    19.718] (==) fglrx(0): NoAccel = NO
[    19.718] (==) fglrx(0): ATI 2D Acceleration Architecture enabled
[    19.718] (--) fglrx(0): Chipset: "AMD Radeon 6600M and 6700M
Series" (Chipset = 0x6741)
[    19.718] (--) fglrx(0): (PciSubVendor = 0x17aa, PciSubDevice = 0x21e3)
[    19.718] (==) fglrx(0): board vendor info: third party graphics
adapter - NOT original ATI
[    19.718] (--) fglrx(0): Linear framebuffer (phys) at 0xc0000000
[    19.718] (--) fglrx(0): MMIO registers at 0xe2600000
[    19.718] (--) fglrx(0): I/O port at 0x00005000
[    19.718] (==) fglrx(0): ROM-BIOS at 0x000c0000
[    19.734] (II) fglrx(0): AC Adapter is used
[    19.747] (II) fglrx(0): Invalid ATI BIOS from int10, the adapter
is not VGA-enabled
[    19.747] (EE) fglrx(0): Invalid video BIOS signature!
[    19.747] (EE) fglrx(0): GetBIOSParameter failed
[    19.747] (EE) fglrx(0): PreInitAdapter failed
[    19.747] (EE) fglrx(0): PreInit failed

I'd like to know more about this. This is how I understand it at the
moment: The Xorg server (or the fglrx driver) looks for information
about the card in the BIOS, but doesn't find it, or looks at the wrong
place. Is this correct? And what information is in the BIOS about the
card?

Regards, Stefan!

2011/8/27 Albert Vilella <avilella@xxxxxxxxx>:
> This model seems to come with these two methods for switching the
> discrete card off/on:
>
>    External (\_SB_.PCI0.PEG0.PEGP._OFF, MethodObj)    // 0 Arguments
>    External (\_SB_.PCI0.PEG0.PEGP._ON_, MethodObj)    // 0 Arguments
>
> echo '\_SB_.PCI0.PEG0.PEGP._OFF' > /proc/acpi/call
>
> echo '\_SB_.PCI0.PEG0.PEGP._ON_' > /proc/acpi/call
>
> I am also guessing that there are 3 voltage levels for the card, LVL0,
> LVL1 and LVL2, that can be chosen with acpi calls:
>
>      Method (SGPO, 2, Serialized)
>        {
>            ShiftRight (Arg0, 0x07, Local3)
>            And (Arg0, 0x7F, Arg0)
>            If (LEqual (Local3, Zero))
>            {
>                Not (Arg1, Local3)
>                And (Local3, One, Local3)
>            }
>
>            If (LLess (Arg0, 0x20))
>            {
>                ShiftLeft (Local3, Arg0, Local0)
>                ShiftLeft (One, Arg0, Local1)
>                And (\_SB.PCI0.PEG0.PEGP.LVL0, Not (Local1), Local2)
>                Or (Local2, Local0, \_SB.PCI0.PEG0.PEGP.LVL0)
>            }
> ...
>
> On Fri, Aug 26, 2011 at 8:34 PM, Stefan Dröge <stefan@xxxxxxxxxx> wrote:
>> Hi, I'm Stefan, and I'm new on the mailinglist.
>> Here is something about my Hardware:
>>
>> stefan@TE520:~/acpiinfo$ sudo dmidecode -s system-product-name && sudo
>> dmidecode -s system-version
>> 1143CTO
>> ThinkPad E520
>> stefan@TE520:~/acpiinfo$  lspci -vnnn | perl -lne 'print if
>> /^\d+\:.+(\[\S+\:\S+\])/' | 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]: ATI Technologies Inc NI
>> Whistler [AMD Radeon HD 6600M Series] [1002:6741] (prog-if 00 [VGA
>> controller])
>>
>> I also posted my DSDT file to the bugreport mentioned on
>> http://linux-hybrid-graphics.blogspot.com/
>>
>> Regards, Stefan!
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~hybrid-graphics-linux
>> Post to     : hybrid-graphics-linux@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~hybrid-graphics-linux
>> More help   : https://help.launchpad.net/ListHelp
>>
>


Follow ups

References