[ltp] ! (Re: New ATI Driver) - Still not much luck

D. Sen linux-thinkpad@linux-thinkpad.org
Thu, 17 Nov 2005 10:36:49 +1100


Thanks Pezhman. I will try using external AGP.

Alex, how do I re-init the AGP driver during a resume cycle? Is there a 
utility to do this or do I have to write a few lines of code?

Thanks,
DS

Pezhman Givy wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi D. Sen,
> 
> I have exactly the same ATI graphics card "ATI Technologies Inc M10 NT
> [FireGL Mobility T2] (rev 80)". The new ATI driver
> on my machine is much more stable when I use the external AGP support by
> means of loading intel_agp at boot time. When I use the internal AGP
> support the machine resumes from suspend to ram but the display is
> corrupted followed by a crash. When I use the internal AGP support even
> rebooting or halting the machine within X causes a crash even without
> any suspend/resume cycles.
> Using the external AGP support suspend to ram/resume seems to work.
> Although 3D support is disabled after resume (fgl_glxgears dies with
> floating point error.) I told better not perfect. I experienced crashes
> when restaring X after some suspend/resume cycles.
> 
> Kernel version is 2.6.13. lid.sh does nothing except stoping hotplug
> before suspend and starting it when resuming. Xorg version is 6.8.2.
> Without acpi_sleep=s3_bios in the kernel command line I can reproduce
> the "inu"-effect you described before.
> 
> D. Sen wrote:
> 
>>Enclosed is my `lspci -v`.
>>
>>
>>
>>Florian Reitmeir wrote:
>>
>>
>>>>Here are my boot parameters:
>>>>
>>>>kernel (hd0,4)/vmlinuz-2.6.14 root=/dev/hda6 acpi=on resume=/dev/hda9
>>>>splash=silent acpi_sleep=s3_bios pci=noacpi noapic
>>>>
>>>>Any other suggestions?
>>>
>>>
>>>
>>>i use (translated to your example)
>>>kernel (hd0,4)/vmlinuz-2.6.14 root=/dev/hda6 resume=/dev/hda9
>>>acpi_sleep=s3_bios apic
>>>
>>>can you post an lspci from your system? maybe its an other module which
>>>prevents the correct sleep cycle.
>>>
>>>
>>>
>>>
>>>>>>Nope ....still no luck!!! recompiled the kernel (2.6.14-2) with the
>>>>>>suspend 2 patch and almost exact config file as Fionn (except I
>>>>>>have xfs support built in to the kernel).
>>>>>>
>>>>>>So now I have the exact same kernel and xorg.conf as Fionn and
>>>>>>still cant get suspend/resume (to memory) to work.
>>>>>>
>>>>>>The only other variable are the acpi suspend/resume scripts. Can
>>>>>>anyone (who has this working) post them?
>>>>>
>>>>>
>>>>>suspend worked with the default script from acpid for me fine (i
>>>>>also use
>>>>>only XFS). Make sure you boot your kernel with the acpi_sleep
>>>>>parameter..
>>>>>
>>>>>      acpi_sleep=     [HW,ACPI] Sleep options
>>>>>                      Format: { s3_bios, s3_mode }
>>>>>                      See Documentation/power/video.txt
>>>>>
>>>>>s3_bios worked for me.
>>>>>
>>>>>
>>>>>>>Still not much luck though. I havent recompiled the kernel to
>>>>>>>include suspend2 support YET. This is mostly because I dont need
>>>>>>>hibernate/suspend-to-disk as much as I need suspend-to-ram.
>>>>>>>
>>>>>>>Using your xorg.conf didnt help either. Still got the terminal
>>>>>>>window with the text "inu" after resume and a lockup.
>>>>>>>
>>>>>>>Next I removed the automatic insmoding of intel_agp and agpgart
>>>>>>>during startup. This seemed to help a little in that I got X back
>>>>>>>(after a resume) but with a large amount of distortions and
>>>>>>>finally a lockup.
>>>>>>>
>>>>>>>Then I tried recompiling the fglrx.o module. This helped in that I
>>>>>>>got X back and it was functional. When I tried to plot a 3D plot
>>>>>>>using matlab, everything locked up again.
>>>>>>>
>>>>>>>So the next step is to install a 2.6.14 kernel with suspend2
>>>>>>>support and see if that helps.
>>>>>>>
>>>>>>>Thanks again (and still would appreciate any help/hints on whats
>>>>>>>going on).
>>>>>>>Fionn Behrens wrote:
>>>>>>>
>>>>>>>
>>>>>>>>On Di, 2005-11-15 at 03:09 +1100, D. Sen wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>>Could you send me your xorg.conf and the kernel .config?
>>>>>>>>
>>>>>>>>
>>>>>>>>The files can be found at http://fionn.de/config/
>>>>>>>>I used fglrxconfig to create the xorg.conf (warning, your old config
>>>>>>>>gets overwritten!) and afterwards I edited some values and put the
>>>>>>>>synaptics stuff back in. But it already worked fine with the fglrx
>>>>>>>>"factory" config.
>>>>>>>>
>>>>>>>>
>>>>>>>>>Also, did you configure the kernel for suspend 2?
>>>>>>>>
>>>>>>>>
>>>>>>>>Yes, but I actually use it almost never and have not tried it
>>>>>>>>yet. There
>>>>>>>>have been other posters today who reported to have had success with
>>>>>>>>suspend2 and how.
>>>>>>>>After all the battery can hold up S3 for about a week and my
>>>>>>>>Notebook
>>>>>>>>aint never off that long.
>>>
>>>
>>>
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
> 
> iD8DBQFDe7haz6aJiiMTCIwRAszCAJ9X6DqKI33ubAaGv/ao+lwptk+ZsgCgxuPg
> 61IZJmSVVR5A3LvbI1JFV6g=
> =R6/k
> -----END PGP SIGNATURE-----