Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UEFI,Nvidia,GRUB and framebuffer.(v86d removal fun)[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 350
Location: Germany

PostPosted: Fri Mar 30, 2018 6:13 am    Post subject: UEFI,Nvidia,GRUB and framebuffer.(v86d removal fun)[SOLVED] Reply with quote

Hello,

i used v86d initramfs and uvesa since years to get a high resolution konsole.
now i am forced to find another solution, since v86d is obsolete.

most current nvidia drivers with dual gtx1070
Ivy bridge dual xeons v2
4.14.2x -'ish kernel.
GRUB, UEFI.

There aren't any guides in the web to get a well working framebuffer console with pinguins on top and a proper resolution,
without doing it the uvesa way.

Any suggestions?

Help :(


Last edited by MaDDeePee on Sat Mar 31, 2018 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Fri Mar 30, 2018 6:32 am    Post subject: Re: UEFI,Nvidia,GRUB and framebuffer console.(v86d removal f Reply with quote

MaDDeePee wrote:
Hello,

i used v86d initramfs and uvesa since years to get a high resolution konsole.
now i am forced to find another solution, since v86d is obsolete.

most current nvidia drivers with dual gtx1070
Ivy bridge dual xeons v2
4.14.2x -'ish kernel.
GRUB, UEFI.

There aren't any guides in the web to get a well working framebuffer console with pinguins on top and a proper resolution,
without doing it the uvesa way.

Any suggestions?

Help :(


I have JUST worked through this. Using the kernel FB_EFI, rEFInd and the proprietary nvidia drivers, I have 1920x1080 console featuring 8 penguins (pre-startx) and 3d accelleration in X. I too, used to use uvesa fb. I left linux off for a couple of years and had to figure out another way when I returned. It was not quick or easy.

dmesg: https://paste.pound-python.org/show/MlLpqo63gQXjzw0bNvFG/
.config: https://paste.pound-python.org/show/AakLS2dYApjDDVWx7VIQ/
lsmod: https://paste.pound-python.org/show/uvfusVtcHzCLYXSEvCH2/
lspci: https://paste.pound-python.org/show/o07lAbfy4iPIeryfetvn/
/boot/refind_linux.conf: https://paste.pound-python.org/show/BJTkM85y12hav4sl4S0x/
/boot/efi/EFI/refind/refind.conf: https://paste.pound-python.org/show/jR89M126vbRtrg9RIWjZ/

I have only efi fb in kernel and dri support. No other fb support at all, except for the nvidia-drivers fb component. The key for me was the line in refind.conf (line 168 in my paste) that starts the kernel in graphical mode. Prior to digging that line up, I could only get the default efi framebuffer resolution of 640x480, or 600x800, I forget which.I suppose you could do this using Grub2 if you could start the kernel with the same option. I suppose it would work without a bootloader or boot manager if you start the kernel in graphical mode. I happen to like rEFInd a lot. I think the keys are the kernel configuration and the kernel startup option. Much better than swapping noveau and nvidia using clunky scripts, IMO.

Hope this gets you going. If I seem to have left anything out, I can dig it up for you. If you are having difficulties getting it working, please pastebin relevant code when replying. I'm not really all that good at this stuff. I'm just persistent and can Google.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 350
Location: Germany

PostPosted: Fri Mar 30, 2018 3:29 pm    Post subject: Reply with quote

Hello and thanks for your support! :D

Everything else except "simple framebuffer support" is leading to no console at all.
i have to enable this to see anything while booting, no matter if one of those is set:

VESA VGA graphics support
EFI-based Framebuffer Support

Its seems like its all about simple framebuffer support to show me text while booting,
unfortunately @ 640x480 :oops: i don't know how to change resoultion, grub_gfxpayload doesn't work here, too :roll:
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 350
Location: Germany

PostPosted: Fri Mar 30, 2018 3:55 pm    Post subject: Reply with quote

ok, i just found out its my fault requesting more than 1024x768 that is not supported, regarding
to "vbeinfo" within grub-console...

GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD_LINUX=keep

above entries are giving me a 1024x768 console.
a chance to get better? where is this limitation coming from? Why no 1280?

:?
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Fri Mar 30, 2018 4:22 pm    Post subject: Reply with quote

Try passing "nomodeset" in addition?

Are you booting the kernel in graphical mode? Dont know how you do that in Grub. If that is happening, you shouldn't have that limitation.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
MaDDeePee
Guru
Guru


Joined: 18 Aug 2004
Posts: 350
Location: Germany

PostPosted: Sat Mar 31, 2018 4:05 pm    Post subject: Reply with quote

LOL, ok - i got it!

For people with the same problem:

While using UEFI and this "stupid" CSM Secure boot stuff, i was able to choose:
Video-Bios UEFI ROMmode or LEGACY ROMmode (or don't launch biosROM, resulting in black screen and need to bios reset -.-)

While in Legacy mode, there were only 3 VGA modes with 1024x768x32 maximum.

So...well, my bad.

Thanks a bunch! <3
Back to top
View user's profile Send private message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 487
Location: Hawaii

PostPosted: Sat Mar 31, 2018 8:26 pm    Post subject: Reply with quote

Enjoy your hi-res condoles w/penguins.
_________________
Asrock X470 Taichi
Ryzen 2700x
32Gb Samsung B-die (16GB dual rank x2) DDR4
Geforce GTX 1060 6GB
Samsung Evo 840 500Gb +Seagate 1TB HDD
Etc....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum