Re: [vfio-users] vga passthrough works but no grub screen for linux guest

2019-06-30 Thread Christoph Willing
On 30/6/19 11:07 pm, Bronek Kozicki wrote:
> On Sun, 30 Jun 2019, at 1:41 PM, Christoph Willing wrote:
>> I have vga passthrough working with a linux guest running in qemu-3.1.0
>> on a host with two Nvidia Quadro K600 cards and the nvidia binary driver
>> 430.26 installed. A dedicated keyboard & mouse is also passed through
>> successfully so, in general, I'm pretty happy with the setup but ...
>>
>> when I use OVMF and run the guest without passthrough (just a regular
>> qemu vm running on the host display) I see a grub screen to select a
>> particular kernel, followed by the usual console output during bootup
>> before X starts. However, when running with passthrough enabled, the
>> guest vm's monitor (Samsung U28D590) shows nothing until X starts -
>> there is no grub screen and no console output.
>>
>> Before I had the nvidia binary driver installed in the guest, I had some
>> console output while booting but still no grub screen.
>>
>> Is there some way I can see everything including the grub screen, or is
>> it normal not to see that in the guest?
> 
> It is normal on my Quadro M5000 - these cards are not supported as primary 
> display with passthrough. This might be something to do with ROM, but I was 
> not successful trying to investigate further. To compensate for this all my 
> virtual machines have serial console, so I can do "virsh console"
> 
> 
> B.
> 

Thanks for the confirmation Bronek - it's good to know I'm not the only
one seeing this. I'll give it a try with serial console.

chris

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] remote display + vfio gpu?

2019-06-30 Thread José Ramón Muñoz Pekkarinen
On Sun, 30 Jun 2019 at 23:15, James Courtier-Dutton
 wrote:
> Hi,
>
> Have you looked into the feasibility of what you are asking.
> I see the main problem being the massive bandwidth that is needed.
> Taking the output frames and passing them via shared memory is reasonable, 
> and that is what "looking glass" does.
> Passing these same frames over the network is impractical.
> There is just too much data to pass over the network.
>
> This is why various tools like QXL, Spice and VNC exist.

Sorry if I didn't express myself correctly, but basically I'm
trying to access one or 2 vms over spice, the thing is that I
want to use a normal graphic card for 3d instead of the qxl
device. If the performance is bad or good, as it's for testing
I simply can live with bad performance.

Best regards.

José.

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] remote display + vfio gpu?

2019-06-30 Thread James Courtier-Dutton
On Sun, 30 Jun 2019 at 19:30, José Ramón Muñoz Pekkarinen <
koali...@gmail.com> wrote:

> On Sun, 30 Jun 2019 at 18:55, Patrick O'Callaghan  wrote:
> >
> > On Sun, 2019-06-30 at 16:35 +0300, José Ramón Muñoz Pekkarinen wrote:
> > > Hi vfio users,
> > >
> > > I've been taking a look recently to the looking
> > > glass project[1], as well as spice display capabilities of
> > > qemu, I was wondering if it's possible to have a linux
> > > guest with only remote display and use a gpu passed
> > > through for 3d rendering either through qxl driver with
> > > dri prime, or just removing the qxl device after install.
> > >
> > > I did a try with qxl + dri prime, though glxinfo came
> > > from qxl no matter of the env variable.
> > >
> > > [1] https://looking-glass.hostfission.com/
> >
> > According to that page that only Windows 10 guests are supported at
> > present.
>
> Oh, sure, my interest is to implement this kind of
> vm in linux and windows 10, but I'm looking for alternative
> ways rather than using looking glass, as it seems it
> enforces to use shared memory.
>
>  I see that using egl-headless I could get some sort
> of capabilities, but not all of the gpu, and using spice only
> I don't find a way to redirect the vga output to the remote
> display.
>
> Best regards.
>
> José.
>
> Hi,

Have you looked into the feasibility of what you are asking.
I see the main problem being the massive bandwidth that is needed.
Taking the output frames and passing them via shared memory is reasonable,
and that is what "looking glass" does.
Passing these same frames over the network is impractical.
There is just too much data to pass over the network.

This is why various tools like QXL, Spice and VNC exist.

Kind Regards

James
___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] remote display + vfio gpu?

