[Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34102





--- Comment #9 from Martin Steigerwald mar...@lichtvoll.de  2011-05-09 
12:15:32 ---
I now had a hang a preallocation (unfortunately before I came around to compile
with your patch from bug 30492). I raised reserved size to 4 MiB for now. Lets
see how that goes. If it works, then I might go back to 2 MiB or even less in
order to trigger bug 30492 with the patch from there compiled in.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34102





--- Comment #10 from Martin Steigerwald mar...@lichtvoll.de  2011-05-09 
15:15:49 ---
This wasn't a hang I think, see there.

I tried to hibernate two running KDE 4 sessions with reserved_size upto 64 MiB:

shambhala:/sys/power cat reserved_size 
67108864

Which failed with:

May  9 16:41:47 localhost kernel: PM: freeze of devices complete after 524.427
msecs
May  9 16:41:47 localhost kernel: PM: late freeze of devices complete after
0.509 msecs
May  9 16:41:47 localhost kernel: ACPI: Preparing to enter system sleep state
S4
May  9 16:41:47 localhost kernel: PM: Saving platform NVS memory
May  9 16:41:47 localhost kernel: Extended CMOS year: 2000
May  9 16:41:47 localhost kernel: PM: Creating hibernation image:
May  9 16:41:47 localhost kernel: PM: Need to copy 218459 pages
May  9 16:41:47 localhost kernel: PM: Normal pages needed: 113686 + 1024,
available pages: 113492
May  9 16:41:47 localhost kernel: PM: Not enough free memory
May  9 16:41:47 localhost kernel: PM: Error -12 creating hibernation image
May  9 16:41:47 localhost kernel: Extended CMOS year: 2000
May  9 16:41:47 localhost kernel: ACPI: Waking up from system sleep state S4
May  9 16:41:47 localhost kernel: PM: early recover of devices complete after
0.366 msecs

Does it make sense to go to even higher values? I am a bit puzzled, since for
one KDE 4 session a value of 2 MiB has turned out to be enough for about 5-10
attempts - it didn't fail once.

Maybe here there is simply not enough memory available no matter what I reserve
for driver allocation? If so, then so be it. That might be just a limit for a 2
GB RAM machine.

Is there a way to tell for sure whether reserved size is too low or there are
general memory constraints? TuxOnIce logged how much of the reserved extra
pages it used. Can in-kernel-hibernation do this too?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34102





--- Comment #11 from Martin Steigerwald mar...@lichtvoll.de  2011-05-09 
15:59:09 ---
Ok, now it did it! First with 256 MiB reserved_size then also with 128 MiB
reserved_size. Two KDE 4 sessions with compositing enabled. It had some
problems to freeze tasks initially, cause an rdiff-backup and two KDE 4 desktop
search indexers were running, but after some tries it did it. And if the
rdiff-backup and those desktop searches fill the laptop harddisk with I/O
requests up to its limit, thats just what to be expected. I am now testing 128
MiB and looks whether it works reliably. Still I wonder why 2 MiB was enough
for one KDE 4 session, but two need something around 128 MiB.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34102] radeon drm/kms: please use suspend/hibernate notifiers for allocating memory in suspend routines

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34102


Rafael J. Wysocki r...@sisk.pl changed:

   What|Removed |Added

 Status|NEEDINFO|ASSIGNED




--- Comment #12 from Rafael J. Wysocki r...@sisk.pl  2011-05-09 19:06:31 ---
It looks like the amount of memory the graphics driver allocates during
hibernation depends on how the GPU is loaded (the more 3D stuff you do before
hibernation, the more memory it needs to allocate).

So, I'd say reserved_size should match not only your hardware configuration,
but also your workload.

I'll try to post the patch from comment #3 for review, let's see if people
will like it. :-)

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34252] Unexpected behaviour when switching video cards with vga_switcheroo

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34252





--- Comment #3 from Florian Mickler flor...@mickler.org  2011-05-09 19:18:48 
---
Do you have a guess, why this is happening (for example, any error messages
from the kernel) ? Can you login via ssh when the system freezes with a black
screen? Do you think the system completely froze, or are, for example, the
sysrq-keys still working? Is there anything in the dmesg that gives a clue? If
there is nothing in the logs, can you try netconsole?

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34252] Unexpected behaviour when switching video cards with vga_switcheroo

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34252





--- Comment #4 from Igor Murzov e-m...@date.by  2011-05-09 21:53:21 ---
@Florian Mickler:

System is not frozen, only screen is black, because active graphical card gets
turned off. I can log into the system via ssh and turn graphics on.

If I do `echo IGD  /sys/kernel/debug/vgaswitcheroo/switch` just after system
boot, I get following new lines in dmesg:

[ 1230.530299] fbcon: Remapping primary device, fb0, to tty 1-63
[ 1230.570734] radeon: switched off
[ 1230.591094] [drm] Disabling audio support
[ 1230.718090] radeon :01:05.0: PCI INT A disabled

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34252] Unexpected behaviour when switching video cards with vga_switcheroo

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34252





--- Comment #5 from Igor Murzov e-m...@date.by  2011-05-09 21:56:04 ---
Created an attachment (id=57042)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=57042)
dmesg output

This is a full dmesg output after sending IGD to vgaswitcheroo/switch.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[Bug 34772] New: [radeon] [R300] GPU lockups with when KMS is enabled

2011-05-09 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=34772

   Summary: [radeon] [R300] GPU lockups with when KMS is enabled
   Product: Drivers
   Version: 2.5
Kernel Version: 2.6.38
  Platform: All
OS/Version: Linux
  Tree: Mainline
Status: NEW
  Severity: normal
  Priority: P1
 Component: Video(DRI - non Intel)
AssignedTo: drivers_video-...@kernel-bugs.osdl.org
ReportedBy: rbr...@ime.usp.br
Regression: No


Created an attachment (id=57062)
 -- (https://bugzilla.kernel.org/attachment.cgi?id=57062)
dmesg output right after the lock up, obtained via the network

Hi there.

I have been getting some Oopses/stack traces when I try to use my iBook G4
(with an ATI Technologies Inc M11 NV/FireGL Mobility T2e card) and I enable
KMS.

The userland here is Debian unstable with the DRM from experimental, but I am
willing to test anything that you would like me to.

For example, attached is the last of a series of such Oopses that I got when I
tried to test if a video was playing or not with mplayer.

I tried to use 2.6.39-rc{5,6}, but upon boot I get messages telling me that
there were failures and that hardware acceleration will be disabled and I that
I get is a desktop with colors distorted like if there were some endianness
issues.

This is, BTW, part of my attempts to get Linux running well on PowerPC, with
some of my logs (with photos) present at my homepage:


http://www.ime.usp.br/~rbrito/linux/debug-r300/

Please, if there is anything that I can provide to fix this, let me know and I
will do my best.


Thanks, Rogério Brito.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching the assignee of the bug.
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel