Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] console fb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Kolhell
n00b
n00b


Joined: 16 May 2011
Posts: 21

PostPosted: Thu Dec 26, 2013 8:55 am    Post subject: [SOLVED] console fb Reply with quote

I've got a laptop with a 1600x900 natural display (nouveau), and for the life of me I cannot get fbsplash or even a lower-res uvesafb running. Recently I've updated to grub2, and now I'm completely lost. Most recently I've managed to set the grub display resolution to 0x118 (1024x768x32) in /etc/default/grub, which after running grub2-mkconfig and rebooting has crashed the console fb altogether (it still boots up fine - I can blindly log in and issue "shutdown -r 0" to reboot - but the display freezes after running through the initial bootup messages).

So, yeah, I'm at a loss, and the documentation I've found so far has been contradictory and overall unhelpful. I've got a few basic questions, and otherwise any resources or tips you guys have would be greatly appreciated.

1: Can I run fbsplash for my console with nouveau? http://wiki.gentoo.org/wiki/Fbsplash seems to state that I can, but most everything else talks about uvesafb as the only option for a console fb. Do I need them both turned on in my kernel config or just one?

2: How do I implement this in grub2? With legacy you could just put in the correct "video=" line into your grub.conf, but then again I never got that working correctly either so who knows :P

3: I'm running 3.7.9, custom config, and I use "genkernel all" to build my kernel and initrd. Would a more recent kernel help, or should I get this running on 3.7.9 before I worry about updating my kernel?

I'll post my current .config once I have a chance to unfrak things with a livecd (I don't have any old kernel versions because it was booting until my most recent grub config update >_>). Is there any other information that would help?

Thanks again - I'd really like to get this straightened out so I can get on with building Gentoo in a civil resolution.


Last edited by Kolhell on Sat Dec 28, 2013 10:29 am; edited 2 times in total
Back to top
View user's profile Send private message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 269

PostPosted: Thu Dec 26, 2013 12:20 pm    Post subject: Reply with quote

There is a new kernel option that is incompatible with vesa drivers and family. It relies on a new system, systemfb or screenfb, something like that. Use the genkernel .config file but run make menuconfig to search for this.
Or wait for someone with more experience to give a better advice. =D
Back to top
View user's profile Send private message
Kolhell
n00b
n00b


Joined: 16 May 2011
Posts: 21

PostPosted: Thu Dec 26, 2013 6:07 pm    Post subject: Reply with quote

Cool. Do you happen to know what kernel version came out with it? If that's the case, then I might as well update my kernel before I screw with it further.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13830

PostPosted: Thu Dec 26, 2013 9:10 pm    Post subject: Reply with quote

If you skip using fbsplash and use a basic KMS console, does that work? You will not get fancy early-boot graphics, but it may give you a working system from which you could experiment.
Back to top
View user's profile Send private message
Kolhell
n00b
n00b


Joined: 16 May 2011
Posts: 21

PostPosted: Sat Dec 28, 2013 4:30 am    Post subject: Reply with quote

That's just it - I haven't been able to get any of my video drivers working in console enough to even engage fbsplash :/ And if I remember correctly I was (attempting to) run KMS in my last kernel builds without any luck changing the console resolution.

I'm going to attempt to figure out whatever it is I screwed up, undo it, then post my kernel config for criticism. I feel like I've gotten so spun while trying to get my console running in a usable resolution (I'm sorry but I can't even think properly when looking at 25 lines at a time) that I've most likely got some massive conflicts going on at this point :(



edit:
Yeah, as far as I can tell I've got the settings correct for KMS according to https://wiki.gentoo.org/wiki/Xorg/Configuration

Also, this seems to have no effect, if that helps:
/etc/default/grub
Code:
GRUB_GFXMODE=0x118




edit^2:
Found I was still compiling the v86d initramfs into the kernel from when I was attempting to get uvesafb running. Whups. Removed it, still the same issue.


Last edited by Kolhell on Sat Dec 28, 2013 8:29 am; edited 1 time in total
Back to top
View user's profile Send private message
Kolhell
n00b
n00b


Joined: 16 May 2011
Posts: 21

PostPosted: Sat Dec 28, 2013 8:25 am    Post subject: Reply with quote

Bah. Ok, so here's my dmesg - everything displays in 80x25 up until it tries to kick over to nouveau at 128x48, at which point the screen freezes.
http://bpaste.net/show/162384/
Also my full .config
http://bpaste.net/show/162385/
Anything else I could post that would help?



edit: Solved - disabled Optimus in my BIOS. Why the frak isn't this stated ANYWHERE?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13830

PostPosted: Sat Dec 28, 2013 4:51 pm    Post subject: Reply with quote

Optimus is still new, at least in the sense that I have recently worked with hardware that predated that mess.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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