2019-06-30 Thread José Ramón Muñoz Pekkarinen
On Sun, 30 Jun 2019 at 18:55, Patrick O'Callaghan  wrote:
>
> On Sun, 2019-06-30 at 16:35 +0300, José Ramón Muñoz Pekkarinen wrote:
> > Hi vfio users,
> >
> > I've been taking a look recently to the looking
> > glass project[1], as well as spice display capabilities of
> > qemu, I was wondering if it's possible to have a linux
> > guest with only remote display and use a gpu passed
> > through for 3d rendering either through qxl driver with
> > dri prime, or just removing the qxl device after install.
> >
> > I did a try with qxl + dri prime, though glxinfo came
> > from qxl no matter of the env variable.
> >
> > [1] https://looking-glass.hostfission.com/
>
> According to that page that only Windows 10 guests are supported at
> present.

Oh, sure, my interest is to implement this kind of
vm in linux and windows 10, but I'm looking for alternative
ways rather than using looking glass, as it seems it
enforces to use shared memory.

 I see that using egl-headless I could get some sort
of capabilities, but not all of the gpu, and using spice only
I don't find a way to redirect the vga output to the remote
display.

Best regards.

José.

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] remote display + vfio gpu?

2019-06-30 Thread Patrick O'Callaghan
On Sun, 2019-06-30 at 16:35 +0300, José Ramón Muñoz Pekkarinen wrote:
> Hi vfio users,
> 
> I've been taking a look recently to the looking
> glass project[1], as well as spice display capabilities of
> qemu, I was wondering if it's possible to have a linux
> guest with only remote display and use a gpu passed
> through for 3d rendering either through qxl driver with
> dri prime, or just removing the qxl device after install.
> 
> I did a try with qxl + dri prime, though glxinfo came
> from qxl no matter of the env variable.
> 
> [1] https://looking-glass.hostfission.com/

According to that page that only Windows 10 guests are supported at
present.

poc

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


[vfio-users] remote display + vfio gpu?

2019-06-30 Thread José Ramón Muñoz Pekkarinen
Hi vfio users,

I've been taking a look recently to the looking
glass project[1], as well as spice display capabilities of
qemu, I was wondering if it's possible to have a linux
guest with only remote display and use a gpu passed
through for 3d rendering either through qxl driver with
dri prime, or just removing the qxl device after install.

I did a try with qxl + dri prime, though glxinfo came
from qxl no matter of the env variable.

[1] https://looking-glass.hostfission.com/

Thanks!

José Pekkarinen.

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


Re: [vfio-users] vga passthrough works but no grub screen for linux guest

2019-06-30 Thread Bronek Kozicki
On Sun, 30 Jun 2019, at 1:41 PM, Christoph Willing wrote:
> I have vga passthrough working with a linux guest running in qemu-3.1.0
> on a host with two Nvidia Quadro K600 cards and the nvidia binary driver
> 430.26 installed. A dedicated keyboard & mouse is also passed through
> successfully so, in general, I'm pretty happy with the setup but ...
> 
> when I use OVMF and run the guest without passthrough (just a regular
> qemu vm running on the host display) I see a grub screen to select a
> particular kernel, followed by the usual console output during bootup
> before X starts. However, when running with passthrough enabled, the
> guest vm's monitor (Samsung U28D590) shows nothing until X starts -
> there is no grub screen and no console output.
> 
> Before I had the nvidia binary driver installed in the guest, I had some
> console output while booting but still no grub screen.
> 
> Is there some way I can see everything including the grub screen, or is
> it normal not to see that in the guest?

It is normal on my Quadro M5000 - these cards are not supported as primary 
display with passthrough. This might be something to do with ROM, but I was not 
successful trying to investigate further. To compensate for this all my virtual 
machines have serial console, so I can do "virsh console"


B.

-- 
  Bronek Kozicki
  b...@spamcop.net

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


[vfio-users] vga passthrough works but no grub screen for linux guest

2019-06-30 Thread Christoph Willing
I have vga passthrough working with a linux guest running in qemu-3.1.0
on a host with two Nvidia Quadro K600 cards and the nvidia binary driver
430.26 installed. A dedicated keyboard & mouse is also passed through
successfully so, in general, I'm pretty happy with the setup but ...

when I use OVMF and run the guest without passthrough (just a regular
qemu vm running on the host display) I see a grub screen to select a
particular kernel, followed by the usual console output during bootup
before X starts. However, when running with passthrough enabled, the
guest vm's monitor (Samsung U28D590) shows nothing until X starts -
there is no grub screen and no console output.

Before I had the nvidia binary driver installed in the guest, I had some
console output while booting but still no grub screen.

Is there some way I can see everything including the grub screen, or is
it normal not to see that in the guest?

Thanks for any insights or suggestions,
chris

___
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users