LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-04-2005, 08:18 AM   #1
tallboy
LQ Newbie
 
Registered: Nov 2003
Location: NoVA baby
Posts: 7

Rep: Reputation: 0
Unhappy changing video card memory size from root command line


can't think of a better decsriptive subject line.

i'm owning up. i was playing around with the setting in my redhat linux box (don't ask what version, i can't find out, i'll tell you why in a second) and i changed the video card memory from 16 meg to 32 meg, restarted, and now linux is freezing up. genius me.

furthermore, i had it set to log me in automatically, so i can't pop into root x-server to change the setting there.

i was able to get into root command line, but this is as far as i'm able to get. i am totally clueless about using command line to change system settings.

it boots up past the login screen (at which i am unable to do anything because it blinks on, then logs me in a microsecond after that), starts loading up my desktop, then freezes.

please tell me i can change the memory setting for my video card back to 16meg from my command line. please.
 
Old 04-04-2005, 10:39 AM   #2
tallboy
LQ Newbie
 
Registered: Nov 2003
Location: NoVA baby
Posts: 7

Original Poster
Rep: Reputation: 0
just a bump. please help.
 
Old 04-04-2005, 10:43 AM   #3
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
I had a similar problem ages ago, but it was because my video card was just plain lousy to begin with (2MB?). I ended up not installing X.

The first thing that came to mind was XF86Config. I believe that you can change the card memory setting in there. It's an intimidating file, but not too bad. The biggest problem is preventing X from booting. I am not sure how to do that, but you might try CTRL-BACKSPACE. I think that's the key combination that kills X.

I'm sure there are plenty of others who can give you more help, but hopefully this points you in the right direction
 
Old 04-04-2005, 11:04 AM   #4
tallboy
LQ Newbie
 
Registered: Nov 2003
Location: NoVA baby
Posts: 7

Original Poster
Rep: Reputation: 0
where is the XF86Config file?
 
Old 04-04-2005, 01:06 PM   #5
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
The XF86Config file can be found in several places. On my Debian box, it's in /etc/X11.

You might also look in /usr/X11R6.

Looking through my config file, I found the section I believe is relevent to your problem:

Section "Device"
Identifier "GeForce4"
Driver "vga"
VideoRam 64000
EndSection

Notice the "VideoRam" line. That is probably where your problem lies. Yours probably says 32000, and you should change it back to 16000.

There is also a script that will configure the file for you. It's called xf86config. Just type that in on the command line, and it will run you through various questions. Have information on your peripherals and display hardware ready before you run it, and it will be nearly painless.

<EDIT>
man xf86config will give you more info on the configuration script, and man XF86Config covers the format of the actual config file.
Here's the online manual page for the config file:
http://www.xfree86.org/4.3.0/XF86Config.5.html
</EDIT>
</EDIT>

Last edited by GabeF; 04-04-2005 at 01:09 PM.
 
Old 04-04-2005, 02:35 PM   #6
tallboy
LQ Newbie
 
Registered: Nov 2003
Location: NoVA baby
Posts: 7

Original Poster
Rep: Reputation: 0
took me a while to figure out saving a file using vim, but i eventually got it. everything's working smoothly. so good to not have to go to the library again to update this post.

god bless you, sir! a thousand blessings upon your household!
 
Old 04-04-2005, 03:20 PM   #7
GabeF
Member
 
Registered: Mar 2002
Location: New Hampshire, US
Distribution: Mandrake 8.0, Redhat 8.0
Posts: 101

Rep: Reputation: 15
Glad to hear it's 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
changing text size on command line anvilmonkey Linux - Software 1 03-21-2005 03:40 PM
changing video driver via command line armus513 Mandriva 4 02-04-2005 11:03 AM
Changing video resolution from command line? lhouk Linux - General 4 04-15-2004 02:16 PM
changing to root user without command line kaega2 Linux - Software 3 11-28-2003 03:14 PM
setting video card memory size Logic Linux - Software 1 07-20-2003 11:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:56 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