DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Solaris

Solaris SUN Solaris & OpenSolaris.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th February 2017
billy_bazooka billy_bazooka is offline
New User
 
Join Date: Sep 2016
Posts: 7
Default illumos framebuffer?

hey guys,
i have a weird question.
i do almost all my work from the console on unix like systems, but on occasion i need to startx.
now, on linux and all bsd's the system always turns on framebuffer (kms) and i have huge resolution in console instead of 80x25 normal text mode. BUT, when i turn off framebuffer to get 80x25 text console i cannot startx in full hd resolution.

my question is this, recently i started toying around with openindiana and since i installed it with a live-dvd it automatically boots to gui. i turned graphical login off and restarted the system to boot into 80x25 text console.. and then i noticed when i typed startx, voila! x was in full hd resolution! no more that annoying framebuffer crap that linux and bsd's do.

what makes illumos different from linux / all bsd's to be able to do that?
and is such a thing (80x25 text console, and then startx in FULL HD resolution) possible in linux / any bsd?
Reply With Quote
  #2   (View Single Post)  
Old 17th February 2017
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 405
Default

I don't know anything about linux, but what BSD are you talking about? In FreeBSD startx is part of x11/xorg-apps...so it will start Xorg/X and depending on what graphic card you have also long as you have the correct driver installed you'll get "full hd" as you say. So in short on the BSD what did you install? That what the difference is.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
  #3   (View Single Post)  
Old 17th February 2017
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 283
Default

The Linux framebuffer (fbdev API) is not the same as KMS (Kernel mode-setting).

I'm not sure what you're complaining about. Are you trying to get a low-resolution console back after running Xorg? Or are you trying to get the highest resolution possible on your hardware on Xorg and are unable to?

Just assuming by BSD you mean FreeBSD ... After FreeBSD boots, it's running a low-resolution console. You will have a high-resolution console only if you explicitly load the KMS kernel module or run xinit/startx and then exit Xorg.

You can use vidcontrol(1) to control the mode of your console.

If it's the latter you're asking about, then Xorg may be using the vesa driver by default either because it's having trouble using your VGA's driver (its model is unsupported by the current FreeBSD port of the KMS driver, the VGA driver has a bug, the hardware has a bug and is blacklisted, etc.) or simply because the vesa driver is the only one you've installed and your Xorg installation is missing the proper driver for your VGA (e.g. x11-drivers/xf86-video-intel).
__________________
May the source be with you!
Reply With Quote
  #4   (View Single Post)  
Old 18th February 2017
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 736
Default

Quote:
Originally Posted by billy_bazooka View Post
hey guys,
i have a weird question.
i do almost all my work from the console on unix like systems, but on occasion i need to startx.
now, on linux and all bsd's the system always turns on framebuffer (kms) and i have huge resolution in console instead of 80x25 normal text mode. BUT, when i turn off framebuffer to get 80x25 text console i cannot startx in full hd resolution.
Interesting observation, I hadn't noticed that since I generally want a high (but not necessarily huge) resolution console. In the old days, before KMS, what you're asking for used to be very possible ... and I'd thought it still would be, but when I tried with Linux last night adding a "nomodeset" to the kernel command line, indeed I couldn't start X.

Quote:
my question is this, recently i started toying around with openindiana and since i installed it with a live-dvd it automatically boots to gui. i turned graphical login off and restarted the system to boot into 80x25 text console.. and then i noticed when i typed startx, voila! x was in full hd resolution! no more that annoying framebuffer crap that linux and bsd's do.

what makes illumos different from linux / all bsd's to be able to do that?
I don't know.

Quote:
and is such a thing (80x25 text console, and then startx in FULL HD resolution) possible in linux / any bsd?
One possibility is to go back to something pre-KMS. For example NetBSD 6.1.x should do it and it's still supported. Maybe an older Linux like Slackware 13.0, which still receives patches, could be tried? In this approach you'll miss out on the latest features of the OS if you need them.

Another thought is to go with KMS but adjust the console to your liking. I can't advise about this on BSD (lack of knowledge), but it can be done on Linux. Usually people want a high-res console, so that's what you get by default, but you can change the video mode and font. Use the "video=..." Linux kernel command line parameter to set a video mode, and the "setfont" program to switch fonts. Maybe you can get an 80x25 (or similar) console that looks nice to you in this way? As an example, I happen to use this:

video=1280x800-8@60

This may be too hi-res for you, but it's less than my monitor's native 1920x1080 resolution.

Last edited by IdOp; 18th February 2017 at 03:30 AM. Reason: fix minor misprints
Reply With Quote
  #5   (View Single Post)  
Old 20th February 2017
billy_bazooka billy_bazooka is offline
New User
 
Join Date: Sep 2016
Posts: 7
Default

@roddierod -- no, all three big bsd's do the thing I mentioned, netbsd, openbsd and freebsd too.

@beastie - yes, thats exactly what i want. i want low resolution 80x25 old school vga text console after i quit xorg. in freebsd xorg started in full hd resolution, but when i quit xorg the console went super high res, too and it couldnt go back to 80x25, on my system freebsd's vidcontrol exhibited some extremely buggy behaviour.

@idop - yes, i know about the video kernel command line parameter in linux, but text looks ugly even in 640x480 mode, at first you go "hey, this looks simmilar to 80x25 vga mode, i could work with this", but after a week you go "jesus, cant stand to look at this anymore".. its not the same as old school 80x25 vga text mode.

thanks for the replies.. i will try illumos oses instead of bsd's for a bit..
Reply With Quote
  #6   (View Single Post)  
Old 21st February 2017
gpatrick gpatrick is offline
Package Pilot
 
Join Date: Nov 2009
Posts: 192
Default

Quote:
i will try illumos oses instead of bsd's for a bit
I noticed you tried OpenIndiana which hasn't been updated for years. There is a development branch of OpenIndiana called Hipster that receives regular updates. Also there is XStreamOS by Sonicle, which is newer than OpenIndiana, but itself hasn't been updated in 2 years.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 5.5 radeon/radeondrm cannot scroll framebuffer cynwulf OpenBSD General 4 15th September 2014 01:31 PM
linear framebuffer access unavailable .. Caught signal 11 (Segmentation fault) daemonfowl OpenBSD Installation and Upgrading 12 19th June 2012 09:00 PM
OpenIndiana oi_151a, the first release based on Illumos is ready vermaden News 0 15th September 2011 11:57 AM


All times are GMT. The time now is 05:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick