You are not logged in.
Hi!
My laptop died yesterday, so I took an half of an old laptop from the self and decided to make some kind of a temporary desktop-thing out of it. Basically it has no screen connected and I am using it with an external monitor that is connected to the VGA port.
It seems to have an Intel 945GM/GMS graphics card
lspci | grep VGA:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)Yesterdy I installed Arch on it (so it's a fresh and up-to date system):
Linux localhost 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:16:21 CET 2014 i686 GNU/Linux
xf86-video-intel 2.99.916-3My problem is that X does not start and says that no devices were detected.
Xorg.0.log
[ 881.926]
X.Org X Server 1.16.2
Release Date: 2014-11-10
[ 881.926] X Protocol Version 11, Revision 0
[ 881.926] Build Operating System: Linux 3.17.2-1-ARCH i686
[ 881.926] Current Operating System: Linux localhost 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:16:21 CET 2014 i686
[ 881.926] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e89591c9-7560-4764-a7ea-c35d87dac2e7 rw
[ 881.927] Build Date: 10 November 2014 07:55:21PM
[ 881.927]
[ 881.927] Current version of pixman: 0.32.6
[ 881.927] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 881.927] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 881.928] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 3 13:09:44 2014
[ 881.928] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 881.928] (==) No Layout section. Using the first Screen section.
[ 881.928] (==) No screen section available. Using defaults.
[ 881.928] (**) |-->Screen "Default Screen Section" (0)
[ 881.928] (**) | |-->Monitor "<default monitor>"
[ 881.928] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 881.928] (==) Automatically adding devices
[ 881.929] (==) Automatically enabling devices
[ 881.929] (==) Automatically adding GPU devices
[ 881.929] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 881.929] Entry deleted from font path.
[ 881.929] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 881.929] Entry deleted from font path.
[ 881.929] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 881.929] Entry deleted from font path.
[ 881.929] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 881.929] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 881.929] Entry deleted from font path.
[ 881.929] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 881.929] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/
[ 881.929] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 881.929] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 881.929] (II) Loader magic: 0x82a0700
[ 881.929] (II) Module ABI versions:
[ 881.929] X.Org ANSI C Emulation: 0.4
[ 881.929] X.Org Video Driver: 18.0
[ 881.929] X.Org XInput driver : 21.0
[ 881.929] X.Org Server Extension : 8.0
[ 881.933] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[ 881.935] (--) PCI:*(0:0:2:0) 8086:27a2:14c0:0020 rev 3, Mem @ 0xd0200000/524288, 0xd0300000/262144, I/O @ 0x00001800/8
[ 881.935] (--) PCI: (0:0:2:1) 8086:27a6:14c0:0020 rev 3, Mem @ 0xd0280000/524288
[ 881.935] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 881.936] (II) LoadModule: "glx"
[ 881.936] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 881.938] (II) Module glx: vendor="X.Org Foundation"
[ 881.938] compiled for 1.16.2, module version = 1.0.0
[ 881.938] ABI class: X.Org Server Extension, version 8.0
[ 881.938] (==) AIGLX enabled
[ 881.938] (==) Matched intel as autoconfigured driver 0
[ 881.938] (==) Matched modesetting as autoconfigured driver 1
[ 881.938] (==) Matched fbdev as autoconfigured driver 2
[ 881.938] (==) Matched vesa as autoconfigured driver 3
[ 881.938] (==) Assigned the driver to the xf86ConfigLayout
[ 881.938] (II) LoadModule: "intel"
[ 881.938] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 881.939] (II) Module intel: vendor="X.Org Foundation"
[ 881.939] compiled for 1.16.1, module version = 2.99.916
[ 881.939] Module class: X.Org Video Driver
[ 881.939] ABI class: X.Org Video Driver, version 18.0
[ 881.939] (II) LoadModule: "modesetting"
[ 881.939] (WW) Warning, couldn't open module modesetting
[ 881.939] (II) UnloadModule: "modesetting"
[ 881.939] (II) Unloading modesetting
[ 881.939] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 881.939] (II) LoadModule: "fbdev"
[ 881.940] (WW) Warning, couldn't open module fbdev
[ 881.940] (II) UnloadModule: "fbdev"
[ 881.940] (II) Unloading fbdev
[ 881.940] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 881.940] (II) LoadModule: "vesa"
[ 881.940] (WW) Warning, couldn't open module vesa
[ 881.940] (II) UnloadModule: "vesa"
[ 881.940] (II) Unloading vesa
[ 881.940] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 881.940] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 881.940] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 881.940] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 881.941] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 881.941] (++) using VT number 2
[ 881.941] (--) controlling tty is VT number 2, auto-enabling KeepTty
[ 881.945] (EE) No devices detected.
[ 881.945] (EE)
Fatal server error:
[ 881.945] (EE) no screens found(EE)
[ 881.945] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 881.945] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 881.945] (EE) Also, I noticed some weird stuff in dmesg:
[ 2.158121] pci 0000:00:00.0: Intel 945GM Chipset
[ 2.158140] pci 0000:00:00.0: detected gtt size: 0K total, 0K mappable
[ 2.158149] [drm:i915_gmch_probe] *ERROR* failed to set up gmch
[ 2.158217] ------------[ cut here ]------------
[ 2.158258] WARNING: CPU: 1 PID: 137 at drivers/gpu/drm/i915/intel_pm.c:4991 intel_disable_gt_powersave+0xff/0x350 [i915]()
[ 2.158260] Modules linked in: i915(+) snd_hda_intel evdev coretemp snd_hda_controller hwmon mac_hid snd_hda_codec pcspkr snd_hwdep serio_raw snd_pcm r8169 psmouse yenta_socket(+) snd_timer lpc_ich pcmcia_rsrc mii pcmcia_core drm_kms_helper snd uas usb_storage soundcore i2c_i801 rng_core battery ac shpchp drm i2c_algo_bit tpm_infineon intel_agp i2c_core intel_gtt tpm_tis video agpgart tpm button acpi_cpufreq processor sch_fq_codel ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_common ata_generic pata_acpi atkbd libps2 ata_piix uhci_hcd ehci_pci ehci_hcd libata sdhci_pci sdhci led_class mmc_core scsi_mod usbcore usb_common i8042 serio
[ 2.158325] CPU: 1 PID: 137 Comm: systemd-udevd Not tainted 3.17.4-1-ARCH #1
[ 2.158327] Hardware name: COMPAL HGL3X /HGL3X, BIOS 104A 07/11/2006
[ 2.158330] 00000000 365e995d 00000000 f4fc9b00 c146aced 00000000 f4fc9b34 c1051ec2
[ 2.158337] c153cc1c 00000001 00000089 f85fdff4 0000137f f856dcff 0000137f f856dcff
[ 2.158343] f3843000 f3878000 f3878000 f4fc9b44 c1051fb2 00000009 00000000 f4fc9b60
[ 2.158350] Call Trace:
[ 2.158361] [<c146aced>] dump_stack+0x48/0x69
[ 2.158368] [<c1051ec2>] warn_slowpath_common+0x82/0xa0
[ 2.158401] [<f856dcff>] ? intel_disable_gt_powersave+0xff/0x350 [i915]
[ 2.158434] [<f856dcff>] ? intel_disable_gt_powersave+0xff/0x350 [i915]
[ 2.158438] [<c1051fb2>] warn_slowpath_null+0x22/0x30
[ 2.158471] [<f856dcff>] intel_disable_gt_powersave+0xff/0x350 [i915]
[ 2.158507] [<f857f677>] ? i915_gem_gtt_init+0x57/0x2c0 [i915]
[ 2.158549] [<f85a32f0>] intel_uncore_fini+0x10/0x20 [i915]
[ 2.158598] [<f85e9c6c>] i915_driver_load+0x60c/0xfb0 [i915]
[ 2.158605] [<c123f382>] ? kobject_uevent_env+0x162/0x570
[ 2.158609] [<c123f382>] ? kobject_uevent_env+0x162/0x570
[ 2.158612] [<c123f0e0>] ? kobj_ns_drop+0x60/0x60
[ 2.158618] [<c11de033>] ? sysfs_add_file+0x23/0x30
[ 2.158624] [<c1311d94>] ? get_device+0x14/0x30
[ 2.158629] [<c1316f42>] ? klist_class_dev_get+0x12/0x20
[ 2.158633] [<c1466b9e>] ? klist_node_init+0x2e/0x50
[ 2.158637] [<c1466c34>] ? klist_add_tail+0x34/0x40
[ 2.158641] [<c13132b4>] ? device_add+0x1a4/0x600
[ 2.158656] [<f8174cbe>] drm_dev_register+0x8e/0xd0 [drm]
[ 2.158665] [<f81770c9>] drm_get_pci_dev+0xa9/0x1c0 [drm]
[ 2.158670] [<c11dc0c5>] ? kernfs_new_node+0x35/0x50
[ 2.158700] [<f8560405>] i915_pci_probe+0x35/0x60 [i915]
[ 2.158705] [<c1275b7f>] pci_device_probe+0x6f/0xd0
[ 2.158711] [<c11de455>] ? sysfs_create_link+0x25/0x50
[ 2.158715] [<c1316063>] driver_probe_device+0x93/0x3c0
[ 2.158719] [<c11de147>] ? sysfs_create_dir_ns+0x37/0x90
[ 2.158722] [<c1275aaa>] ? pci_match_device+0xca/0x100
[ 2.158726] [<c1316449>] __driver_attach+0x79/0x80
[ 2.158730] [<c13163d0>] ? __device_attach+0x40/0x40
[ 2.158733] [<c1314347>] bus_for_each_dev+0x57/0xa0
[ 2.158737] [<c1315b5e>] driver_attach+0x1e/0x20
[ 2.158741] [<c13163d0>] ? __device_attach+0x40/0x40
[ 2.158744] [<c13157a7>] bus_add_driver+0x157/0x240
[ 2.158750] [<f8389000>] ? 0xf8389000
[ 2.158754] [<f8389000>] ? 0xf8389000
[ 2.158758] [<c1316c0d>] driver_register+0x5d/0xf0
[ 2.158762] [<c12753c3>] __pci_register_driver+0x33/0x40
[ 2.158772] [<f81772cd>] drm_pci_init+0xed/0x110 [drm]
[ 2.158776] [<f8389000>] ? 0xf8389000
[ 2.158806] [<f8389083>] i915_init+0x83/0x85 [i915]
[ 2.158811] [<c1000496>] do_one_initcall+0xc6/0x200
[ 2.158816] [<f8389000>] ? 0xf8389000
[ 2.158821] [<c1164b75>] ? kfree+0x165/0x170
[ 2.158825] [<c1152335>] ? __vunmap+0xa5/0xf0
[ 2.158828] [<c1152335>] ? __vunmap+0xa5/0xf0
[ 2.158832] [<c1152335>] ? __vunmap+0xa5/0xf0
[ 2.158837] [<c10ca04a>] load_module+0x1aea/0x24a0
[ 2.158845] [<c10caaaf>] SyS_init_module+0xaf/0x120
[ 2.158854] [<c146fe97>] sysenter_do_call+0x12/0x12
[ 2.158883] ---[ end trace fbf286dfb19d3332 ]---
[ 2.159709] i915: probe of 0000:00:02.0 failed with error -5Although at least to me the module i915 seems to be loaded
lsmod | grep i915
i915 810084 0
drm_kms_helper 71440 1 i915
drm 212597 2 i915,drm_kms_helper
i2c_algo_bit 12640 1 i915
i2c_core 41134 11 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,af9033,tuner_it913x,v4l2_common,dvb_usb_v2,dvb_usb_af9035,videodev
intel_gtt 17584 2 i915,intel_agp
video 17718 1 i915
button 12833 1 i915X starts without any problems with the VESA driver, but like you would expect, the performance is terrible...
Also, I don't know if this is connected to the problem or not but I had to disable graphical terminal in /etc/default/grub by commenting out the line
GRUB_TERMINAL_OUTPUT=consoleas otherwise my screen was just black while in GRUB and I was unable to see the menu.
I haven't added any additional kernel parameters either, even removed "quiet", but this shouldn't matter I guess...
Anyway, If you require some additional information, I will be grad to add it.
Last edited by kjans (2014-12-27 23:07:18)
Offline
First thing to do is try the LTS kernel. Second thing, open a bug report at bugs.freedesktop.org, as this looks like a problem only Intel developers will be able to help with.
Offline
See: Here, read "Phantom Output."
That page is for nouveau but the kernel line parameters it gives can be used with your intel hardware as well - they take effect before any drivers at all are loaded. What you want to turn off are "LVDS-1" or similar: whatever xrandr tells you it is called. The "-1" part might or might not be needed. Once that output is disabled at the kernel level then hopefully you'll be able to get the external screen working with the proper intel driver.
Please post back the results.
Edit: Also, the X error log is complaining about not being able to use modesetting. If you have any "VGA=" or "nomodeset" or similar in your kernel line then remove those too as they will also disable modesetting and that will also cause the intel driver to fail. And, hey, just noticed the kernel output controls are listed on the intel page: too.
Last edited by headkase (2014-12-03 13:16:21)
Offline
LTS kernel did not solve the issue.
I do not have any "VGA=" or "nomodeset" in my kernel command line
Will look into the phantom output thing when I get back home, although with the VESA driver xrandr does not list the outputs for some reason...
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.00*
1024x768 0.00
800x600 0.00
640x480 0.00 This actually made me think that as I still have the internal screen, but it's physically broken and thus unusable, maybe it would be a good idea to reconnect it, at least for the debugging purposes.
I'll keep you posted
Offline
If it's not getting picked up then try disabling the "LVDS-1" screen. That is, usually, a laptops internal screen. If "LVDS-1" doesn't work then try again with "LVDS". I hope it works, because it would just be awesome to have Linux in general rescue an otherwise dead laptop. ![]()
Offline
For output names, look at /sys/class/drm, you will see directories like card0-VGA-1 in there. In this example, VGA-1 is the output name. The internal display will probably be LVDS-1, like headkase says, but looking in /sys/class/drm you will know for sure.
That the VESA driver will not show output names is normal, it's a generic driver with very few capabilities (it can't do native modesetting, it can't do multi-monitor, or anything fancy like that).
Offline
Ok, made some tests.
First: there is nothing interesting in /sys/class/drm. Only one file called version... which, as you might guess, contains the version info for DRM.
Secondly: tested this Phantom Output thing. Used LVDS-1, LVDS-0, LVDS... nothing.
I even tried to add i915 and intel_agp modules to the initramfs... nothing changed.
However, I looked a bit more into dmesg and found another interesting thing:
[ 2.038447] Linux agpgart interface v0.103
[ 2.041261] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input8
[ 2.048750] ACPI: AC Adapter [ACAD] (on-line)
[ 2.060820] agpgart-intel 0000:00:00.0: Intel 945GM Chipset
[ 2.060849] agpgart-intel 0000:00:00.0: detected gtt size: 0K total, 0K mappable
[ 2.060858] agpgart-intel 0000:00:00.0: Intel (null) Chipset
[ 2.060867] agpgart-intel 0000:00:00.0: can't determine aperture size
[ 2.060933] agpgart-intel 0000:00:00.0: agp_backend_initialize() failed
[ 2.060942] agpgart-intel: probe of 0000:00:00.0 failed with error -22So it seems there is a problem with the AGP module not correctly detecting the card in the first place
Edit: also tested it with the internal screen connected, still the same problem.
Last edited by kjans (2014-12-03 21:33:09)
Offline
Yeah, sorry I'm out of ideas for going forward. I had hoped that the display was causing the issue but you state that the kernel can't even see it. Hopefully someone else will be able to chime in.
Offline
Ok, I got myself a new laptop so this problem is not relevant to me anymore
Offline
That's one expensive solution, I must say ![]()
Last edited by Gusar (2014-12-27 23:12:24)
Offline
As I wrote in the first post, the problem occurred with an old temporary system that I used because my laptop's motherboard died, so I had to buy a new laptop anyway, I just hoped I could have decent graphics on my temporary system while I had to use it.
But thanks to everyone for helping and happy holidays ![]()
Offline