Re: New sleep code for ATI M6, M7 and M9

2003-04-07 Thread jmarant
Michael Schmitz <[EMAIL PROTECTED]> wrote : > I was quite sure I had removed that bit in the latest release. I'll check > my current sources. Why I am CC'ed, please? I'm subscribed to the list and I got an answer few weeks ago. These are two reasons not to CC me. Thanks.

Re: New sleep code for ATI M6, M7 and M9

2003-04-07 Thread Michael Schmitz
Hi, > > pmud doesn't because that would create a conflict with powermgmt-base. > > What does this code in /var/lib/dpkg/info/pmud.postinst do then? > > if [ "$1" = "configure" ]; then > # register devices > ... > if [ ! -c /dev/apm_bios ]; then > mknod /dev/apm_bios c 10 13

Re: New sleep code for ATI M6, M7 and M9

2003-03-25 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >AGP GART is faster (and as we all know, faster is better :) - in fact, >on newer TiBooks PCI GART is pathetically slow, even much slower than >with DRI disabled (for 2D, 3D might be slightly faster than software >rendering). My guess has been this

Re: New sleep code for ATI M6, M7 and M9

2003-03-25 Thread Michel Dänzer
On Mon, 2003-03-24 at 22:27, Jamie Wilkinson wrote: > This one time, at band camp, Michel Dänzer wrote: > >On Mon, 2003-03-24 at 09:01, Jamie Wilkinson wrote: > >> This one time, at band camp, Benjamin Herrenschmidt wrote: > >> >Can you all try with DRI and PCI GART instead of AGP GART ? > >>=20 >

Re: New sleep code for ATI M6, M7 and M9

2003-03-24 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >On Mon, 2003-03-24 at 09:01, Jamie Wilkinson wrote: >> This one time, at band camp, Benjamin Herrenschmidt wrote: >> >Can you all try with DRI and PCI GART instead of AGP GART ? >>=20 >> Sure, can you tell me what I need to do to turn on PCI GART?

Re: New sleep code for ATI M6, M7 and M9

2003-03-24 Thread Michel Dänzer
On Mon, 2003-03-24 at 09:01, Jamie Wilkinson wrote: > This one time, at band camp, Benjamin Herrenschmidt wrote: > >Can you all try with DRI and PCI GART instead of AGP GART ? > > Sure, can you tell me what I need to do to turn on PCI GART? Don't load the agpgart module or use Option "ForcePCIMod

Re: New sleep code for ATI M6, M7 and M9

2003-03-24 Thread Jamie Wilkinson
This one time, at band camp, Benjamin Herrenschmidt wrote: >Can you all try with DRI and PCI GART instead of AGP GART ? Sure, can you tell me what I need to do to turn on PCI GART? -- [EMAIL PROTECTED] http://people.debian.org/~jaq

Re: New sleep code for ATI M6, M7 and M9

2003-03-23 Thread Michel Dänzer
On Son, 2003-03-23 at 10:18, Benjamin Herrenschmidt wrote: > On Wed, 2003-03-19 at 02:54, Michel Dänzer wrote: > > On Die, 2003-03-18 at 23:26, Jamie Wilkinson wrote: > > > This one time, at band camp, Brett Carter wrote: > > > > > > > >> As you can tell from the versions though, I haven't come a

Re: New sleep code for ATI M6, M7 and M9

2003-03-23 Thread Benjamin Herrenschmidt
On Wed, 2003-03-19 at 02:54, Michel Dänzer wrote: > On Die, 2003-03-18 at 23:26, Jamie Wilkinson wrote: > > This one time, at band camp, Brett Carter wrote: > > > > > >> As you can tell from the versions though, I haven't come around to > > >> updating the woody packages in a while. It's possible

Re: New sleep code for ATI M6, M7 and M9

2003-03-21 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >Can you double check? That doesn't make much sense as Option "AGPMode" >has no effect with DRI disabled. Just did. With DRI disabled, the machine sleeps and wakes up fine. Option "AGPMode" doesn't affect it. I didn't test if my odd "second-slee

Re: Slow DVD playing [Was: New sleep code for ATI M6, M7 and M9]

2003-03-21 Thread christophe barbe
I have to apologize. I was preparing to test ben8 without the sleep patch. Before rebooting, I tested the DVD and discovered that your fixed xine package played it without any problem at full speed (without dropping frames). I am not able to try oggle (it segfaults) so I was certainly confused thi

