X-Server won't start after kernel update

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kmejka

X-Server won't start after kernel update

Post by kmejka »

After udpating my Linux mint to a newer kernel (from 3.16.0.37 to 3.19.3) my X-server won't start. I tried doing dpkg-reconfigure xserver-xorg, deleting ~/.config/monitors.xml and sudo X -configure. Nothing helpded.
I'm using a laptop, Dell Latitude E7440 with some basic Dell docking station.
I use an external monitor. If I connect I directly to my HDMI port it works, if I do it with the docking station - the x-server fails. If I don't connect any monitors then the xorg starts properly.
I installed the new kernel using debs with apt-get. The installation (I think, I'm not sure) went without any problems.

Code: Select all

$> uname -r
3.19.3-031903-generic
The x error log contains this message:

Code: Select all

[    34.645] (II) intel(0): Output eDP1 using monitor section Monitor0
[    34.645] (--) intel(0): found backlight control interface intel_backlight (type 'raw')
[    34.645] (II) intel(0): Output HDMI1 has no monitor section
[    34.645] (II) intel(0): Output DP1 has no monitor section
[    34.645] (II) intel(0): Output HDMI2 has no monitor section
[    34.645] (EE) intel(0): No outputs and no modes.
[    34.645] (II) UnloadModule: "intel"
[    34.645] (EE) Screen(s) found, but none have a usable configuration.
[    34.645] (EE) 
Fatal server error:
[    34.645] (EE) no screens found(EE) 
[    34.645] (EE) 
[    34.645] (II) intel(0): Output eDP1 using monitor section Monitor0
[    34.645] (--) intel(0): found backlight control interface intel_backlight (type 'raw')
[    34.645] (II) intel(0): Output HDMI1 has no monitor section
[    34.645] (II) intel(0): Output DP1 has no monitor section
[    34.645] (II) intel(0): Output HDMI2 has no monitor section
[    34.645] (EE) intel(0): No outputs and no modes.
[    34.645] (II) UnloadModule: "intel"
[    34.645] (EE) Screen(s) found, but none have a usable configuration.
[    34.645] (EE) 
Fatal server error:
[    34.645] (EE) no screens found(EE) 
[    34.645] (EE) 
Can anyone offer any help?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
paulcaheny

Re: X-Server won't start after kernel update

Post by paulcaheny »

Same problem after updating to 3.19.0-22 via Update Manager.

Did you find a solution or anyone else have any ideas?
paulcaheny

Re: X-Server won't start after kernel update

Post by paulcaheny »

I solved this problem by updating the xf86-video-intel driver. I followed the instructions near the bottom of this post:

http://cweiske.de/tagebuch/thinkpad-ult ... creens.htm

After those instructions make install put the new driver in:

Code: Select all

/usr/local/lib/xorg/modules/drivers/
I manually copied it to the system location for the driver (after backing up the original):

Code: Select all

/usr/lib/xorg/modules/drivers/
...and it was then picked up at boot as evidenced by /var/log/Xorg.0.log :

Code: Select all

[     4.577] (II) LoadModule: "intel"
[     4.577] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     4.578] (II) Module intel: vendor="X.Org Foundation"
[     4.578]  compiled for 1.15.1, module version = 2.99.917
[     4.578]  Module class: X.Org Video Driver
[     4.578]  ABI class: X.Org Video Driver, version 15.0
The old Intel driver (which came with Mint 17.2) was 2.99.910. With the 3.19 kernel and 2.99.917 driver I now have multiple external monitors (plus Dell Latitude e7440 inbuilt display) working via a dell E-Port Replicator "K07a" (1 2560x1440 via DP dock output and 1 1680x1050 via DVI dock output).

The new kernel and driver enables this because internally the dock is using Displayport MST ("Daisy-chaining") to turn one DP input to the dock to both DP and DVI outputs from the dock. The MST functionality first hit mainline kernel 3.17.
nobby.uk

Re: X-Server won't start after kernel update

Post by nobby.uk »

The old Intel driver (which came with Mint 17.2) was 2.99.910. With the 3.19 kernel and 2.99.917 driver I now have multiple external monitors (plus Dell Latitude e7440 inbuilt display) working via a dell E-Port Replicator "K07a" (1 2560x1440 via DP dock output and 1 1680x1050 via DVI dock output).
Thankyou!!!!! - Just had to re-install my laptop (also a E7440) with 17.2 after a new motherboard and disk.
Ive had everything working for a good year fine before hand with 17.1 and a 3.19 kernel before it died, but after re-install with 17.2 and 3.19 I could not get the dual external screens working with the port replicator (sounds like we have the exact same kit). Kept getting "Screen(s) found but none have a usable configuration"

