Laptop Monitor fine when booting from live usb, then fails after installation <SOLVED>

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Laptop Monitor fine when booting from live usb, then fails after installation <SOLVED>

Post by biologopaco » Sun Mar 12, 2017 11:30 am

Hi,

I am trying to bring back to life a very old laptop. After booting with Mint 17.1 xcfe from the usb, things looked fine. However, after installing mint in the hard drive, the monitor (which is 1024x768) now only shows 640x480, using only the top left corner of the screen. I have tried the xrandr way to add a new 1024x768 mode, but when trying to add it to LVDS1, xrandr produces an error. Also changing the grub file by adding nomodeset or i915.modeset=0 (or 1) did not work.
In summary, screen detection works fine when booting in live mode, but fails in normal booting...

Here is the output of inxi -Fxz

Code: Select all

System:    Host: paco-Inspiron-1100 Kernel: 3.13.0-37-generic i686 (32 bit, gcc: 4.8.2) 
           Desktop: Xfce 4.11.8 (Gtk 2.24.23) Distro: Linux Mint 17.1 Rebecca
Machine:   System: Dell (portable) product: Inspiron 1100 version: A0
           Mobo: Dell model: 09U782 version: 000 Bios: PHOENIX version: A05 date: 04/11/2003
CPU:       Single core Intel Celeron CPU (-UP-) cache: 128 KB flags: (sse sse2) bmips: 3986.8 clocked at 1993.404 MHz 
Graphics:  Card: Intel 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device bus-ID: 00:02.0 
           X.Org: 1.15.1 drivers: intel (unloaded: fbdev,vesa) Resolution: 640x480@60.0hz 
           GLX Renderer: Mesa DRI Intel 845G x86/MMX/SSE2 GLX Version: 1.3 Mesa 10.1.3 Direct Rendering: Yes
Audio:     Card: Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver: snd_intel8x0 ports: 1400 1c80 bus-ID: 00:1f.5
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-37-generic
Network:   Card: Broadcom BCM4401 100Base-T driver: b44 ver: 2.0 bus-ID: 02:01.0
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 120.0GB (4.2% used) 1: id: /dev/sda model: WDC_WD1200BEVE size: 120.0GB 
Partition: ID: / size: 110G used: 4.7G (5%) fs: ext4 ID: swap-1 size: 0.80GB used: 0.00GB (0%) fs: swap 
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 62.8C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 137 Uptime: 1 min Memory: 296.2/746.9MB Runlevel: 2 Gcc sys: 4.8.4 Client: Shell inxi: 1.8.4
the output of xrandr:

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   640x480        60.0*+   59.9  
VGA1 unknown connection (normal left inverted right x axis y axis)
   1360x768       59.8  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
and the output of sudo lshw:

Code: Select all

paco-inspiron-1100
    descripción: Project-Id-Version: lshwReport-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>POT-Creation-Date: 2009-10-08 14:02+0200PO-Revision-Date: 2012-03-14 06:38+0000Last-Translator: Paco Molinero <paco@byasl.com>Language-Team: Spanish <es@li.org>MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8Content-Transfer-Encoding: 8bitX-Launchpad-Export-Date: 2016-07-20 12:06+0000X-Generator: Launchpad (build 18147)
    producto: Inspiron 1100
    fabricante: Dell Computer Corporation
    versión: Revision A0
    serie: G773Q0J
    anchura: 32 bits
    capacidades: smbios-2.3 dmi-2.3
    configuración: boot=oem-specific uuid=44454C4C-3700-1037-8033-C7C04F51304A
  *-core
       descripción: Placa base
       producto: 09U782
       fabricante: Dell Computer Corporation
       id físico: 0
       versión: 000
       serie: ..CN1296133O2128.
     *-firmware
          descripción: BIOS
          fabricante: PHOENIX TECHNOLOGIES LTD.
          id físico: 4
          versión: A05
          date: 04/11/2003
          tamaño: 110KiB
          capacidad: 960KiB
          capacidades: isa pci pcmcia pnp upgrade shadowing cdboot bootselect pcmciaboot edd int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification
     *-cpu
          descripción: CPU
          producto: Intel(R) Celeron(R) CPU 2.00GHz
          fabricante: Intel Corp.
          id físico: 8
          información del bus: cpu@0
          versión: 15.2.7
          ranura: U49
          tamaño: 2GHz
          capacidad: 2GHz
          anchura: 32 bits
          reloj: 400MHz
          capacidades: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
          configuración: id=0
        *-cache:0
             descripción: L1 caché
             id físico: c
             ranura: L1 Cache
             tamaño: 8KiB
             capacidad: 16KiB
             capacidades: asynchronous internal write-back
        *-cache:1
             descripción: L2 caché
             id físico: d
             ranura: L2 Cache
             tamaño: 128KiB
             capacidad: 512KiB
             capacidades: burst internal write-back
     *-memory
          descripción: Memoria de sistema
          id físico: 15
          ranura: Placa de sistema o placa base
          tamaño: 768MiB
        *-bank:0
             descripción: SODIMM DDR Síncrono
             id físico: 0
             ranura: J6A
             tamaño: 512MiB
             anchura: 64 bits
        *-bank:1
             descripción: SODIMM DDR Síncrono
             id físico: 1
             ranura: J7A
             tamaño: 256MiB
             anchura: 64 bits
     *-pci
          descripción: Host bridge
          producto: 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface
          fabricante: Intel Corporation
          id físico: 100
          información del bus: pci@0000:00:00.0
          versión: 03
          anchura: 32 bits
          reloj: 33MHz
          configuración: driver=agpgart-intel
          recursos: irq:0 memoria:e8000000-efffffff
        *-display
             descripción: VGA compatible controller
             producto: 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
             fabricante: Intel Corporation
             id físico: 2
             información del bus: pci@0000:00:02.0
             versión: 03
             anchura: 32 bits
             reloj: 33MHz
             capacidades: pm vga_controller bus_master cap_list rom
             configuración: driver=i915 latency=0
             recursos: irq:10 memoria:f0000000-f7ffffff memoria:e0000000-e007ffff
        *-usb:0
             descripción: USB controller
             producto: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
             fabricante: Intel Corporation
             id físico: 1d
             información del bus: pci@0000:00:1d.0
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: uhci bus_master
             configuración: driver=uhci_hcd latency=0
             recursos: irq:10 ioport:1cc0(size=32)
        *-usb:1
             descripción: USB controller
             producto: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
             fabricante: Intel Corporation
             id físico: 1d.1
             información del bus: pci@0000:00:1d.1
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: uhci bus_master
             configuración: driver=uhci_hcd latency=0
             recursos: irq:11 ioport:1ce0(size=32)
        *-usb:2
             descripción: USB controller
             producto: 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller
             fabricante: Intel Corporation
             id físico: 1d.7
             información del bus: pci@0000:00:1d.7
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: pm debug ehci bus_master cap_list
             configuración: driver=ehci-pci latency=0
             recursos: irq:10 memoria:e0080000-e00803ff
        *-pci
             descripción: PCI bridge
             producto: 82801 PCI Bridge
             fabricante: Intel Corporation
             id físico: 1e
             información del bus: pci@0000:00:1e.0
             versión: 82
             anchura: 32 bits
             reloj: 33MHz
             capacidades: pci normal_decode bus_master
             recursos: ioport:3000(size=4096) memoria:e0100000-e01fffff memoria:30000000-33ffffff
           *-network
                descripción: Ethernet interface
                producto: BCM4401 100Base-T
                fabricante: Broadcom Corporation
                id físico: 1
                información del bus: pci@0000:02:01.0
                nombre lógico: eth0
                versión: 01
                serie: 00:0b:db:1a:e3:0a
                tamaño: 100Mbit/s
                capacidad: 100Mbit/s
                anchura: 32 bits
                reloj: 33MHz
                capacidades: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuración: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 duplex=full ip=192.168.1.69 latency=32 link=yes multicast=yes port=twisted pair speed=100Mbit/s
                recursos: irq:10 memoria:e0100000-e0101fff
           *-pcmcia
                descripción: CardBus bridge
                producto: PCI1510 PC card Cardbus Controller
                fabricante: Texas Instruments
                id físico: 4
                información del bus: pci@0000:02:04.0
                versión: 00
                anchura: 32 bits
                reloj: 33MHz
                capacidades: pcmcia bus_master cap_list
                configuración: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
                recursos: irq:10 memoria:38000000-38000fff ioport:3000(size=256) ioport:3400(size=256) memoria:30000000-33ffffff memoria:3c000000-3fffffff
        *-isa
             descripción: ISA bridge
             producto: 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge
             fabricante: Intel Corporation
             id físico: 1f
             información del bus: pci@0000:00:1f.0
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: isa bus_master
             configuración: driver=lpc_ich latency=0
             recursos: irq:0
        *-ide
             descripción: IDE interface
             producto: 82801DB (ICH4) IDE Controller
             fabricante: Intel Corporation
             id físico: 1f.1
             información del bus: pci@0000:00:1f.1
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: ide bus_master
             configuración: driver=ata_piix latency=0
             recursos: irq:11 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:2020(size=16) memoria:34000000-340003ff
        *-serial NO RECLAMADO
             descripción: SMBus
             producto: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller
             fabricante: Intel Corporation
             id físico: 1f.3
             información del bus: pci@0000:00:1f.3
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             configuración: latency=0
             recursos: ioport:2000(size=32)
        *-multimedia
             descripción: Multimedia audio controller
             producto: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
             fabricante: Intel Corporation
             id físico: 1f.5
             información del bus: pci@0000:00:1f.5
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: pm bus_master cap_list
             configuración: driver=snd_intel8x0 latency=0
             recursos: irq:10 ioport:1400(size=256) ioport:1c80(size=64) memoria:e0080c00-e0080dff memoria:e0080800-e00808ff
        *-communication NO RECLAMADO
             descripción: Modem
             producto: 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller
             fabricante: Intel Corporation
             id físico: 1f.6
             información del bus: pci@0000:00:1f.6
             versión: 02
             anchura: 32 bits
             reloj: 33MHz
             capacidades: pm generic cap_list
             configuración: latency=0
             recursos: ioport:1800(size=256) ioport:1c00(size=128)
     *-scsi:0
          id físico: 0
          nombre lógico: scsi0
          capacidades: emulated
        *-cdrom
             descripción: CD-R/CD-RW writer
             producto: UJDA360
             fabricante: MATSHITA
             id físico: 0.0.0
             información del bus: scsi@0:0.0.0
             nombre lógico: /dev/cdrom
             nombre lógico: /dev/sr0
             versión: 1.02
             serie: `
             capacidades: removable audio cd-r cd-rw
             configuración: ansiversion=5 status=nodisc
     *-scsi:1
          id físico: 1
          nombre lógico: scsi1
          capacidades: emulated
        *-disk
             descripción: ATA Disk
             producto: WDC WD1200BEVE-0
             fabricante: Western Digital
             id físico: 0.0.0
             información del bus: scsi@1:0.0.0
             nombre lógico: /dev/sda
             versión: 01.0
             serie: WD-WXC308429264
             tamaño: 111GiB (120GB)
             capacidades: partitioned partitioned:dos
             configuración: ansiversion=5 sectorsize=512 signature=000b12fe
           *-volume:0
                descripción: partición EXT4
                fabricante: Linux
                id físico: 1
                información del bus: scsi@1:0.0.0,1
                nombre lógico: /dev/sda1
                nombre lógico: /
                versión: 1.0
                serie: ffbb4f83-5c9b-4ee6-9029-97d246976cef
                tamaño: 111GiB
                capacidad: 111GiB
                capacidades: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuración: created=2017-03-11 17:42:36 filesystem=ext4 lastmountpoint=/ modified=2017-03-12 15:39:17 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2017-03-12 15:39:18 state=mounted
           *-volume:1
                descripción: Extended partition
                id físico: 2
                información del bus: scsi@1:0.0.0,2
                nombre lógico: /dev/sda2
                tamaño: 764MiB
                capacidad: 764MiB
                capacidades: primary extended partitioned partitioned:extended
              *-logicalvolume
                   descripción: Linux swap / Solaris partition
                   id físico: 5
                   nombre lógico: /dev/sda5
                   capacidad: 764MiB
                   capacidades: nofs
  *-battery
       producto: SANYO
       fabricante: SANYO
       id físico: 1
       ranura: 1st Battery
       capacidad: 592000mWh
       configuración: voltage=14,8V
Thanks for your help!

EDIT: It is working now! follow the tread to the final post to see what worked at the end. Thank you!
Last edited by biologopaco on Sun Mar 26, 2017 12:33 pm, edited 1 time in total.

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 11:50 am

Would you use this command in the Terminal and post the output:

Code: Select all

xrandr --verbose

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 12:00 pm

here is the output of xrandr --verbose

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  38007
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  640x480 (0x45)   65.0MHz *current +preferred
        h: width   640 start  856 end  992 total 1344 skew    0 clock   48.4KHz
        v: height  480 start  627 end  633 total  806           clock   60.0Hz
  640x480 (0x7c)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 unknown connection (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  38007
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1360x768 (0x7d)   84.8MHz -HSync +VSync
        h: width  1360 start 1432 end 1568 total 1776 skew    0 clock   47.7KHz
        v: height  768 start  771 end  781 total  798           clock   59.8Hz
  1152x864 (0x7e)   81.6MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1024x768 (0x7f)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x80)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x7c)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  38007
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 12:15 pm

The output shows no EDID for the laptop's display. A custom xorg.conf file will need to be created. Use this command to create it:

Code: Select all

gksudo gedit /etc/X11/xorg.conf
In the opened empty file, add these lines:

Code: Select all

Section "ServerLayout"
   Identifier   "Layout0"
   Screen   0 "Screen0" 0 0 
EndSection

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       24.0 - 94.0	   
   VertRefresh     24.0 - 76.0
   Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
   Option "PreferredMode" "1024x768"
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "intel"   
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
EndSection
Log out and back in. If the resolution is not correct, then go to Settings > Display and check for it and make the change.

If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. Log in and then type this command to remove the xorg.conf file:

Code: Select all

sudo rm /etc/X11/xorg.conf
Then type: sudo reboot

If you can't enter tty1, then press Ctrl+Alt+Delete to reboot and select Recovery Mode at the GRUB boot menu. If no menu shows, then hold down the Shift key while starting. In the menu, select “root - drop to root shell prompt”. When asked for the root password, just type your user password. Then change the file permissions to read and write by typing:

Code: Select all

mount -o remount,rw /

Then type this command to remove the xorg.conf file:

Code: Select all

rm /etc/X11/xorg.conf
Then type this command and wait: reboot

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 12:38 pm

Hi, I made the xorg.conf file, pasted the code, saved in /etc/X11/xorg.conf. Rebooted the system and got the same screen resolution as before (640x480)
Here is the output of xrandr --verbose now:

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  39918
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  640x480 (0x45)   65.0MHz *current +preferred
        h: width   640 start  856 end  992 total 1344 skew    0 clock   48.4KHz
        v: height  480 start  627 end  633 total  806           clock   60.0Hz
  640x480 (0x46)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 unknown connection (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  39918
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1360x768 (0x47)   84.8MHz -HSync +VSync
        h: width  1360 start 1432 end 1568 total 1776 skew    0 clock   47.7KHz
        v: height  768 start  771 end  781 total  798           clock   59.8Hz
  1152x864 (0x48)   81.6MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1024x768 (0x49)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x4a)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x46)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  39918
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
I am still able to access the computer as before (just hard to use with this small resolution), and the Xorg.conf file is still there, but apparently did not changed the display.
As I mentioned, I am able to get the right resolution when booting in live mode, so the display is detected correctly then. Would it be possible to use the same detection protocol used in live mode in the regular booting from the hard disk?

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 12:42 pm

Is there an external monitor connected to the VGA port?

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 12:42 pm

nope, no external monitor

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 12:50 pm

This line is in the xrandr output and appears to be a misconfiguration: VGA1 unknown connection

Reboot and at the GRUB boot menu select the correct line but don’t press Enter. Press the “E” key to edit. If no menu shows then hold down the shift key while starting. Using the Down arrow key, go down to the line that starts with:
linux /boot/vmlinuz.............ro quiet splash $vt_handoff

Press the End key to go to the end of the line. Add a space and then add this parameter: video=VGA-1:d

Press F10 to start your system.

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 12:58 pm

so after rebooting, still the same screen resolution, with this xrandr --verbose output

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  38315
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  640x480 (0x45)   65.0MHz *current +preferred
        h: width   640 start  856 end  992 total 1344 skew    0 clock   48.4KHz
        v: height  480 start  627 end  633 total  806           clock   60.0Hz
  640x480 (0x46)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  38315
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  38315
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
now VGA1 shows as disconnected...

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 1:07 pm

Adding the parameter video=VGA-1:d to the kernel command line will only have an effect for one session. To make the change persistent, use this command to open the grub file:

Code: Select all

gksudo gedit /etc/default/grub
Change this line:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
To this:

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=VGA-1:d"

Save the file and then use this command to update grub:

Code: Select all

sudo update-grub
Then open the File Manager and go to /home/your-user-name/.config/xfce4/xfconf/xfce-perchannel-xml.
Check if there is a file named displays.xml. If yes, then delete it and reboot.

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 1:17 pm

First, thanks for all your help! :-)
Ok, added the line in grub, updated it and removed the displays.xml. Rebooted and still same screen resolution.
Here is teh output of xrandr --verbose

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  38514
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  640x480 (0x45)   65.0MHz *current +preferred
        h: width   640 start  856 end  992 total 1344 skew    0 clock   48.4KHz
        v: height  480 start  627 end  633 total  806           clock   60.0Hz
  640x480 (0x7c)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  38514
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  38514
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 1:28 pm

biologopaco wrote:Would it be possible to use the same detection protocol used in live mode in the regular booting from the hard disk?
I don't know how that could be done.

A different Modeline will be tested. Open the xorg.conf file again:

Code: Select all

gksudo gedit /etc/X11/xorg.conf
Remove all the lines and then add these lines:

Code: Select all

Section "ServerLayout"
   Identifier   "Layout0"
   Screen   0 "Screen0" 0 0 
EndSection

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       24.0 - 94.0	   
   VertRefresh     24.0 - 76.0
   Modeline "1024x768R"  56.00  1024 1072 1104 1184  768 771 775 790 +hsync -vsync
   Option "PreferredMode" "1024x768R"
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "intel"   
   Option "Monitor-LVDS1" "Monitor0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
EndSection
Log out and back in and check in Settings > Display if the 1024x768 resolution is listed.

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 1:39 pm

so after changing xorg.conf, logged out and in (and also rebooted too) still same resolution, with the xrandr --verbose output here:

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  38605
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  640x480 (0x45)   65.0MHz *current +preferred
        h: width   640 start  856 end  992 total 1344 skew    0 clock   48.4KHz
        v: height  480 start  627 end  633 total  806           clock   60.0Hz
  640x480 (0x46)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  38605
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  38605
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 1:44 pm

Run a live session using the Mint installation USB stick. At the desktop, open the Terminal and use the xrandr --verbose command.

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 2:01 pm

started with live usb, screen resolution at 1024x768 as expected, and got the xrandr output down here:

Code: Select all

Screen 0: minimum 320 x 200, current 1024 x 768, maximum 32767 x 32767
LVDS1 connected 1024x768+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  71148
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1024x768 (0x45)   65.0MHz *current +preferred
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  1024x768 (0x7c)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x7d)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  800x600 (0x7e)   36.0MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock   35.2KHz
        v: height  600 start  601 end  603 total  625           clock   56.2Hz
  640x480 (0x7f)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 unknown connection (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  71148
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  1360x768 (0x80)   84.8MHz -HSync +VSync
        h: width  1360 start 1432 end 1568 total 1776 skew    0 clock   47.7KHz
        v: height  768 start  771 end  781 total  798           clock   59.8Hz
  1152x864 (0x81)   81.6MHz -HSync +VSync
        h: width  1152 start 1216 end 1336 total 1520 skew    0 clock   53.7KHz
        v: height  864 start  865 end  868 total  895           clock   60.0Hz
  1024x768 (0x7c)   65.0MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
        v: height  768 start  771 end  777 total  806           clock   60.0Hz
  800x600 (0x7d)   40.0MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
        v: height  600 start  601 end  605 total  628           clock   60.3Hz
  640x480 (0x7f)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  71148
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
:-)

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 2:08 pm

The Modeline listed is a little different, so it will be tested. Open the xorg.conf file again:

Code: Select all

gksudo gedit /etc/X11/xorg.conf
Remove all the lines and then add these lines:

Code: Select all

Section "ServerLayout"
   Identifier   "Layout0"
   Screen   0 "Screen0" 0 0 
EndSection

Section "Monitor"
   Identifier    "Monitor0"
   HorizSync       24.0 - 94.0	   
   VertRefresh     24.0 - 60.0
   Modeline "1024x768_60.00"  65.00  1024 1048 1184 1344  768 771 777 806  -hsync -vsync
   Option "PreferredMode" "1024x768"
EndSection

Section "Device"
   Identifier   "Device0"
   Driver   "intel"   
   Option "Monitor-LVDS1" "Monitor0"
EndSection

Section "Screen"
   Identifier   "Screen0"
   Device   "Device0"
   Monitor   "Monitor0"
   DefaultDepth   24
EndSection

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 2:15 pm

still no luck!, here is now the xrandr output:

Code: Select all

Screen 0: minimum 320 x 200, current 640 x 480, maximum 32767 x 32767
LVDS1 connected 640x480+0+0 (0x45) normal (normal left inverted right x axis y axis) 0mm x 0mm
	Identifier: 0x41
	Timestamp:  38483
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
  640x480 (0x45)   65.0MHz *current +preferred
        h: width   640 start  856 end  992 total 1344 skew    0 clock   48.4KHz
        v: height  480 start  627 end  633 total  806           clock   60.0Hz
  640x480 (0x46)   25.2MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
        v: height  480 start  490 end  492 total  525           clock   59.9Hz
VGA1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  38483
	Subpixel:   unknown
	Clones:    
	CRTCs:      0
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  38483
	Subpixel:   no subpixels
	Clones:    
	CRTCs:      1
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 2:17 pm

Use this command in the Terminal and post any message:

Code: Select all

xrandr --output LVDS1 --mode 1024x768 --rate 60

biologopaco
Level 1
Level 1
Posts: 26
Joined: Sun Mar 12, 2017 11:05 am

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by biologopaco » Sun Mar 12, 2017 2:20 pm

Code: Select all

xrandr: cannot find mode 1024x768

User avatar
roblm
Level 9
Level 9
Posts: 2766
Joined: Sun Feb 24, 2013 2:41 pm

Re: Laptop Monitor fine when booting from live usb, then fails after installation

Post by roblm » Sun Mar 12, 2017 2:31 pm

Now this is strange. The 1024x768 mode in the xorg.conf file should be used. Try using these commands in the Terminal.

Code: Select all

xrandr --newmode  "1024x768_60.00"  63.50  1024 1072 1176 1328  768 771 775 798  -hsync +vsync
xrandr --addmode LVDS1 1024x768_60 
xrandr --output LVDS1 --mode 1024x768

Post Reply

Return to “Graphics Cards & Monitors”