Re: Slow DVD playing [Was: New sleep code for ATI M6, M7 and M9]

2003-03-21 Thread christophe barbe
Le ven 21/03/2003 à 10:30, Michel Dänzer a écrit : > As Jamie pointed out, someone needs to verify that the sleep patch makes > the difference. I will try to do that this evening after work. Christophe -- christophe barbe <[EMAIL PROTECTED]>

Re: Slow DVD playing [Was: New sleep code for ATI M6, M7 and M9]

2003-03-21 Thread Michel Dänzer
On Fre, 2003-03-21 at 15:45, christophe barbe wrote: > On Fri, Mar 21, 2003 at 02:41:20PM +0100, Michel D?nzer wrote: > > I wouldn't think so. The dynamic power management (which actually makes > > the difference between the fan staying on all the time and not here BTW > > :) might have an impact,

Slow DVD playing [Was: New sleep code for ATI M6, M7 and M9]

2003-03-21 Thread christophe barbe
On Fri, Mar 21, 2003 at 02:41:20PM +0100, Michel D?nzer wrote: > I wouldn't think so. The dynamic power management (which actually makes > the difference between the fan staying on all the time and not here BTW > :) might have an impact, but it seems to work perfectly here. Is DMA > enabled on the

Re: New sleep code for ATI M6, M7 and M9

2003-03-21 Thread Michel Dänzer
On Fre, 2003-03-21 at 10:28, Francesco Rao wrote: > > This is probably due to > > http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=185691 ? > > > > I put up fixed xine-lib packages at > > http://people.debian.org/~daenzer/libxine1_1-beta6-1.1_powerpc.deb > > http://people.debian.org/~da

Re: New sleep code for ATI M6, M7 and M9

2003-03-21 Thread Jamie Wilkinson
This one time, at band camp, Francesco Rao wrote: >I installed the packages you suggested me above but dvd-streaming seems to >stay slow. I stress the fact that with ben5-kernel the stream is perfect, >it's just when I use the last ben-kernel (2.4.20-ben8 with the sleep-patch >support) that everyth

Re: New sleep code for ATI M6, M7 and M9

