You are not logged in.

#1 2020-08-09 06:54:24

Ciphered
Member
From: Italy
Registered: 2020-08-09
Posts: 4

Macbook Pro Mid 2015

Hi everyone,
i tried to install archlinux on my macbook pro mid 2015. During boot the arch was freeze. I needed add the nomodeset option to be able to continue with the installation. I then completed the installation. now i was going to install xorg and a graphical environment (openbox in this case). but when I try to run startx or openbox-session directly Xorg gives me an error by returning this log

[    32.506] Build Operating System: Linux Arch Linux
[    32.507] Current Operating System: Linux DSK-AEA-LT-01 5.7.12-arch1-1 #1 SMP PREEMPT Fri, 31 Jul 2020 17:38:22 +0000 x86_64
[    32.507] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=d40dff34-0f85-7045-8194-f81d3309c1ff rw nomodeset acpi_mask_gpe=0x06
[    32.507] Build Date: 31 July 2020  04:00:57PM
[    32.507]
[    32.507] Current version of pixman: 0.40.0
[    32.507]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    32.507] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    32.508] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug  9 08:18:25 2020
[    32.509] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    32.509] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    32.510] (==) No Layout section.  Using the first Screen section.
[    32.510] (==) No screen section available. Using defaults.
[    32.510] (**) |-->Screen "Default Screen Section" (0)
[    32.510] (**) |   |-->Monitor "<default monitor>"
[    32.510] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[    32.510] (**) |   |-->Device "Intel Graphics"
[    32.510] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    32.510] (==) Automatically adding devices
[    32.510] (==) Automatically enabling devices
[    32.510] (==) Automatically adding GPU devices
[    32.510] (==) Automatically binding GPU devices
[    32.510] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    32.511] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    32.511]    Entry deleted from font path.
[    32.511] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[    32.511]    Entry deleted from font path.
[    32.511] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    32.511]    Entry deleted from font path.
[    32.511] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    32.511]    Entry deleted from font path.
[    32.511] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    32.511]    Entry deleted from font path.
[    32.511] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    32.511]    Entry deleted from font path.
[    32.511] (==) FontPath set to:

[    32.511] (==) ModulePath set to "/usr/lib/xorg/modules"
[    32.511] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    32.511] (II) Module ABI versions:
[    32.511]    X.Org ANSI C Emulation: 0.4
[    32.511]    X.Org Video Driver: 24.1
[    32.511]    X.Org XInput driver : 24.1
[    32.511]    X.Org Server Extension : 10.0
[    32.511] (++) using VT number 1

[    32.513] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    32.516] (--) PCI:*(0@0:2:0) 8086:0d26:106b:0147 rev 8, Mem @ 0xa0000000/4194304, 0x90000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[    32.517] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    32.517] (II) LoadModule: "glx"
[    32.517] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    32.524] (II) Module glx: vendor="X.Org Foundation"
[    32.524]    compiled for 1.20.8, module version = 1.0.0
[    32.524]    ABI class: X.Org Server Extension, version 10.0
[    32.524] (II) LoadModule: "intel"
[    32.525] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    32.527] (II) Module intel: vendor="X.Org Foundation"
[    32.527]    compiled for 1.20.8, module version = 2.99.917
[    32.527]    Module class: X.Org Video Driver
[    32.527]    ABI class: X.Org Video Driver, version 24.1
[    32.527] (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
[    32.527] (II) intel: Driver for Intel(R) HD Graphics
[    32.527] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    32.527] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    34.551] intel: waited 2020 ms for i915.ko driver to load
[    34.555] (EE) No devices detected.
[    34.555] (EE)
Fatal server error:
[    34.556] (EE) no screens found(EE)
[    34.556] (EE)

No devices detected... No Screen Found!
The command lspci | grep VGA return me

00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)

i have already installed everything: xf86-video-intel mesa-libgl libva-intel-driver libva, but the same error keeps getting. I thought it might be due to the nomodeset. It could be? however even after installing these packages, if I remove nomodeset option I get an initial freeze. I can't figure out how to fix the problem..
thank you all

Offline

#2 2020-08-09 07:04:29

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: Macbook Pro Mid 2015

Did you install  xorg-xinit? How did you install Arch?
Or anu display manager?

Last edited by VoDo (2020-08-09 07:05:36)


Archi3

Offline

#3 2020-08-09 07:57:00

Ciphered
Member
From: Italy
Registered: 2020-08-09
Posts: 4

Re: Macbook Pro Mid 2015

Yes, xorg-xinit installed..
I've installed arch following this guide and this
I would say quite classic installation,I followed the guide until rebooting after installation, then since I wanted to install openbox I saw the official guide on the site of arch

Offline

#4 2020-08-09 08:04:53

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: Macbook Pro Mid 2015

What happens when you do this as a standard user startx /usr/bin/openbox (check if the name is openbox I do not know I use i3)
I also suggest to install it by following wiki form start because the installing process can change time to time that guide is three years old.
For example the guide says # pacstrap /mnt base base-dev
Arch wiki says # pacstrap /mnt base linux linux-firmware

so there can be more differences.
When I was installing Arch on MacBook Air I followed Arch wiki only. I did not have problems to install it one just needs to be careful and read and understand what those commands mean and what one needs. smile

