PDA

View Full Version : Problema que no es problema (video inicio)


Cripton
January 2nd, 2008, 10:36 AM
Hola a toda la comunidad, gusto en ver que está creciendo, mi problema es el siguiente, seguro a muchos le ha pasado, pero luego de googliar bastante no encontré la respuesta.
Mi problema es el siguiente, luego del inicio del GRUB, se apaga la pantalla, problema consistente con una mala configuración de actualización de pantalla o resolución, pero cuando inicia GNOME, se prende para el logueo, lo mismo pasa al reiniciar o apagar, esto no afecta al uso de la pc, pero como a muchos que son como yo, nos gusta tener todo andando.
La pregunta apunta a que sección del XORG.conf debería modificar y cómo para que me de algo más correcto, o como podría probar la correcta configuración, supongo que la sección sería la de default screen, probé pasarla de 24 bits a 16 y nada, quizás alguien pueda ayudarme, gracias de antemano.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder26) Wed Sep 12 14:29:53 PDT 2007

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"

# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection

Section "Monitor"
Identifier "Monitor genérico"
VendorName "Plug 'n' Play"
ModelName "Plug 'n' Play"
Gamma 1
ModeLine "640x480@60" 25.0 640 656 752 800 480 490 492 525 -hsync -vsync
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG StudioWorks 560N"
HorizSync 30.0 - 61.0
VertRefresh 50.0 - 120.0
EndSection

Section "Device"
Identifier "nVidia Corporation G80 [GeForce 8400 GS]"
Driver "nvidia"
BoardName "nv"
BusID "PCI:2:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8400 GS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation G80 [GeForce 8400 GS]"
Monitor "Monitor genérico"
DefaultDepth 16
SubSection "Display"
Virtual 640 480
Depth 16
Modes "640x480@60"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1024x768_75 +0+0; nvidia-auto-select +0+0; 1024x768_60 +0+0"
EndSection

luisromangz
January 2nd, 2008, 10:56 AM
La parte del arranque que ocurre entre que seleccionas una opción en GRUB hasta que aparece la pantalla de login no va sobre X, sino que funciona directamente sobre el framebuffer de la tarjeta.

La resolución de la misma depende de la resolucion que pongas para los terminales virtuales de la consola, te aconsejo que busques acerca de la opcion vga del arranque del kernel.

Cripton
January 2nd, 2008, 12:37 PM
Gracias por la respuesta, pero todavía no consigo solucionarlo, aunque me llevaste por mejor camino, cambié la opción vga del menu.lst del GRUB por varias y no funciona, simplemente se apaga, y mi monitor no me informa el fallo porque es viejito. quizás alguno pueda hacerme ver la luz.

Probé la siguiente tablita que encontré por google:

640x480 - 800x600 - 1024x768 - 1280x1024

vga=769 - vga=771 - vga=773 - vga=775 a...... 8 bits
vga=785 - vga=788 - vga=791 - vga=794 a...... 16 bits
vga=786 - vga=789 - vga=792 - vga=795 a...... 32 bits

Dejo mi menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
color black/light-gray blink-black/light-gray

#A splash image for the menu
splashimage=(hd0,3)/boot/grub/splashimages/599_gtb-1600x1200.xpm.gz

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=17b2c4f0-a807-40f3-9f38-1d8f1379707d ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,3)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=locale=es_ES vga=789 splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,3)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=17b2c4f0-a807-40f3-9f38-1d8f1379707d ro locale=es_ES vga=788 splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=17b2c4f0-a807-40f3-9f38-1d8f1379707d ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,3)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
:

faktorqm
January 2nd, 2008, 04:58 PM
Hola, a ver si te puedo ayudar. a mi me paso lo mismo cuando instale gutsy 7.10 en la compu del trabajo, y el error era exactamente igual al tuyo, con las mismas caracteristicas.
Lo que mostraba el monitor, era el cartel de fuera de frecuencia. Cambie las frecuencias por las correctas en el xorg.conf pero seguia pasando lo mismo. Yo no lo pude solucionar, me apabulle del 7.10 y volvi a mi lindo y comodo 7.04. :)
Ahora, algo que me llamo mucho la atencion en el menu.lst: la parte del spalsh image que dice

#A splash image for the menu
splashimage=(hd0,3)/boot/grub/splashimages/599_gtb-1600x1200.xpm.gz

o sea, si es un monitor "viejo" como decis vos, y estas seteando el xorg.conf a 1024x768 sinceramente no creo que se banque una imagen de 1600x1200 a menos que te muestre la primera parte sola. No se, es una idea que vi que me parecio que podia ser. Salu2!!

Cripton
January 6th, 2008, 05:44 PM
hola faktorqm,así que no soy el único, el tema es que es eso, fuera de freq, pero ni idea como solucionarlo, probé todo ya, y eso que te llamó la atención es el nombre de la foto de fondo del grub, una exelente ferrari de las últimas, rojita, como dios manda :D

faktorqm
January 7th, 2008, 09:48 AM
Hola, en teoria se solucionaría poniendole "nosplash" en lugar de "splash" en el grub.conf (en la parte que arrancas) y verias la consola cuando arranca digamos. Habria que averiguar como se llama el splash con la barrita de ubuntu que carga y la otra cuando apagas. Yo lo tengo que averiguar pero para themearla :P:P salu2!