2003-03-21 Thread Francesco Rao
> This is probably due to > http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=185691 ? > > I put up fixed xine-lib packages at > http://people.debian.org/~daenzer/libxine1_1-beta6-1.1_powerpc.deb > http://people.debian.org/~daenzer/libxine-dev_1-beta6-1.1_powerpc.deb Hi, I installed the

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Michel Dänzer
On Mit, 2003-03-19 at 17:24, Francesco Rao wrote: > [...] has one of you tried to watch DVDs with this ati-kernel-patch > on? I don't know if I made some mistake but on the streaming is > extremely slow. It's not fluid at all. I use xine and with the old > kernel I used to have (ben5) the strea

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Michel Dänzer
On Don, 2003-03-20 at 21:02, Vincent Strubel wrote: > On Thursday 20 March 2003 18:11, you wrote: > > > > a gentoo (nobody's perfect...) and running xfree-4.3.0 and gentoo's > > > xfree-drm (should be same source as debian drm-trunk-modules). > > > > I hope not. It would be foolish of Gentoo to us

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Michel Dänzer
On Don, 2003-03-20 at 22:34, Jamie Wilkinson wrote: > This one time, at band camp, Michel Dänzer wrote: > >On Mit, 2003-03-19 at 22:00, Jamie Wilkinson wrote: > >> This one time, at band camp, Vincent Strubel wrote: > >> >Section "Device" > >> >Identifier "Accel" > >> >Driver "ati"

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >On Mit, 2003-03-19 at 22:00, Jamie Wilkinson wrote: >> This one time, at band camp, Vincent Strubel wrote: >> >Section "Device" >> >Identifier "Accel" >> >Driver "ati" >> >Option "UseFBDev" "true" >> >Option "DRIRein

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Vincent Strubel
On Thursday 20 March 2003 18:11, you wrote: > > a gentoo (nobody's perfect...) and running xfree-4.3.0 and gentoo's > > xfree-drm (should be same source as debian drm-trunk-modules). > > I hope not. It would be foolish of Gentoo to use bleeding edge CVS > snapshots. You're right, I may have spoke

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Brett Carter
> As others have pointed out, it must be the AGPMode (it never occurred to > me that this could help for sleep because higher AGP transfer rates > traditionally tended to be problematic...) because ForcePCIMode defaults > to false and you can't use the UniNorth agpgart without > http://penguinppc.o

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Michel Dänzer
On Mit, 2003-03-19 at 22:00, Jamie Wilkinson wrote: > This one time, at band camp, Vincent Strubel wrote: > >Section "Device" > >Identifier "Accel" > >Driver "ati" > >Option "UseFBDev" "true" > >Option "DRIReinit" "true" > >Option "ForcePCIMode" "false" > >

Re: New sleep code for ATI M6, M7 and M9

2003-03-20 Thread Michel Dänzer
On Mit, 2003-03-19 at 14:27, Vincent Strubel wrote: > On Wednesday 19 March 2003 17:24, Francesco Rao wrote: > > > > I've a TiBook 15' 1GHz SuperDrive. > > > > For me it is the same story. > > - I'm able to awake from sleep only when DRI is off. No matter if I > > have "DRIReinit"

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Jamie Wilkinson
This one time, at band camp, Vincent Strubel wrote: >Section "Device" >Identifier "Accel" >Driver "ati" >Option "UseFBDev" "true" >Option "DRIReinit" "true" >Option "ForcePCIMode" "false" >Option "AGPMode" "4" >BusID "0:16:0" >EndSection Th

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Andrew Keedle
> > However I got it working, following advice on the gentoo forums, by > > adding the "ForcePCIMode" "false" and "AGPMode" "4" options to my > > XF86Config-4, which thus is as follows : > > > > Section "Device" > > Identifier "Accel" > > Driver "ati" > > Option "UseFBDev"

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Raphaël Haberer-Proust
Hello, > However I got it working, following advice on the gentoo forums, by > adding the "ForcePCIMode" "false" and "AGPMode" "4" options to my > XF86Config-4, which thus is as follows : > > Section "Device" > Identifier "Accel" > Driver "ati" > Option "UseFBDev" "true"

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Michel Dänzer
On Mit, 2003-03-19 at 15:39, Michael Schmitz wrote: > > > Right, but isn't this /dev/apm_bios created by some package? > > > > Yes, pmud and powermgmt-base seem to do that at least. You also need to > > pmud doesn't because that would create a conflict with powermgmt-base. What does this code in

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Michael Schmitz
> fblevel 15 is far too high. Copy /etc/power/pwrctl to > /etc/power/pwrctl-local, then remove every action in -local (just keep Rather copy /usr/share/doc/pmud/examples/pwrctl-local, please. pwrctl-local can signal to pwrctl not to run the script body in special circumstances, that might matter s

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Michael Schmitz
> > Right, but isn't this /dev/apm_bios created by some package? > > Yes, pmud and powermgmt-base seem to do that at least. You also need to pmud doesn't because that would create a conflict with powermgmt-base. Michael

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Vincent Strubel
On Wednesday 19 March 2003 17:24, Francesco Rao wrote: > Jamie Wilkinson wrote: > >TiBook IV, Radeon M9. Commenting out Load "dri" and the Section "DRI" > > from XF86Config-4 sleeps and wakes up, with DRI enabled the screen > > doesn't come back on. I do not know if it has woken up, though. > > H

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Francesco Rao
Jamie Wilkinson wrote: >TiBook IV, Radeon M9. Commenting out Load "dri" and the Section "DRI" from >XF86Config-4 sleeps and wakes up, with DRI enabled the screen doesn't come >back on. I do not know if it has woken up, though. > Hi all, I've a TiBook 15' 1GHz SuperDrive. For me it is the same

Re: New sleep code for ATI M6, M7 and M9

2003-03-19 Thread Francesco Rao
Jamie Wilkinson wrote: TiBook IV, Radeon M9. Commenting out Load "dri" and the Section "DRI" from XF86Config-4 sleeps and wakes up, with DRI enabled the screen doesn't come back on. I do not know if it has woken up, though. Hi all, I've a TiBook 15' 1GHz SuperDrive. For me it is the same st

Re: New sleep code for ATI M6, M7 and M9

2003-03-18 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >On Die, 2003-03-18 at 23:26, Jamie Wilkinson wrote: >> Yep, same here. I downgraded from Daniel Stones' XFree86 4.3 packages la= >st >> night to the official packages + Michel Daenzer's drm-trunk stuff, mainly= > so >> that DRI works again. >>=20

Re: New sleep code for ATI M6, M7 and M9

2003-03-18 Thread Michel Dänzer
On Die, 2003-03-18 at 23:26, Jamie Wilkinson wrote: > This one time, at band camp, Brett Carter wrote: > > > >> As you can tell from the versions though, I haven't come around to > >> updating the woody packages in a while. It's possible that something in > >> the current packages for sid makes a

Re: New sleep code for ATI M6, M7 and M9

2003-03-18 Thread Jamie Wilkinson
This one time, at band camp, Brett Carter wrote: > >> As you can tell from the versions though, I haven't come around to >> updating the woody packages in a while. It's possible that something in >> the current packages for sid makes a difference. Would be great if >> someone could verify that. >

Re: New sleep code for ATI M6, M7 and M9

2003-03-18 Thread Andrew Keedle
> Ok, I'm verifying that the sid packages don't work for me either. > xserver-xfree86-dri-trunk > Version: 2003.03.11-1 > > drm-trunk-module-2.4.20-ben8 > Version: 2003.03.11-1+lucy+22+lowlat+sleep > > If I disable dri, I can sleep just fine, otherwise, the screen never comes > back on. > -Brett

Re: New sleep code for ATI M6, M7 and M9

2003-03-18 Thread Vincent Bernat
OoO En cette nuit striée d'éclairs du mardi 18 mars 2003, vers 02:56, christophe barbe <[EMAIL PROTECTED]> disait: >> fblevel 15 is far too high. Copy /etc/power/pwrctl to >> /etc/power/pwrctl-local, then remove every action in -local (just keep >> the structure of the file) and insert your comman

Re: New sleep code for ATI M6, M7 and M9

2003-03-18 Thread Brett Carter
> As you can tell from the versions though, I haven't come around to > updating the woody packages in a while. It's possible that something in > the current packages for sid makes a difference. Would be great if > someone could verify that. Ok, I'm verifying that the sid packages don't work for

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 23:05, Jamie Wilkinson wrote: > This one time, at band camp, Michel Dänzer wrote: > >xlibmesa4-drm-src is missing code to use the UniNorth agpgart, which > >will cause pathetic 2D and 3D performance with DRI enabled if nothing > >else. I just played a bit with the PowerBook wi

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread christophe barbe
On Mon, Mar 17, 2003 at 09:18:16PM +0100, Vincent Bernat wrote: > fblevel 15 is far too high. Copy /etc/power/pwrctl to > /etc/power/pwrctl-local, then remove every action in -local (just keep > the structure of the file) and insert your commands as you > wish. -local is called with the same argume

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Andru Luvisi
It works just fine for me. For a few seconds before sleep and after wake up the screen looks pretty funky, but that is perfectly livable. Big thanks to you and the ATI team. This will drastically improve my time-in-linux vs. time-in-OSX ratio. Andru -- Andru Luvisi, Programmer/Analyst Quote

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >xlibmesa4-drm-src is missing code to use the UniNorth agpgart, which >will cause pathetic 2D and 3D performance with DRI enabled if nothing >else. I just played a bit with the PowerBook with the M7 and it works >even without Option "DRIReinit" and

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Jamie Wilkinson
This one time, at band camp, christophe barbe wrote: >On Mon, Mar 17, 2003 at 05:15:28PM +0100, Michel D?nzer wrote: >> > willow% cat /proc/cpuinfo >> > cpu : 7455, altivec supported >> > clock : 667MHz >> >> BTW, I assume you know how to switch to the full clock? > >You are

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Everett Coleman II
worked on my power book G4, keep up the good work! when i open the book, it's a little messed up but it clears once i press a key or move the mouse??? --- /proc/cpuinfo --- cpu : 7450, altivec supported clock : 667MHz revision: 2.1 (pvr 8000 0201) bogomips: 66

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Raphaël Haberer-Proust
> Can you try rebuilding the DRM from > http://people.debian.org/~daenzer/dri-trunk-sid/drm-trunk-module-src_2003.03.11-1_all.deb > ? It does not seem to make any difference... Sorry! raph <-> clef publique : http://www.informatik.uni-freiburg.de/~proust/raph-pub-key.txt S'il vous plaît

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 23:40, Brett Carter wrote: > > As you can tell from the versions though, I haven't come around to > > updating the woody packages in a while. It's possible that something in > > the current packages for sid makes a difference. Would be great if > > someone could verify that. >

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Brett Carter
> As you can tell from the versions though, I haven't come around to > updating the woody packages in a while. It's possible that something in > the current packages for sid makes a difference. Would be great if > someone could verify that. Hmm. I am running sid, apperently I didn't get the memo

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 19:12, David MENTRE wrote: > Michel Dänzer <[EMAIL PROTECTED]> writes: > > > > But I did not have any /dev/apm_bios, so I made a nod with > > > > > > mknod /dev/apm_bios c 10 134 > > > chmod 770 /dev/apm_bios > > > > Or better: > > > > cd /dev; MAKEDEV apm > > Isn't it a

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 11:41, Brett Carter wrote: > > But it works perfectly here with DRI enabled. What versions of > > xserver-xfree86-dri-trunk and drm-trunk-module-`uname -r` ? Also, is > > that using agpgart or only PCI GART? > > xserver-xfree86-dri-trunk: > Version: 2002.12.05-4 > > drm-trun

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Vincent Bernat
OoO Lors de la soirée naissante du lundi 17 mars 2003, vers 18:11, christophe barbe <[EMAIL PROTECTED]> disait: >> Putting fblevel 0 in the /etc/power/pwrctl(-local) sleep function seems >> to do the trick, and also seems to hide the garbage on wakeup. :) > Looks interesting. I have no idea which

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Brett Carter
> But it works perfectly here with DRI enabled. What versions of > xserver-xfree86-dri-trunk and drm-trunk-module-`uname -r` ? Also, is > that using agpgart or only PCI GART? xserver-xfree86-dri-trunk: Version: 2002.12.05-4 drm-trunk-module-`uname -r` 2002.12.05-5+lucy+22+lowlat+sleep I just bui

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 18:13, christophe barbe wrote: > On Mon, Mar 17, 2003 at 05:15:28PM +0100, Michel D?nzer wrote: > > > willow% cat /proc/cpuinfo > > > cpu : 7455, altivec supported > > > clock : 667MHz > > > > BTW, I assume you know how to switch to the full clock? > >

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Andrew Keedle
> You are kidding, right? > Do you mean the 667MHz can run at 800MHz safely? Hidden up the message tree is shows that this is a IV Powerbook with M9 graphics, presumably therefore it's a 800 running at 667? I was wishing also :-(

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread David MENTRE
Michel Dänzer <[EMAIL PROTECTED]> writes: > > But I did not have any /dev/apm_bios, so I made a nod with > > > > mknod /dev/apm_bios c 10 134 > > chmod 770 /dev/apm_bios > > Or better: > > cd /dev; MAKEDEV apm Isn't it a bug in the xfree related packages that /dev/apm_bios is not created (at l

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread christophe barbe
On Mon, Mar 17, 2003 at 05:15:28PM +0100, Michel D?nzer wrote: > > willow% cat /proc/cpuinfo > > cpu : 7455, altivec supported > > clock : 667MHz > > BTW, I assume you know how to switch to the full clock? You are kidding, right? Do you mean the 667MHz can run at 800MHz saf

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread christophe barbe
On Mon, Mar 17, 2003 at 05:03:27PM +0100, Michel D?nzer wrote: > Putting fblevel 0 in the /etc/power/pwrctl(-local) sleep function seems > to do the trick, and also seems to hide the garbage on wakeup. :) Looks interesting. I have no idea which of the pwrctl_* functions to modify for a TiBook3. Al

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Vincent Bernat
OoO Lors de la soirée naissante du lundi 17 mars 2003, vers 17:03, Michel Dänzer <[EMAIL PROTECTED]> disait: > Putting fblevel 0 in the /etc/power/pwrctl(-local) sleep function seems > to do the trick, and also seems to hide the garbage on wakeup. :) Good tips. :) -- Use variable names that mean

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 09:04, Jamie Wilkinson wrote: > > I still can't sleep when I'm in X (not even when switching to a > console and then sleeping), the machine just turns itself off when resuming. > "Still" because this is the same behaviour I had before. > > I'm using Daniel Stone's XFree86 4.

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 08:15, Vincent Bernat wrote: > OoO En cette nuit striée d'éclairs du lundi 17 mars 2003, vers 02:19, > Jack Moffitt <[EMAIL PROTECTED]> disait: > > > When I first shut the lid, the LCD goes off, but then comes back on for > > a bit a few seconds later briefly before shutting

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 14:00, Raphaël Haberer-Proust wrote: > > But it works perfectly here with DRI enabled. What versions of > > xserver-xfree86-dri-trunk and drm-trunk-module-`uname -r` ? > xserver-xfree86-dri-trunk: > Version: 2002.12.05-4 > > drm-trunk-module-2.4.20-ben8: > Version: 2002.12.05

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Raphaël Haberer-Proust
> But it works perfectly here with DRI enabled. What versions of > xserver-xfree86-dri-trunk and drm-trunk-module-`uname -r` ? xserver-xfree86-dri-trunk: Version: 2002.12.05-4 drm-trunk-module-2.4.20-ben8: Version: 2002.12.05-5+10.00.Custom > Also, is > that using agpgart or only PCI GART? I'm so

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Jamie Wilkinson
This one time, at band camp, Benjamin Herrenschmidt wrote: >Please let me know how this works for you (mention your machine >model and video chip type, that is the output of /proc/cpuinfo >and lspci) along with your reports so I know what's up. Great, my Tibook IV now doesn't have artifacts when s

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Jamie Wilkinson
This one time, at band camp, Michel Dänzer wrote: >On Sam, 2003-03-15 at 13:04, J=E9r=F4me Marant wrote: >> David MENTRE <[EMAIL PROTECTED]> writes: >>=20 >> > I works!! In fact, the /dev/apm_bios character device was missing. >> > >> > Doing a 'mknod /dev/apm_bios c 10 134;chmod 770 /dev/apm_bios'

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michel Dänzer
On Mon, 2003-03-17 at 09:03, Raphaël Haberer-Proust wrote: > > But I noticed the same than Brett Carter, when I comment > > Load "dri" > > sleep mode works great! But it works perfectly here with DRI enabled. What versions of xserver-xfree86-dri-trunk and drm-trunk-module-`uname -r` ? Also, is

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Sven Luther
On Sun, Mar 16, 2003 at 02:41:39PM -0500, digger vermont wrote: > Don't feel too bad, Soebbi. > As infrequently as I apply patches I always have to refigure it out. > The secret is in the "<" From the "root" dir. I believe what I had is > > patch -p1

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Vincent Bernat
OoO En cette matinée pluvieuse du lundi 17 mars 2003, vers 10:06, Michael Shields <[EMAIL PROTECTED]> disait: >> This is a bit annoying since the number of on-off cycles for a LCD >> screen is limited. > Do you have a reference for this information? I do not. But I think this is common knowledge

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Michael Shields
In article <[EMAIL PROTECTED]>, Vincent Bernat <[EMAIL PROTECTED]> wrote: > This is a bit annoying since the number of on-off cycles for a LCD > screen is limited. Do you have a reference for this information? -- Shields.

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Eric Boese-Wolf
I meant "improved" therefore "decreased" is applyable :) Sorry for that. Eric Böse-Wolf -- Bitte senden Sie mir keine Word- oder PowerPoint-Anhänge. Siehe http://www.fsf.org/philosophy/no-word-attachments.de.html Peitsch mich, schlag mich, lass mich ipchains verwenden.

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Raphaël Haberer-Proust
Hello again, > Well, DRIReinit won't work if clients keep the DRM open (e.g. Qt does > that even when it doesn't use any OpenGL contexts), but in that case > it should really have no effect at all, and the logfile snippet from > the other person with the same problem showed it working. > > > > D

