LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-17-2012, 07:16 PM   #1
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Rep: Reputation: Disabled
Fresh Debian install won't display correctly


Problem summary:
Almost completely fresh Debian install won't display correctly.

Boot procedure:
Shows the grub2 menu correctly at 640x480 then shows the first 6 Linux kernel boot messages then switches resolution to 1920x1200 (monitor is capable) and the display is a messed up version of the grub2 menu including background picture and the 2 grub2 boot lines:
Loading Linux...
Loading Initial ramdisk...

System responsiveness:
I can switch from the x display to the virtual terminals the resolution changes to 1920x1200 for the gnome login screen, and 640x480 for the virtual terminals.
I can connect to the ssh server and run commands, install software etc...

Changes from completely fresh:
Added GRUB_CMDLINE_LINUX="video=VGA-1:640x480" to /etc/default/grub
Installed openssh-server after putting hdd in another computer, which boots and runs it just fine... :/
 
Old 04-17-2012, 07:39 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
I'm not familiar with the video=VGA....kernel command-line params.
First, if that switch is not absolutely necessary for your video card, do this:
  1. Remove the video=... param from GRUB_CMLINE_LINUX
  2. Uncomment and set GRUB_GFXMODE=1024x768
  3. Add GRUB_GFXPAYLOAD_LINUX=keep
  4. Run update-grub
  5. Reboot and see if it makes any difference.

GRUB_GFXMODE sets the graphics mode for the GRUB boot menu
GRUB_GFXPAYLOAD_LINUX sets the graphics mode for the framebuffer. The setting 'keep' sets it to the same as that set by GRUB_GFXMODE.

If I recall correctly, the highest framebuffer mode is 1600x1200, which might explain the corrupt framebuffer display.

You can check the VESA modes your card is capable of from the GRUB command line with:
Code:
set pager=1
vbemode
 
Old 04-18-2012, 02:59 AM   #3
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by towheedm View Post
I'm not familiar with the video=VGA....kernel command-line params.
First, if that switch is not absolutely necessary for your video card, do this:
  1. Remove the video=... param from GRUB_CMLINE_LINUX
  2. Uncomment and set GRUB_GFXMODE=1024x768
  3. Add GRUB_GFXPAYLOAD_LINUX=keep
  4. Run update-grub
  5. Reboot and see if it makes any difference.

GRUB_GFXMODE sets the graphics mode for the GRUB boot menu
GRUB_GFXPAYLOAD_LINUX sets the graphics mode for the framebuffer. The setting 'keep' sets it to the same as that set by GRUB_GFXMODE.

If I recall correctly, the highest framebuffer mode is 1600x1200, which might explain the corrupt framebuffer display.

You can check the VESA modes your card is capable of from the GRUB command line with:
Code:
set pager=1
vbemode
I tried your configuration change, unfortunately without success. The grub menu displayed flawless at the given resolution but still only the remains of the grub boot menu displayed shortly after Linux booted:
Grub menu at 1024x768:
http://imgur.com/lGM1b
Gnome login Screen at 1920x1200:
http://imgur.com/b9Yt1
switching to a virtual terminal produces no difference from the login screen. :/


When I had "video=VGA-1:640x480" in GRUB_CMDLINE_LINUX the gnome login kinda worked, a short time after the corrupt display at 1920x1200:
http://imgur.com/y6fkY
and the virtual terminal in the same boot:
http://imgur.com/SVXLC
 
Old 04-18-2012, 03:48 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
What video hardware do you have?
You may try disabling KernelModeSetting with a suitable addition to the 'kernel' grub line (what, will depend on your card)
 
Old 04-18-2012, 05:32 AM   #5
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Original Poster
Rep: Reputation: Disabled
I tried booting in recovery mode and it actually displays something... It spams the top few lines in the following pictures about 1,000 times on top of the broken display from before:
Full screen: http://imgur.com/BiXzL
if that's unclear here's closer views:
top half: http://imgur.com/WXvRH
bottom half: http://imgur.com/FqWEX

Quote:
Originally Posted by descendant_command View Post
What video hardware do you have?
You may try disabling KernelModeSetting with a suitable addition to the 'kernel' grub line (what, will depend on your card)
I'm not really sure... I actually got it from the previous owners of the house when we moved in who had left it behind in the garage stripped of an hdd...
let me just see if i can find something on it... it's just really dusty... *crawls into the side of the dusty case* ... *cough! cough!* ... *gets lost for a minute in the cobwebs* :/ ... *crawls back out* ok! hmm.... :/

I don't see any distinguishing markings other than "1998 STB SYSTEMS INC."
http://imgur.com/amcEr
http://imgur.com/WRTz0

but i'm pretty sure it's the stock card that came with the computer. it's a dell dimension xps t700...
i'm seeing "STB NVidia TNT2" when i search google... but the card doesn't say nvidia anywhere on it... :/

