[RESOLVED] xorg.conf overwrite at each boot + driver for TTY

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

[RESOLVED] xorg.conf overwrite at each boot + driver for TTY

Postby draka on Mon Mar 16, 2009 6:23 pm

Hi ! For the first part i think every thing is in the topic...

Here some informations that you may need :
- I use a usb stick with a persistent installation (created with usb-creator)
NOTE: I added the keyboard «persistent» for the boot (usb-creator didn't do that), so yes the persistent mode really work
- I have an ATI graphic card (which need to edit xorg.conf to load the ATI drivers instead of the default; also, I read that nvidia drivers rewrite the xorg.conf so NO I don't have an nvidia card)
- Version of the driver : 8.54.3 (should be the latest version available from the mint depot)
- I use the main edition of mint, also i didn't do the update (this is only a install to experiment some game with wine)

and by the way I have a second question, is it possible to install a driver for the graphic card without use it for the console ? ( CTRL+ALT+F1,[...] ) ? Because I tried to install the latest driver available from ati.com but i had a bad surprise... the resolution or/and refresh rate was to high for my screen. So my first reflex was to switch to the console but nothing happened (maybe it switched but console use also the damn drivers, or it didn't switch to the console).

Thank you !
Last edited by draka on Fri Mar 20, 2009 1:05 pm, edited 1 time in total.
draka
Level 1
Level 1
 
Posts: 5
Joined: Mon Mar 16, 2009 5:42 pm

Linux Mint is funded by ads and donations.
 

Re: xorg.conf overwrite at each boot + driver for the console

Postby Husse on Wed Mar 18, 2009 3:38 pm

xorg.conf is not overwritten at boot
You don't tell us which version of Mint but in the later editions you have an option to "fix X" when you boot in Recovery mode
(I can't remember what it's called exactly but you'll recognise it)
Furthermore you don't tell us if you have Mint installed on the USB stick or if it's the live CD on a stick - I begin to wonder
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: xorg.conf overwrite at each boot + driver for the console

Postby draka on Wed Mar 18, 2009 4:37 pm

xorg.conf is not overwritten at boot
yes it does :(

You don't tell us which version of Mint
6 (i don't think mint relased a minor version, anyway i don't know hot to get the exact version :o)
in the later editions you have an option to "fix X" when you boot in Recovery mode
in my version i don,t have this option (well I added it) I only have "full boot", "compatiblity mode", "memtest" and "boot from harddisk" (or something like that).

About "fix X", it should overwrite the xorg.conf for a basic one right? anyways this is not what I want. Maybe somewhere it call this feature. This can explain why i always get this damn basic version.
By the way, after each boot i can get the "old version" because it do a bakup ( xorg.conf.<full time>)

Furthermore you don't tell us if you have Mint installed on the USB stick or if it's the live CD on a stick
Hum well... you are right to ask it. The first time i tought I installed mint, but in fact it should be the live cd on the usb stick with the persistent mode. (ho, is it possible that the livecd overwrite from 0 some stuff? it could explain also why log file seem to log only the current boot)
draka
Level 1
Level 1
 
Posts: 5
Joined: Mon Mar 16, 2009 5:42 pm

Re: xorg.conf overwrite at each boot + driver for the console

Postby Husse on Wed Mar 18, 2009 6:13 pm

I only have "full boot", "compatiblity mode", "memtest" and "boot from harddisk" (or something like that).

Aand that tells me that you are running a live CD session from your stick
That's why xorg.conf is overwritten (well it's not, but...)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: xorg.conf overwrite at each boot + driver for the console

Postby draka on Wed Mar 18, 2009 8:14 pm

That's why xorg.conf is overwritten (well it's not, but...)

ok it is not overwritten but just remplaced by a new one which is loaded at each boot ^^

well thanks for this question, i should test if it really fix the problem (but i don't think the full install will do that :p)

So now i know that the method I used didn't really use a full install of mint but only the iso as a persistent boot without format my usb stick :o

for the second question (see the first topic if you need it), is it possible than the livecd use the same driver for X.org and console ?
draka
Level 1
Level 1
 
Posts: 5
Joined: Mon Mar 16, 2009 5:42 pm

Re: xorg.conf overwrite at each boot + driver for the console

Postby Husse on Thu Mar 19, 2009 7:44 am

is it possible than the livecd use the same driver for X.org and console ?

A TTY does not use any other driver than the most basic one - not even vesa
If you get too large or small text there this can be fixed adding to the kernel line in menu.lst I think
Like this
Screen 640x480 800x600 1024x768 1280x1024 1600x1200
Colors --------------------------- -------------------------------------------
256 | 769 771 773 775 796
32,768 | 784 787 790 793 797
65,536 | 785 788 791 794 798
16.8M | 786 789 792 795 799

So if you want to have 32.768 colors and 1024x768 resolution you add
vga=793
like this
Code: Select all
gksu gedit /boot/grub/menu.lst

kernel /boot/vmlinuz-2.6.27-7-generic root=/dev/sda9 ro vga=793 quiet splash
This affects non X resolution
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: xorg.conf overwrite at each boot + driver for the console

Postby draka on Fri Mar 20, 2009 1:02 pm

if TTY didn't use driver then the driver "crashed" the os (at least the hotkey to switch to any TTY are broken)

The message I got is from the screen itself, it can't support the resolution/refresh rate. When i googled, some people have the same problem with the ATI driver (this error only appear with the latest driver from ATI.com)

thank again for your help !
draka
Level 1
Level 1
 
Posts: 5
Joined: Mon Mar 16, 2009 5:42 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: allypink, ECS-Josun, Google [Bot], Google Adsense [Bot] and 21 guests