Re: New sleep code for ATI M6, M7 and M9

2003-03-17 Thread Vincent Bernat
OoO En cette nuit striée d'éclairs du lundi 17 mars 2003, vers 02:19, Jack Moffitt <[EMAIL PROTECTED]> disait: > When I first shut the lid, the LCD goes off, but then comes back on for > a bit a few seconds later briefly before shutting off again. That seems > strange, but again, not very troubli

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Brett Carter
Whoops, I take it back. > This works great, unless I have alsa loaded, then I get dumped into the kernel > debugger. I have: > force_stop_modules_before_suspend=forcibly-unload-driver > in my alsa-base.conf, I guess this is just a bug in alsa though. Fixed this by writing an /etc/power/pwrctl-lo

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Brett Carter
> Please let me know how this works for you (mention your machine > model and video chip type, that is the output of /proc/cpuinfo > and lspci) along with your reports so I know what's up. > This works great, unless I have alsa loaded, then I get dumped into the kernel debugger. I have: force_sto

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Michel Dänzer
On Son, 2003-03-16 at 12:19, Raphaël Haberer-Proust wrote: > > > > Sorry, I must admit that I did not know anything about apm > > > emulation. Is it in the kernel? > > > > Yes, CONFIG_PMAC_APM_EMU. > I had it in my config > CONFIG_PMAC_APM_EMU=y > > But I did not have any /dev/apm_bios, so I mad

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Jack Moffitt
> a slight quirk reported by some others.. when it comes back from suspend in X, > there's a screen with some red and black which disappears in a second or two > and the original desktop is restored.. which is fine with me... I have this quirk too. It's not troubling. The sound is not muted on r

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Michel Dänzer
On Mon, 2003-03-17 at 00:37, Nirmal Govind wrote: > > > > Make sure /dev/apm_bios exist and APM emulation is compiled in your > > kernel. Tha way, X will suspend itself properly. > > Thanks a lot Ben.. I compiled APM emulation and now it works great! well.. > with > a slight quirk reported by so

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Nirmal Govind
> > Make sure /dev/apm_bios exist and APM emulation is compiled in your > kernel. Tha way, X will suspend itself properly. > Thanks a lot Ben.. I compiled APM emulation and now it works great! well.. with a slight quirk reported by some others.. when it comes back from suspend in X, there's a sc

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du dimanche 16 mars 2003, vers 13:50, Eric Boese-Wolf <[EMAIL PROTECTED]> disait: >> On my iBook 500, the patch works. But I cannot see any improvement, >> since sleeping always worked. With the patch it still works. > The power consumption should be increas

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread digger vermont
Don't feel too bad, Soebbi. As infrequently as I apply patches I always have to refigure it out. The secret is in the "<" From the "root" dir. I believe what I had is patch -p1 Hi everyone! > > I'm feeling a bit ashamed, since I now must admit that I am quite new > to Linux, but how do I apply

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du vendredi 14 mars 2003, vers 23:42, Benjamin Herrenschmidt <[EMAIL PROTECTED]> disait: > I lack time to properly rewrite it, though it seems the Alsa folks > have been doing just that. I haven't tried their code though. Please, do it, there is st

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Soebbi
Hi everyone! I'm feeling a bit ashamed, since I now must admit that I am quite new to Linux, but how do I apply the patch? I tried "patch -p0 new_sleep.diff" in the root of the kernel source directory and in the directory of the file which is mentioned on top of the .diff-file, but every time

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Eric Boese-Wolf
Claas Langbehn <[EMAIL PROTECTED]> writes: > Hi Ben! > > > On my iBook 500, the patch works. But I cannot see any improvement, > since sleeping always worked. With the patch it still works. The power consumption should be increased. Read the whole thread. > Only one thing: When waking up, the sc

