Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-02-2009, 11:11 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2008
Posts: 25
Rep:
|
All about VESA
I am really a beginner in linux and I wonder if somebody helps me to understand the details about vesa and its different modes
|
|
|
|
08-02-2009, 11:26 PM
|
#2
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
http://www.vesa.org/
http://en.wikipedia.org/wiki/VESA
Hi there, Welcome to LQ!
Your question is rather vague, and potentially covers a lot of territory. I recommend doing some reading at one of the above links first, and/or if you have a more specific question pertaining to your Linux, or your video hardware, or just further questions, please ask more specifically about what you want to know.
Thanks,
Sasha
|
|
|
|
08-03-2009, 11:52 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2008
Posts: 25
Original Poster
Rep:
|
sorry for not being specific...actually I have been trying to start with Debian lenny, but in i386 and amd-64 bith versions....after installation...the graphics is just not coming ..rather just showing Sync out of range error...i hv tried with vga=0x317(not knowing its actual meaning) bt still its nt working...dats why I asked wheather it can be fixed in this way or not??
|
|
|
|
08-04-2009, 12:23 PM
|
#4
|
|
Member
Registered: Feb 2006
Location: Chi-town
Distribution: Debian Sid Amd64
Posts: 107
Rep:
|
Try editing your xorg.conf
Quote:
Originally Posted by sandbish
Sync out of range error...
|
I would suggest booting in single user mode and editing your xorg.conf file. When I have had Sync out of range errors in the recent past, the horizontal and vertical refresh rates in my xorg.conf file have been incorrect.
Boot into single user mode and edit your xorg.conf file. The path is probably /etc/X11/xorg.conf.
First, back up the file by saving it as 'xorg.conf.bak' or something. That's important.
Then, open the file in nano or vim or vi or whichever editor you prefer.
Somewhere in the file, you should see a section that looks like this:
Code:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30-107
VertRefresh 48-120
EndSection
Replace the 'HorizSync' and 'VertRefresh' values with the ranges for your monitor. You should be able to find those ranges in the manual for your monitor, or on the manufacturer's website. Save the file and reboot.
If we have done everything correctly, your monitor will simply display your normal login screen and everything will be fine.
If anyone more knowledgeable has corrections, suggestions, answers or better advice than above, please, please share it below.
|
|
|
|
08-04-2009, 11:19 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2008
Posts: 25
Original Poster
Rep:
|
Thanks a lot BigVig but I have already tried to do that using nano but couldn't find any xorg.conf file in the appropriate location.
|
|
|
|
08-05-2009, 07:26 AM
|
#6
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
By default the xorg.conf file is empty after install on Debian and other distro's now.
So to modify settings you need to generate the file manually.
I posted how to do it on another thread:
http://www.linuxquestions.org/questi...ig-file-743438
And the file is located at /etc/X11/xorg.conf.
|
|
|
|
08-05-2009, 11:49 AM
|
#7
|
|
LQ Newbie
Registered: Apr 2008
Posts: 25
Original Poster
Rep:
|
sorry trooper..I am not being able to find it...can u please tell me the name of the thread ..I think its under newbie
|
|
|
|
08-05-2009, 12:08 PM
|
#8
|
|
Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
vga= -- framebuffer option?
Quote:
Originally Posted by sandbish
I have tried with vga=0x317 (not knowing its actual meaning) but still it's not working.
|
If I may, I want to try to clarify for the benefit of the OP & other members reading this thread.
The bold option looks to me to be a LILO or GRUB type of option, which sets the framebuffer vga mode while booting. It is NOT anything to do with Xorg, xorg.conf, or the graphical Desktop Environment one might have after logging into X.
If I'm wrong here, please someone do correct me, as it may well apply differently, or in more than one way, on a Debian system.
Sasha
|
|
|
|
08-05-2009, 12:34 PM
|
#9
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
Quote:
|
The bold option looks to me to be a LILO or GRUB type of option, which sets the framebuffer vga mode while booting
|
Looks like a kernel boot parameter to me.
Like you would use to try and boot a problematic machine.
Quote:
|
i hv tried with vga=0x317(not knowing its actual meaning)
|
This is the worrying part,not sure where the op got this from.
The 'sync out of range error' that BigVig is referring to will need access to the xorg.conf file,hence why i posted how to generate it.
Hope this helps to clarify?
|
|
|
|
08-05-2009, 12:41 PM
|
#10
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
Quote:
Originally Posted by sandbish
sorry trooper..I am not being able to find it...can u please tell me the name of the thread ..I think its under newbie
|
No need to apologise.I just tried the link i posted myself and as you say it takes you through to the newbie forum.
Not a problem,i'll post the details here:
To exit the gui.
Login as root.
Code:
# /etc/init.d/gdm stop (to stop gdm/kdm as required.)
# X -configure
# mv ~/xorg.conf.new /etc/X11/xorg.conf
# /etc/init.d/gdm start
You should now be back in the gui,but you need to logout as root:
Code:
ctrl-alt-f1 again.
ctrl-d
ctrl-alt-f7
Once you get to this point you should have a working xorg.conf file.
|
|
|
|
08-05-2009, 10:03 PM
|
#11
|
|
LQ Newbie
Registered: Apr 2008
Posts: 25
Original Poster
Rep:
|
vga=0x???
Thanx a lot..at last I hv become able to get the solution and now lenny is working good...but I still wonder what does the number mean actually i.e. 317..I hv found that different numbers can be used in the same format...can any of you please explain this??
|
|
|
|
08-06-2009, 12:38 AM
|
#12
|
|
Member
Registered: Dec 2008
Location: South Carolina
Distribution: Debian testing
Posts: 57
Rep:
|
Quote:
Originally Posted by sandbish
Thanx a lot..at last I hv become able to get the solution and now lenny is working good...but I still wonder what does the number mean actually i.e. 317..I hv found that different numbers can be used in the same format...can any of you please explain this??
|
Without a lot of information we are all just guessing what you want to know. The "0x317" is a format for calling a VESA framebuffer mode at boot. I assume that you are seeing this early in the boot process. You are simply seeing the system documenting the VESA mode it is using until the X system takes over.
"vga=0x317" is merely a format that the system recognizes and the "317" is taken as a hex number. It can also be specified as decimal number: "vga=791" which means exactly the same thing to the system (Note that 791 decimal = 317 hex). Both refer (in Linux) to 16-bit color @ 1024x768 resolution.
It can be changed manually by modifying the /boot/grub/menu.lst
The file itself shows an example.
More info here:
http://en.wikipedia.org/wiki/VESA_BIOS_Extensions
and here:
http://tldp.org/HOWTO/Framebuffer-HOWTO-5.html
Have fun! 
|
|
|
|
08-06-2009, 07:27 AM
|
#13
|
|
Senior Member
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,467
Rep: 
|
Quote:
Originally Posted by sandbish
Thanx a lot..at last I hv become able to get the solution and now lenny is working good...but I still wonder what does the number mean actually i.e. 317..I hv found that different numbers can be used in the same format...can any of you please explain this??
|
Can you post what you did to cure the problem?
Quote:
|
The bold option looks to me to be a LILO or GRUB type of option, which sets the framebuffer vga mode while booting
|
Well spotted GrapefruiTgirl!.
You were right.
Edit:This got me thinking,so i booted the Debian netinstall disc to check boot parameters.
The parameter i was thinking of is vga=771 which apparently is for laptops with screen display problems.Not quite what the op was using.
Last edited by the trooper; 08-06-2009 at 08:21 AM.
|
|
|
|
08-06-2009, 08:55 AM
|
#14
|
|
Member
Registered: Dec 2008
Location: South Carolina
Distribution: Debian testing
Posts: 57
Rep:
|
Quote:
Originally Posted by the trooper
Can you post what you did to cure the problem?
|
Saw your edit too.
I'm hardly the expert here. I just had a problem with this a while back, figured out how to fix it, then moved on. There might be some chicken-scratch notes around here somewhere but the coffee cup rings have rendered them useless.
I think the "vga=foo" call-out starts when BIOS boots and is just a pass-through parameter beyond that. In my view the options to change it with grub or when starting the kernel are customization options rather than functional ones.
My guess is that the vga issue had nothing to do with the OP's problem and your xorg.conf script was what got him going. Can't blame him for that since it seems like it would be relevant. I think most of us who've spent a lot of time with goofy 'puter stuff have spent a fair amount of that time chasing the wrong gremlin. 
|
|
|
|
08-07-2009, 03:12 PM
|
#15
|
|
Member
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363
Rep:
|
Even though it's fixed now, you could have installed your vid drivers and most of the time they come with a xorg config program. Like Nvidia has nvidia-xorg or something.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|