If I boot with the VGA cable I can then switch to the VGA/HDMI/DVI cable and everything is still good. But if I restart and boot with VGA/HDMI/DVI I can as most get 1024x768. There must be a way to force Debian to output 1280x1024. I know it can work since It does if I switch the cable after boot.
GRUB_GFXMODE does not work, the screen is black during boot and wakes up at login with 1024x768. vga=794 shows sporadic text during boot, probably at 1280x1024 but goes black and changes to 1024x768 before login. VGA is flawless with the attached grub file. It feels like there is an auto sensing of the screen that sets the correct or wrong resolution after GRUB.
It seems I must use nomodeset to force the VESA driver because with the intel driver my USB mouse does not work with either cable.
Below are INXI and xrandr outputs and the GRUB file.
- Code: Select all
/////////////////////////////////////////////////////////////////////////////////////////////////////////
Screen: HP L1950g
// What xrandr outputs when booted with VGA but after changing cable to VGA/HDMI/DVI.
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
1280x1024 0.0*
1024x768 0.0
800x600 0.0
640x480 0.0
// What xrandr outputs after restarting and booting with VGA/HDMI/DVI.
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 61.0*
800x600 61.0
640x480 60.0
/////////////////////////////////////////////////////////////////////////////////////////////////////////
// The GRUB file.
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="lapic quiet splash rootdelay=5 idle=poll nomodeset"
GRUB_CMDLINE_LINUX="initrd=/install/gtk/initrd.gz"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
#GRUB_GFXMODE=1280x1024
#GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/////////////////////////////////////////////////////////////////////////////////////////////////////////
patrik@debian:~$ sudo inxi -F all
[sudo] password for patrik:
System: Host: debian Kernel: 3.4-9-rtai-686-pae i686 (32 bit) Desktop: Xfce 4.8.3
Distro: Debian GNU/Linux 7 (wheezy)
Machine: Device: desktop System: Hewlett-Packard product: HP Compaq dc7700p Small Form Factor serial: HUB72513S5
Mobo: Hewlett-Packard model: 0A54h serial: HUB72513S5
BIOS: Hewlett-Packard v: 786E1 v02.10 date: 04/13/2007
CPU: Dual core Intel Core2 6300 (-MCP-) cache: 2048 KB
clock speeds: max: 1862 MHz 1: 1862 MHz 2: 1862 MHz
Graphics: Card: Intel 82Q963/Q965 Integrated Graphics Controller
Display Server: X.org 1.12.4 drivers: vesa,intel (unloaded: fbdev)
tty size: 125x36 Advanced Data: N/A for root
Audio: Card Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel Sound: ALSA v: 1.0.25
Network: Card: Intel 82566DM Gigabit Network Connection driver: e1000e
IF: eth0 state: down mac: 00:1b:78:87:7d:92
Drives: HDD Total Size: 80.0GB (9.5% used)
ID-1: /dev/sda model: Hitachi_HDS72168 size: 80.0GB
Partition: ID-1: / size: 71G used: 4.2G (7%) fs: ext4 dev: /dev/sda1
ID-2: swap-1 size: 3.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
Sensors: System Temperatures: cpu: 50.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 114 Uptime: 16 min Memory: 175.5/3526.1MB Client: Shell (sudo) inxi: 2.3.8
/////////////////////////////////////////////////////////////////////////////////////////////////////////
I have only VGA out from the intel graphics and VGA or DVI in to the HP L1950g screen.