qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] R: Booting Lubuntu 16.04 on qemu-system-ppc produces errors


From: luigi burdo
Subject: [Qemu-ppc] R: Booting Lubuntu 16.04 on qemu-system-ppc produces errors
Date: Tue, 30 Jul 2019 09:56:32 +0000

Hi Zoltan, 
the issue on the color on Linux PPC with ati/radeon/amd was present from 3.x kernel.
the only way for have right colors on real hardware is the use of the fbdev with 8/16 bit colors  or use a real X86 gpu on another pcie slot as second gpu,  plus there are many issue with linux and colors (mesa too) on powerpc with X86 gpu too .
you can see this my video on real power mac  https://youtu.be/5P2HtBfVdwY?t=93 

Ciao 
Luigi 

Da: Qemu-ppc <qemu-ppc-bounces+intermediadc=address@hidden> per conto di BALATON Zoltan <address@hidden>
Inviato: martedì 30 luglio 2019 04:12
A: Howard Spoelstra <address@hidden>
Cc: address@hidden <address@hidden>; Andrew Randrianasulu <address@hidden>
Oggetto: Re: [Qemu-ppc] Booting Lubuntu 16.04 on qemu-system-ppc produces errors
 
On Wed, 10 Jul 2019, BALATON Zoltan wrote:
> On Wed, 10 Jul 2019, Howard Spoelstra wrote:
>> qemu-system-ppc -M mac99,via=pmu -L ../queue-vga/pc-bios -cdrom
>> /mnt/sdb1/PPC-img/lubuntu-16.04-desktop-powerpc.iso -m 512  -display
>> sdl,gl=on -vga std -d guest_errors,unimp -boot d -cpu G4 -g 1024x768x24
>> -device ES1370
>>
>> Hi,
>>
>> With this simple command line I get to the desktop with Lubuntu PPC 16 32
>> bit. Takes some time... Qemu-system-ppc is from current rc0 master.
>> Colors are inverted, though.
>
> I got same result on x86_64 Intel host/QEMU but I think the crash Andrew
> reported was with x86_64 host (AMD CPU if that matters) but 32bit x86 QEMU.
> So we haven't really tested the same config so we could only confirm it does
> not crash on 64bit host/QEMU.
>
>> ./qemu-system-ppc \
>> -L pc-bios \
>> -boot d -M mac99,via=pmu -m 1024 \
>> -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env
>> 'vga-ndrv?=false' \
>> -drive
>> file=~/Linux-images/lubuntu-16.04-desktop-powerpc.iso,format=raw,media=cdrom
>> \
>> -serial stdio  \
>> -g 1024x768x32 \   (also with x16 and x8)
>> -device ati-vga,id=rage128p
>
> I would not call that a simple command as it has a lot of unnecessary or
> ineffective options. My simple command is just:
>
> qemu-system-ppc -M mac99,via=pmu -m 1024 -cdrom
> lubuntu-16.04-desktop-powerpc.iso -boot d -device ati-vga
>
> which gives the same result on x86_64 host and QEMU: boots to desktop slowly
> with swapped endian colors. (The slowness may be due to it trying to detect
> missing hardware, it even tries to talk to modems on serial.) All the other

This patch: http://patchwork.ozlabs.org/patch/1138749/
should fix inverted colors at least with X FB driver. Tested with some
images from here:
https://wiki.qemu.org/Documentation/Platforms/PowerPC#Links
that I assume should work on real hardware. Higher than 8 bit modes on
console with rage128fb are still wrong though on recent kernel because it
does set FB to little endian yet seems to put data in it in big endian.
This may be a bug in recent Linux versions? (Probably easy to miss as it
does not show with default 8 bit mode or testing with QEMU vga but I did
not investigate it further.)

Regards,
BALATON Zoltan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]