Re: New sleep code for ATI M6, M7 and M9

2003-03-16 Thread Raphaël Haberer-Proust
Hello again, > > Sorry, I must admit that I did not know anything about apm > > emulation. Is it in the kernel? > > Yes, CONFIG_PMAC_APM_EMU. I had it in my config CONFIG_PMAC_APM_EMU=y But I did not have any /dev/apm_bios, so I made a nod with mknod /dev/apm_bios c 10 134 chmod 770 /dev/apm_bi

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 18:14, Andrew Keedle wrote: > > Looks pretty much the same here. I'm running out of ideas. :( One more > > thing though: Do you have USB or other peripherals connected that might > > interfere? (Works with a USB mouse here though, but I haven't moved it > > during sleep) > >

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Andrew Keedle
> Looks pretty much the same here. I'm running out of ideas. :( One more > thing though: Do you have USB or other peripherals connected that might > interfere? (Works with a USB mouse here though, but I haven't moved it > during sleep) Had a USB mouse, but same thing happens when it is diconnected

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 16:12, Andrew Keedle wrote: > > Hmm. Anything interesting in the logs? (syslog, X server log, ...) > > Not that I can see, but then none of this means anything to me :-) [...] Looks pretty much the same here. I'm running out of ideas. :( One more thing though: Do you have

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Andrew Keedle
> Hmm. Anything interesting in the logs? (syslog, X server log, ...) Not that I can see, but then none of this means anything to me :-) XFree86.0.log: (II) PM Event received: System Suspend Request (II) RADEON(0): [drm] removed 1 reserved context for kernel (II) RADEON(0): [drm] unmapping 8192 b

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 15:40, Andrew Keedle wrote: > > Does Option "DRIReinit" make a difference? > Yes. I get a garbled (colour) screen back, but cannnot do anything. > I can however SSH into the PowerBook and reboot. Hmm. Anything interesting in the logs? (syslog, X server log, ...) -- Earthl

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Andrew Keedle
> Does Option "DRIReinit" make a difference? Yes. I get a garbled (colour) screen back, but cannnot do anything. I can however SSH into the PowerBook and reboot. > Does /dev/apm_bios exist, and is there a line > > (II) Open APM successful > > in the X server log? Yes.

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 15:06, Raphaël Haberer-Proust wrote: > > > Could be something about the X setup, please provide some information > > about that, e.g.: What version of XFree86? With Option "UseFBDev"? > > With DRI enabled? Is APM emulation working? ... > Sorry, I must admit that I did not kno

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Raphaël Haberer-Proust
Hello again, > Could be something about the X setup, please provide some information > about that, e.g.: What version of XFree86? With Option "UseFBDev"? > With DRI enabled? Is APM emulation working? ... Sorry, I must admit that I did not know anything about apm emulation. Is it in the kernel? I

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Jérôme Marant
Michel Dänzer <[EMAIL PROTECTED]> writes: >> Right, but isn't this /dev/apm_bios created by some package? > > Yes, pmud and powermgmt-base seem to do that at least. You also need to > make sure the apm_emu kernel module is actually loaded if you haven't > built APM emulation into the kernel. Th

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 14:25, Jérôme Marant wrote: > Michel Dänzer <[EMAIL PROTECTED]> writes: > > > On Sam, 2003-03-15 at 13:04, Jérôme Marant wrote: > >> David MENTRE <[EMAIL PROTECTED]> writes: > >> > >> > I works!! In fact, the /dev/apm_bios character device was missing. > >> > > >> > Doing a

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Jérôme Marant
Michel Dänzer <[EMAIL PROTECTED]> writes: > On Sam, 2003-03-15 at 13:04, Jérôme Marant wrote: >> David MENTRE <[EMAIL PROTECTED]> writes: >> >> > I works!! In fact, the /dev/apm_bios character device was missing. >> > >> > Doing a 'mknod /dev/apm_bios c 10 134;chmod 770 /dev/apm_bios' as root >>

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread digger vermont
Yaaahooo! This morning both Myrna (powerbook G4) and I woke up. For Myrna it was the the first good night sleep since I install Linux. So far I've seen none of the degradation over time that I had before the patch. Alsa -- at first it didn't seem to work but then discovered that, fiddling with t

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 13:39, Andrew Keedle wrote: > > Could be something about the X setup, please provide some information > > about that, e.g.: What version of XFree86? With Option "UseFBDev"? With > > DRI enabled? Is APM emulation working? ... > > Debian Testing > > XFree86 Version 4.2.99.2 (D

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 13:04, Jérôme Marant wrote: > David MENTRE <[EMAIL PROTECTED]> writes: > > > I works!! In fact, the /dev/apm_bios character device was missing. > > > > Doing a 'mknod /dev/apm_bios c 10 134;chmod 770 /dev/apm_bios' as root > > make it works. > > What in the patch makes this

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Andrew Keedle
> Could be something about the X setup, please provide some information > about that, e.g.: What version of XFree86? With Option "UseFBDev"? With > DRI enabled? Is APM emulation working? ... Debian Testing XFree86 Version 4.2.99.2 (DRI trunk) / X Window System (protocol Version 11, revision 0, ve

Re: New sleep code for ATI M6, M7 and M9

2003-03-15 Thread Michel Dänzer
On Sam, 2003-03-15 at 11:38, Raphaël Haberer-Proust wrote: > > > I posted a patch at > Thank you very much for your great work, ben! > > But I'm sorry having to tell you that it does not work properly for > me... I have a TiBook III with M7 LW. Sleep/w

  1   2   >