You are not logged in.

#1 2020-01-11 09:22:17

hiro121
Member
Registered: 2020-01-11
Posts: 1

Copy framebuffer to another videocard [vgaarb, fb].

I've got 2 videocards set up, each using different monitor input.
My motherboard doesn't allow me to set speicific videocard as 'default', so it sets as default the one in the top slot (I can't interchange the cards in slots).

04: videocard I want to see output on
09: videocard that is set default by UEFI and then used by grub/kernel.

So UEFI sets the card 09 as default via GOP and then grub and then kernel continue to use it as default.

I'm ok with UEFI and grub using it, but I want the LUKS password prompt to be displayed on my 04 card.
So I would be ok even with just making a copy of framebuffer by kernel to the 04 card, so I can see where I type my password on.

I've tried using fbcon=map:1, but it doesn't work.

The framebufffer is efifb.

[    0.211206] pci 0000:04:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.211206] pci 0000:09:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none
[    0.211206] pci 0000:04:00.0: vgaarb: bridge control possible
[    0.211206] pci 0000:09:00.0: vgaarb: bridge control possible
[    0.211206] pci 0000:09:00.0: vgaarb: setting as boot device
[    0.211206] vgaarb: loaded

[    0.875397] efifb: probing for efifb
[    0.875404] efifb: framebuffer at 0xd0000000, using 3072k, total 3072k
[    0.875405] efifb: mode is 1024x768x32, linelength=4096, pages=1
[    0.875405] efifb: scrolling: redraw
[    0.875405] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    0.875465] Console: switching to colour frame buffer device 128x48
[    0.877549] fb0: EFI VGA frame buffer device

[    1.312266] nvidia 0000:04:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[    1.411973] nvidia 0000:09:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem

https://git.kernel.org/pub/scm/linux/ke … 5b511c8656

Last edited by hiro121 (2020-01-11 09:24:19)

Offline

Board footer

Powered by FluxBB