So took the 2.99.917 intel driver source code, compiled the driver and bingo! worked first time.
kmejka

Re: X-Server won't start after kernel update

Post by kmejka »

@paulcaheny big thanks for this! I'll check it out, once I have some spare time :)
SamuraiMark

Re: X-Server won't start after kernel update

Post by SamuraiMark »

No joy for me.

Code: Select all

$ ./autogen.sh                              
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal ${ACLOCAL_FLAGS} -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure.ac:61: error: possibly undefined macro: AC_DISABLE_STATIC
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:62: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
This is after a previous collection of errors that had me installing a pile of X related dev packages. 3.16 kernel is working fine, but I'd really love to get my 3rd monitor (laptop + 2 externals) working together. Hoping the Mint team comes up with a proper resolution.
clmb

Re: X-Server won't start after kernel update

Post by clmb »

Hi guys,

I am new to compiling things from source. I also use the Latitude E7450 and docking station and can not get it to work with the old intel drivers.
If I follow the instructions to update the drivers I get the following:

Code: Select all

./autogen.sh 
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext                                                                                                                 
autoreconf: running: aclocal -I m4                                                                                                                          
configure.ac:44: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd                                                                            
/usr/share/aclocal/xorg-macros.m4:1780: XORG_INSTALL is expanded from...                                                                                    
/usr/share/aclocal/xorg-macros.m4:1760: XORG_DEFAULT_OPTIONS is expanded from...                                                                            
configure.ac:44: the top level                                                                                                                              
configure.ac:404: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd                                                                           
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...                                                                             
configure.ac:404: the top level                                                                                                                             
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd                                                                           
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...                                                                             
configure.ac:405: the top level                                                                                                                             
configure.ac:406: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd                                                                           
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...                                                                             
configure.ac:406: the top level
configure.ac:513: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:513: the top level
configure.ac:581: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:581: the top level
configure.ac:642: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:642: the top level
configure.ac:44: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-macros.m4:1780: XORG_INSTALL is expanded from...
/usr/share/aclocal/xorg-macros.m4:1760: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:44: the top level
configure.ac:404: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:404: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:405: the top level
configure.ac:406: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:406: the top level
configure.ac:513: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:513: the top level
configure.ac:581: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:581: the top level
configure.ac:642: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:642: the top level
autoreconf: configure.ac: tracing
configure.ac:44: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10404: XORG_INSTALL is expanded from...
aclocal.m4:10384: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:44: the top level
configure.ac:404: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10508: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:404: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10508: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:405: the top level
configure.ac:406: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10508: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:406: the top level
configure.ac:513: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10508: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:513: the top level
configure.ac:581: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10508: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:581: the top level
configure.ac:642: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:10508: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:642: the top level
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:44: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-macros.m4:1780: XORG_INSTALL is expanded from...
/usr/share/aclocal/xorg-macros.m4:1760: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:44: the top level
configure.ac:404: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:404: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:405: the top level
configure.ac:406: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:406: the top level
configure.ac:513: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:513: the top level
configure.ac:581: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:581: the top level
configure.ac:642: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:642: the top level
configure.ac:44: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-macros.m4:1780: XORG_INSTALL is expanded from...
/usr/share/aclocal/xorg-macros.m4:1760: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:44: the top level
configure.ac:404: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:404: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:405: the top level
configure.ac:406: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:406: the top level
configure.ac:513: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:513: the top level
configure.ac:581: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:581: the top level
configure.ac:642: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
/usr/share/aclocal/xorg-server.m4:31: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:642: the top level
autoreconf: running: /usr/bin/autoconf
configure.ac:44: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1802: XORG_INSTALL is expanded from...
aclocal.m4:1782: XORG_DEFAULT_OPTIONS is expanded from...
configure.ac:44: the top level
configure.ac:404: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1906: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:404: the top level
configure.ac:405: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1906: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:405: the top level
configure.ac:406: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1906: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:406: the top level
configure.ac:513: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1906: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:513: the top level
configure.ac:581: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1906: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:581: the top level
configure.ac:642: warning: PKG_PROG_PKG_CONFIG is m4_require'd but not m4_defun'd
aclocal.m4:1906: XORG_DRIVER_CHECK_EXT is expanded from...
configure.ac:642: the top level
configure.ac:81: error: possibly undefined macro: AC_DEFINE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:201: error: possibly undefined macro: AC_CHECK_HEADERS
autoreconf: /usr/bin/autoconf failed with exit status: 1
Can anyone make sense of that? Thanks in advance
kukamuumuka

Re: X-Server won't start after kernel update

Post by kukamuumuka »

An easy solution for these kernel-problems is to install and use a basic kernel. :wink:

Code: Select all

sudo apt-get install linux-generic
Locked

Return to “Installation & Boot”