* [Qemu-devel] vexpress: Framebuffer broken with KVM enabled
@ 2015-02-16 9:13 Jan Kiszka
2015-02-16 9:20 ` Anup Patel
0 siblings, 1 reply; 5+ messages in thread
From: Jan Kiszka @ 2015-02-16 9:13 UTC (permalink / raw)
To: qemu-devel; +Cc: kvmarm, kvm
Hi,
next issue related to KVM/QEMU on the TK1: The guest image I'm running
gives proper framebuffer output when in emulation mode. Once KVM is
enabled, the screen is - at best - only initially updated. Sometimes I
see the famous tux images and a bit of the console texts, but usually it
stays black. Explanations?
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] vexpress: Framebuffer broken with KVM enabled
2015-02-16 9:13 [Qemu-devel] vexpress: Framebuffer broken with KVM enabled Jan Kiszka
@ 2015-02-16 9:20 ` Anup Patel
2015-02-16 9:26 ` Jan Kiszka
2015-02-16 9:34 ` Alexander Spyridakis
0 siblings, 2 replies; 5+ messages in thread
From: Anup Patel @ 2015-02-16 9:20 UTC (permalink / raw)
To: Jan Kiszka; +Cc: qemu-devel, kvm, kvmarm
On Mon, Feb 16, 2015 at 2:43 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
> Hi,
>
> next issue related to KVM/QEMU on the TK1: The guest image I'm running
> gives proper framebuffer output when in emulation mode. Once KVM is
> enabled, the screen is - at best - only initially updated. Sometimes I
> see the famous tux images and a bit of the console texts, but usually it
> stays black. Explanations?
The QEMU accesses Guest Video RAM (or any portion of Guest RAM) as
cacheable user space memory. The Guest Kernel might access Guest Video
RAM as non-cacheable to maintain coherency with video device. If this is
the case then all updates by Guest kernel to Guest Video RAM will not
be visible to QEMU.
--
Anup
>
> Jan
> _______________________________________________
> kvmarm mailing list
> kvmarm@lists.cs.columbia.edu
> https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] vexpress: Framebuffer broken with KVM enabled
2015-02-16 9:20 ` Anup Patel
@ 2015-02-16 9:26 ` Jan Kiszka
2015-02-16 9:34 ` Alexander Spyridakis
1 sibling, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2015-02-16 9:26 UTC (permalink / raw)
To: Anup Patel; +Cc: qemu-devel, kvm, kvmarm
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
On 2015-02-16 10:20, Anup Patel wrote:
> On Mon, Feb 16, 2015 at 2:43 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
>> Hi,
>>
>> next issue related to KVM/QEMU on the TK1: The guest image I'm running
>> gives proper framebuffer output when in emulation mode. Once KVM is
>> enabled, the screen is - at best - only initially updated. Sometimes I
>> see the famous tux images and a bit of the console texts, but usually it
>> stays black. Explanations?
>
> The QEMU accesses Guest Video RAM (or any portion of Guest RAM) as
> cacheable user space memory. The Guest Kernel might access Guest Video
> RAM as non-cacheable to maintain coherency with video device. If this is
> the case then all updates by Guest kernel to Guest Video RAM will not
> be visible to QEMU.
On x86, we manage such RAM as coalesced MMIO region, sync'ing it
periodically or on specific register accesses into the video card model.
I suppose there is nothing like this for the pl111 yet, right?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] vexpress: Framebuffer broken with KVM enabled
2015-02-16 9:20 ` Anup Patel
2015-02-16 9:26 ` Jan Kiszka
@ 2015-02-16 9:34 ` Alexander Spyridakis
2015-02-16 10:04 ` Jan Kiszka
1 sibling, 1 reply; 5+ messages in thread
From: Alexander Spyridakis @ 2015-02-16 9:34 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Anup Patel, qemu-devel, kvm, kvmarm
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
On Mon, Feb 16, 2015 at 2:43 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
> Hi,
>
> next issue related to KVM/QEMU on the TK1: The guest image I'm running
> gives proper framebuffer output when in emulation mode. Once KVM is
> enabled, the screen is - at best - only initially updated. Sometimes I
> see the famous tux images and a bit of the console texts, but usually it
> stays black. Explanations?
Hello Jan,
If you want to force rendering, you can do something similar with the
following hack:
https://github.com/virtualopensystems/qemu/commit/64dd1b3e3a2353433edb9c63d00271f515bd06fb
Of course expect performance to not be up to par.
Best regards.
[-- Attachment #2: Type: text/html, Size: 1139 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] vexpress: Framebuffer broken with KVM enabled
2015-02-16 9:34 ` Alexander Spyridakis
@ 2015-02-16 10:04 ` Jan Kiszka
0 siblings, 0 replies; 5+ messages in thread
From: Jan Kiszka @ 2015-02-16 10:04 UTC (permalink / raw)
To: Alexander Spyridakis; +Cc: Anup Patel, qemu-devel, kvm, kvmarm
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]
On 2015-02-16 10:34, Alexander Spyridakis wrote:
> On Mon, Feb 16, 2015 at 2:43 PM, Jan Kiszka <jan.kiszka@web.de> wrote:
>> Hi,
>>
>> next issue related to KVM/QEMU on the TK1: The guest image I'm running
>> gives proper framebuffer output when in emulation mode. Once KVM is
>> enabled, the screen is - at best - only initially updated. Sometimes I
>> see the famous tux images and a bit of the console texts, but usually it
>> stays black. Explanations?
>
> Hello Jan,
>
> If you want to force rendering, you can do something similar with the
> following hack:
> https://github.com/virtualopensystems/qemu/commit/64dd1b3e3a2353433edb9c63d00271f515bd06fb
>
> Of course expect performance to not be up to par.
Yep, confirmed - both that it works and that it's slow (better not try
this with SDL, exported via X...).
Thanks,
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-02-16 10:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 9:13 [Qemu-devel] vexpress: Framebuffer broken with KVM enabled Jan Kiszka
2015-02-16 9:20 ` Anup Patel
2015-02-16 9:26 ` Jan Kiszka
2015-02-16 9:34 ` Alexander Spyridakis
2015-02-16 10:04 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).