i'm willing to continue helping to find a solution to this problem but for the moment i've found better than a solution to my problem... i've got another agp gfx card from a newer dell computer that works perfectly in the system. =D
 
Old 04-18-2012, 06:11 AM   #6
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Good news, do that.
 
Old 04-18-2012, 06:17 AM   #7
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
That looks like a TNT2 to me, and I've seen a lot of them.

TNT2s have issues with big widesceen resolutions, and the video quality once you go over 1280x1024/1600x1200 (depending on your eye and the model) is pretty horrid. Later geforce cards support widescreen better, and have nicer image quality when you are pushing high resolutions.
 
Old 04-18-2012, 06:20 AM   #8
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
+1

... amd I came across a dead one of those cards at the bottom of a drawer just the other day
 
Old 04-18-2012, 08:52 PM   #9
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Original Poster
Rep: Reputation: Disabled
i'm actually planning on running this computer without a monitor at all, as a gateway to my home network to try to alleviate the constraints of our current router's cpu with high active connection count with high transfer rate. right now i was just trying to us it to display on my second monitor the gentoo installation manual.

so is there an easy way to make it start with a lower resolution for the desktop and vt? say 1024x768?
 
Old 04-18-2012, 10:20 PM   #10
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Original Poster
Rep: Reputation: Disabled
Oh! Nvm... :/ it still doesn't display the virtual terminals correctly.... even with the newer card, this is what i get for the vts:
http://imgur.com/weIJK
it almost looks like it's being drawn with the wrong width, so the computer starts drawing the next row of pixels before the monitor is on the next row.... and it looks like it responds correctly when i type something in... it's just horribly unreadable.

but as you can see the desktop works correcly, i'm now using it to respond here and look at the gentoo install manual.

the card is an nvidia p162 as best as i can tell... it's the stock card from a dell dimension 8300.
 
Old 04-18-2012, 10:43 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Please post the output of
Code:
lspci | grep VGA
so that we can determine which card that actually is.
 
Old 04-19-2012, 01:59 AM   #12
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Please post the output of
Code:
lspci | grep VGA
so that we can determine which card that actually is.
Output:
Code:
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
i just rebooted and the problem disappeared... and i haven't changed anything... the virtual terminals just work now... :/ and now they don't again...

with the older card there was another pci card connected to it with a 2x13 pin ribbon cable just like a PATA HDD cable, when i removed that card the virtual terminals display text but with the background still with remnants of the boot menu background image...
the lspci output for the older video card is:
Code:
01:00.0 VGA compatible controller: nVidia Corporation NV4 [RIVA TNT] (rev 04)
if i leave the other card in the system, but remove the ribbon cable the same problem happens, corrupt vt
the lspci output for the other card is:
Code:
00:0d.0 Multimedia controller: C-Cube Microsystems Cinemaster C 3.0 DVD Decoder (rev 01)
front: http://imgur.com/9lNmn
back: http://imgur.com/kdZgc
panel: http://imgur.com/IlgPj
the ribbon cable that connected this card to the old video card was labeled dvd on this card's end, and video on the video card's end...

but now the virtual terminals aren't displaying correctly again even without the other card... :/

Last edited by liquid paper; 04-19-2012 at 02:00 AM.
 
Old 04-19-2012, 02:09 AM   #13
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Maybe just keep changing stuff randomly until it works then ...
 
Old 04-19-2012, 04:43 AM   #14
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Remove the 'Cinemaster C 3.0 DVD Decoder' and the RIVA TNT, shove the FX 5200 in there. Clear the CMOS (or remove the battery if you dont know how to clear the CMOS and dont want to learn).

Boot up, go into the BIOS, fix the mess that clearing the CMOS/battery removal always makes, save it, get out of the BIOS, and boot up the OS.
 
Old 04-19-2012, 08:05 PM   #15
liquid paper
LQ Newbie
 
Registered: Apr 2012
Location: Monroe, Washington, USA
Distribution: Linux Mint
Posts: 19

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by descendant_command View Post
Maybe just keep changing stuff randomly until it works then ...
hey hey hey hey.... i'm not changing things randomly... the guidelines for lq clearly state that i shouldn't just be sitting here refreshing the page waiting for a response, but trying myself to get things working.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Wicd won't install correctly/run correctly (64-bit Slackware 13) bgraybr Slackware 3 04-01-2010 06:57 PM
Debian etch, switching from ati to nvidia, kde won't start, how to install correctly x837cue Linux - Hardware 0 08-26-2008 11:54 AM
X won't start after fresh Debian install Rahiiyja Linux - Newbie 12 01-14-2007 09:41 AM
Why won't Opera display this forum correctly? Nu-Bee LQ Suggestions & Feedback 4 11-07-2003 05:12 PM
GTK+2, problems with applications that won't display fonts correctly Sm0k3 Slackware 2 09-12-2003 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:44 PM.

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