Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Framebuffer resolution and nvidia driver in EFI system
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
jots
n00b
n00b


Joined: 05 Jun 2016
Posts: 9

PostPosted: Tue Jun 21, 2016 4:39 pm    Post subject: Framebuffer resolution and nvidia driver in EFI system Reply with quote

Good evening.

I recently switched from the noveau driver to nvidia 367.27, kernel 4.4.6. I followed the instructions in this thread:

https://forums.gentoo.org/viewtopic-t-1013132.html

Basically the system boots fine but I don't like the framebuffer resolution.

On one hand I have read that passing over "vga=0xxxx" to the nvidia driver via kernel parameter isn't implemented yet, on the other hand I couldn't get uvesafb up and running (no console picture and dmesg message "couldn't reserve memory at 0xblablabla"). My system configuration is an EFI system booting in EFI mode but the nvidida graphics adapter's firmware is not EFI enabled (so loaded via CSM) so I riddle that's the cause why everything is a bit wrecked with uvesafb.

On the other hand I've read that nvidia has prepared KMS settings for their drivers since a recent version?

I would really appreciate a hint on that topic. Thanks much in advance.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44226
Location: 56N 3W

PostPosted: Tue Jun 21, 2016 6:00 pm    Post subject: Reply with quote

jots,

First off, nVdia say that horrible things happen if you use a framebuffer driver with the binary blob.
You can read all about it in dmesg when you try it.

It used to work as long as the framebuffer does not try to control the hardware.
As an EFI user, try efiframebuffer, then simpleframebuffer then vesafb,

I don't have any EFI systems, so I've never tried that but the theory is sound
vesafb used to work for me but my card was left behind a few years ago.
Simple framebuffer has no controls at all It relies on something else setting the resolution.
That something should be grub. The kernel just draws in the framebuffer it finds.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jots
n00b
n00b


Joined: 05 Jun 2016
Posts: 9

PostPosted: Tue Jun 21, 2016 8:17 pm    Post subject: Reply with quote

I meanwhile managed to get uvesafb running; the framebuffers are hi-res.

But I understand what you mean with "horrible things happen" ... I can switch to a console with <Ctrl><Fx> and login, work here, but switching back to X via <Ctrl><F7> lets the system freeze :-(

Thanks for your hint, I think I'll fall back to the low res EFI framebuffer.
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5033
Location: Dark side of the mood

PostPosted: Mon Jul 25, 2016 3:21 pm    Post subject: Reply with quote

Hi guys, I'm sorry to hijack this thread but I do experience the same issue as you, jots: my computer freezes completely when I switch back to X from a console. The thing is I tried to downgrade nvidia-drivers but either they don't compile or garble the screen so it's totally unusable.

As per what you wrote, NeddySeagoon, I guess I shall remove my good ol' framebuffer companion uvesafb for nvidia to work, right? Or I might once again try nouveau as I've seen many many changes occurred since the last time I tried. I just hope my games (older, too: UT2004) will still work...

EDIT: So far, switching back to nouveau has worked. No more freeze. OpenGL applications seem to work fine. I consider I'm done for now. Thanks again for the hints.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
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