Last edited by VoDo (2020-08-09 08:13:29)


Archi3

Offline

#5 2020-08-09 08:43:13

Ciphered
Member
From: Italy
Registered: 2020-08-09
Posts: 4

Re: Macbook Pro Mid 2015

[   209.899] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   209.899]
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[   209.899] Build Operating System: Linux Arch Linux
[   209.899] Current Operating System: Linux DSK-AEA-LT-01 5.7.12-arch1-1 #1 SMP PREEMPT Fri, 31 Jul 2020 17:38:22 +0000 x86_64
[   209.899] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img root=PARTUUID=d40dff34-0f85-7045-8194-f81d3309c1ff rw nomodeset i915.modeset=0 acpi_mask_gpe=0x06
[   209.900] Build Date: 31 July 2020  04:00:57PM
[   209.900]
[   209.900] Current version of pixman: 0.40.0
[   209.900]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[   209.900] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   209.900] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug  9 10:14:31 2020
[   209.900] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   209.900] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   209.901] (==) No Layout section.  Using the first Screen section.
[   209.901] (==) No screen section available. Using defaults.
[   209.901] (**) |-->Screen "Default Screen Section" (0)
[   209.901] (**) |   |-->Monitor "<default monitor>"
[   209.901] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[   209.901] (**) |   |-->Device "Intel Graphics"
[   209.901] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[   209.901] (==) Automatically adding devices
[   209.901] (==) Automatically enabling devices
[   209.901] (==) Automatically adding GPU devices
[   209.901] (==) Automatically binding GPU devices
[   209.901] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   209.901] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   209.901]    Entry deleted from font path.
[   209.901] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   209.901]    Entry deleted from font path.
[   209.901] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   209.901]    Entry deleted from font path.
[   209.901] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   209.901]    Entry deleted from font path.
[   209.901] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   209.901]    Entry deleted from font path.
[   209.901] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   209.901]    Entry deleted from font path.
[   209.901] (==) FontPath set to:

[   209.901] (==) ModulePath set to "/usr/lib/xorg/modules"
[   209.901] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[   209.901] (II) Module ABI versions:
[   209.901]    X.Org ANSI C Emulation: 0.4
[   209.901]    X.Org Video Driver: 24.1
[   209.901]    X.Org XInput driver : 24.1
[   209.901]    X.Org Server Extension : 10.0
[   209.901] (++) using VT number 1

[   209.903] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   209.906] (--) PCI:*(0@0:2:0) 8086:0d26:106b:0147 rev 8, Mem @ 0xa0000000/4194304, 0x90000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[   209.906] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   209.906] (II) LoadModule: "glx"
[   209.906] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   209.907] (II) Module glx: vendor="X.Org Foundation"
[   209.907]    compiled for 1.20.8, module version = 1.0.0
[   209.907]    ABI class: X.Org Server Extension, version 10.0
[   209.907] (II) LoadModule: "intel"
[   209.907] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[   209.907] (II) Module intel: vendor="X.Org Foundation"
[   209.907]    compiled for 1.20.8, module version = 2.99.917
[   209.907]    Module class: X.Org Video Driver
[   209.907]    ABI class: X.Org Video Driver, version 24.1
[   209.907] (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
[   209.907] (II) intel: Driver for Intel(R) HD Graphics
[   209.907] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[   209.907] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[   211.930] intel: waited 2020 ms for i915.ko driver to load
[   211.934] (EE) No devices detected.
[   211.934] (EE)
Fatal server error:
[   211.934] (EE) no screens found(EE)
[   211.935] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[   211.935] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   211.935] (EE)
[   211.951] (EE) Server terminated with error (1). Closing log file.

I noticed this line => intel: waited 2020 ms for i915.ko driver to load
looking around it seems i have to recompile the kenel by adding support for i915.ko is that the problem?

Offline

#6 2020-08-09 08:49:13

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: Macbook Pro Mid 2015

I would try to install linux-lts in my eyes no need to use latest kernel for an old HW.


Archi3

Offline

#7 2020-08-09 09:04:30

Ciphered
Member
From: Italy
Registered: 2020-08-09
Posts: 4

Re: Macbook Pro Mid 2015

OK, you are a genius big_smile
If i use LTS kernel and remove nomodeset works..

but it is not clear to me why it works ..
if i check linux and linux lts packages i see they both have i915 .. why does lts work?
Also in future updates will it continue to work?
Thanks again

Offline

#8 2020-08-09 09:28:46

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: Macbook Pro Mid 2015

Linux-lts will be supported for years till 2025 I do not know why 5.7 does not work and 5.4 works I am not a geek just user.
https://en.wikipedia.org/wiki/Linux_ker … on_history

LTS- Long Time Support smile

Last edited by VoDo (2020-08-09 09:33:49)


Archi3

Offline

#9 2020-08-10 05:58:30

archixxx
Member
Registered: 2012-10-17
Posts: 40

Re: Macbook Pro Mid 2015

There seems to be a general issue with kernel 5.7 and MacBook. Using "linux" package kernel 5.6.14 is the latest that works for me. No luck with 5.7 until now. Also see https://bbs.archlinux.org/viewtopic.php?id=257163 Maybe 5.8 might work again. Who knows ;-)

Offline

Board footer

Powered by FluxBB