LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-26-2006, 09:18 PM   #31
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235

on my opinion that should appear.

here's an update btw. instead of doing a blind typing, you can do this in the run command box:

Code:
chvt 1; fbset -v "value"
 
Old 07-27-2006, 04:29 AM   #32
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Hello, konsolebox.. <I must go read what LQ friend list is>. I can suppose situation where chvt + fbset will give other results, but I'm not sure. It can get tty it is run from - or not.. About console switching - read middle of the thread, any deinitialization of video mode set by that fine driver (TFD) fails, more or less.
About run level: go to /etc/init.d . Create two scripts: doing chvt 1 and doing fbset (or running sample svgalib go-to-textmode program). Then create two links in /etc/rc6.d (and same in rc0.d): S00_30_chvt and S00_60_fbset .
In svgalib.conf try killing mouse.. If you try to initialize mouse while X is alive, you'll have to fight for control, and X is bigger and already there, you know...
About step-by step: I am just throwing ideas. I've encountered similar problems, but ignored them (and later found DRI driver). I'm not sure if something will help. I'm sure it mustn't (but there are possibly deadly bugs - though unlikely) ruin your disk contents, and you understand well it can ruin your session when run. So I propose experiments which are most close to what should work. I can give ideas and advice on rough edges, but not complete guide..
 
Old 07-28-2006, 02:22 PM   #33
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by konsolebox
on my opinion that should appear.

here's an update btw. instead of doing a blind typing, you can do this in the run command box:

Code:
chvt 1; fbset -v "value"
ok I tried the fbset method but it did not work.

my fbset returned the following information:
Code:
mode "1024x768-76"
    # D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
    geometry 1024 768 1024 768 16
    timings 12714 128 32 16 4 128 4
    rgba 5/11,6/5,5/0,0/0
endmode
So as Konsolebox suggested, I gave the following command:
Code:
chvt 1; fbset -v "1024x768-76"
Again the monitor went out of range i.e. the blank screen. Now on hitting ctrl-alt-f7(blindly) I was again taken to my fluxbox windows manager and I got the following message on my xterm screen:
Code:
chvt 1; fbset -v "1024x768-76"
Opening framebuffer device '/dev/fb0'
Reading mode database from file '/etc/fb.modes'
Unknown video mode '1024x768-76'
root@debian:~#
Am I missing something?

Any other settings which you think might work?

If this does not work then I think I will try the svgalib path as suggested by raskin

Thank you.

Last edited by kushalkoolwal; 07-28-2006 at 02:26 PM.
 
Old 07-28-2006, 03:04 PM   #34
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
read man fbset and post /etc/fb.modes here.
 
Old 07-28-2006, 03:23 PM   #35
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by raskin
read man fbset and post /etc/fb.modes here.
Here is my fb.modes:
http://www.cs.uoregon.edu/~kushal/fb.modes

I also tried giving the command:

chvt 1; fbset -v "1024x768-75"

since the "1024-768-75" was there in the fb.modes file but I got the same out of range message from monitor. As mentioned before I can type blindly everything.

I am using "ViewSonic VG510b" monitor. I have tried changing monitors also but the same old result.

If we can find a way to reset the framebuffer text console to it's default setting by fbset then I think it may do the trick.

Thank you once again for the help.
 
Old 07-28-2006, 04:31 PM   #36
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, did you try to type it in real console blindly? Might work differently..
 
Old 07-28-2006, 04:33 PM   #37
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by raskin
Well, did you try to type it in real console blindly? Might work differently..
What do you mean by real console? You mean first I type chvt 1 and then when the screen goes to blank then I type fbset "<mode>"

As far as I understand chvt 1 means it will change to virtual console 1, right? How do I get access to real console?
 
Old 07-28-2006, 06:08 PM   #38
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
it seems that the values in fb.modes are not compatible with your monitor. ok you can do my trick.

restart system to console. then run fbset. take note of the mode and enter the values to /etc/fb.modes. if the mode already exist, just comment it with '# ' then enter the new values below it.

now restart the system again so that fb.modes is surely loaded.
try 'fbset <mode>' in console. nothing should change to your monitor.

then run x and try the old procedure with the mode.
 
Old 07-28-2006, 06:11 PM   #39
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
btw don't run 'chvt 1; fbset -v "1024x768-##"' in xterm or konsole. run it in the run command box.
 
Old 07-28-2006, 06:54 PM   #40
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by konsolebox
btw don't run 'chvt 1; fbset -v "1024x768-##"' in xterm or konsole. run it in the run command box.
Right now I am using fluxbox manager. The system with GNOME installation is on a another hard drive. I can try the Run command box method on GNOME but what should I do for the fluxbox??
 
Old 07-28-2006, 07:37 PM   #41
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
add this text to your ~/.fluxbox/keys
Code:
Control F10 :ExecCommand "fbrun"
restart fluxbox (windows key + r)
then press ctrl-f10 to show the run dialog box

reference: http://forums.debian.net/viewtopic.php?t=5382&
 
Old 07-28-2006, 08:31 PM   #42
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
restart system to console. then run fbset. take note of the mode and enter the values to /etc/fb.modes. if the mode already exist, just comment it with '# ' then enter the new values below it.
Yes I entered the new values which I got from fbset


Quote:
now restart the system again so that fb.modes is surely loaded.
try 'fbset <mode>' in console. nothing should change to your monitor.
Yes the screen did not change. May be I am getting on to somethig....(atleast I think so)

Quote:
then run x and try the old procedure with the mode.
grrrrr....There goes my screen OUT OF RANGE again. Exact same behaviour. When I switch back to Fluxbox by Ctrl-Alt-F7, I get this at the terminal:
Code:
Linux Frame Buffer Device Configuration Version 2.1 (23/06/1999)
(C) Copyright 1995-1999 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Reading mode database from file `/etc/fb.modes'
Using video mode `1024x768-76'
Setting video mode to `/dev/fb0'
Yes I did run the command "chvt 1; fbset...." from the Run Dialog box as you had suggested.

Well, is there anything I can do to solve this. We all have come this far and I really don't want to give up at this stage....

Again thank you very very much. Appreciate your efforts. Long Live Linux and people like you.
 
Old 07-28-2006, 08:42 PM   #43
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
oh well i failed. . i'll try think of another solution. meanwhile.. have you tried raskin's idea?
 
Old 07-29-2006, 01:46 AM   #44
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Did you try my modification - blind run for fbset?
Of my ideas - I said plenty... SVGAtextmode, svgalib app, another X with vesa driver.
 
Old 07-29-2006, 03:42 AM   #45
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 49
Quote:
Originally Posted by raskin
Did you try my modification - blind run for fbset?
Of my ideas - I said plenty... SVGAtextmode, svgalib app, another X with vesa driver.
Yes I tried the blind run but did not work.

Now I think I will try the svgalib first and then SVGAtextmode. Even if they don't work then I think I will use the vesa driver...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5 shutdown sequence blank screen General Fedora 4 04-23-2006 12:44 PM
Blank Screen During Shutdown zachsandberg Linux - Newbie 2 01-03-2006 06:16 AM
Screen blank for a long time during FC3 shutdown Gethyn Fedora 4 04-17-2005 07:12 AM
screen not restarting after reboot?? lucastic Linux - Hardware 4 07-19-2004 10:28 PM
shutdown and restarting in terminal chrismiceli Linux - General 1 10-26-2002 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration