Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
v86d removal in a month #606154
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bammbamm808
Guru
Guru


Joined: 08 Dec 2002
Posts: 510
Location: Hawaii

PostPosted: Wed May 30, 2018 8:07 pm    Post subject: Reply with quote

I have had success using FB_EFI, rEFInd and the nvidia driver. I have rEFInd start the efistub kernel in graphical mode and set the console resolution to 1920x1080. I too used to use uvesafb and v86d. Not sure how to get grub to start the kernel in graphical mode.
_________________
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
etnull
Guru
Guru


Joined: 26 Mar 2019
Posts: 342
Location: Russia

PostPosted: Mon May 20, 2019 12:32 am    Post subject: Reply with quote

For those who may find this post in search engine, here is my solution:
I run desktop with GTX770, and legacy BIOS (not UEFI), plus proprietary nvidia driver.
First of all you need to install nvidia-drivers and kernel options like in this guide https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers,
nouveau should not be on the system, or should be blacklisted. After you can boot with nvidia drivers and test it in X you can proceed:
To enable native resolution in TTY, you need to have these options in the kernel:
Code:
Device Drivers  --->
   Graphics support  --->
       <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)  ---> 
       < > Nouveau (NVIDIA) cards
   Frame buffer Devices  --->
       -*- Support for frame buffer devices  --->
       < > Userspace VESA VGA graphics support                                     
       [*] VESA VGA graphics support
       [*] Simple framebuffer support

edit /etc/default/grub
Code:
# 8bit mode can greatly increase the booting speed, I didn't notice any difference in colors on a small color pallet
GRUB_CMDLINE_LINUX_DEFAULT="video=vesafb:2560x1440-8,mtrr:3,ywrap"
GRUB_GFXMODE="2560x1440x8"
GRUB_GFXPAYLOAD_LINUX=keep
# Make sure this is commented out, otherwise it will ruin your resolution setting
# GRUB_TERMINAL=console

To check which resolutions are supported you can use sudo hwinfo --framebuffer (hwinfo should be installed separately)

Update grub like usual (grub-mkconfig -o /boot/grub/grub.cfg)

It should be enough, if not, check this /etc/modprobe.d/nvidia.conf
it should have something like this:
Code:
options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1

Without "modeset" or something like that. I hope it helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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