You are not logged in.
Hi everyone.
I’m playing with Arch Linux on my Macbook Air 3,2 and everything is fine.
WiFi Broadcom BCM43224 (rev 01) : ok.
NVIDIA MCP89 [GeForce 320M] (rev a2) : ok!
Bluetooth I don't know, I don't care...
Everything else also ok.
I’m not using NVidia proprietary driver right now, I’m still playing with Wayland, but Xorg and 3D acceleration work if you boot in “bios” mode with Lilo.
Install Lilo from AUR (tested with 24.0-3) on the “mbr*”, not on the boot (or root) linux partition and change preconfigured disks and partitions names (like /dev/sda) by by-id for whole disk and by-uuid for boot partition. Boot your Mac with “alt” key pressed and launch “Windows”, it starts an old VGA 640x480 mode. It’s the only way I’ve found to get proprietary driver (from extra) working.
For best performances (heat, battery, video playing, etc.) you have to use the proprietary driver, it’s a fact. Free drivers like nouveau or vesa use too much CPU.
But for now I’m testing Weston with Wayland only and xf86-video-nouveau, I like it very much, it is my basis system.
I’m using with success (xorg-server-xwayland installed) XFE, Qupzilla, Goldendict and from AUR Focuswriter, Quiterss and pommed-light. firefox-nightly (40.0a1) is working. I've tried xweston for my classical pekwm configuration but it doesn't respond well.
Hawaii (AUR git version) is fun but I don’t like.
Enlightenment (AUR wayland-git version), maybe it will work soon, I don’t know, I’m still on it. It does silly thing with backlight and I’m not able to launch any applications.
Arch Linux is very fun and have the most documented wiki of all time. A very happy surprise.
Edit: * even on a gpt partition, don't ask me why. The first time I've formated with msdos partition table but you don't have to. gpt is better and can handle a lot of partitions, 9 in my case. with msdos you're limited and you have to make hybrid gpt. I don't use Mac OS X, GNU/Linux only.
Update: I'm now with NVIDIA driver, Xorg and pekwm, everything is working fine. In lilo.conf don't forget to add:
initrd = /boot/initramfs-linux.img #or your custom initramfs
My lilo.conf:
# /etc/lilo.conf
### LILO global section ###
#large-memory
lba32
#boot = /dev/sda
boot = /dev/disk/by-id/ata-APPLE_SSD_TS256C_Z1HB601AK0YK
root = "UUID=f0aa6c9d-230b-4b20-8e5d-9202b885d8e4"
compact #add this to reduce boot time
map = /boot/map
install = menu #bmp works too
menu-scheme = Wb:Yr:Wb:Wb
prompt
timeout = 100
vga = normal #don't try "ask" and you're stuck with 640x480 anyway
#default = Linux
### LILO per-image section ###
image = /boot/vmlinuz-linux
label = "Linux"
#root = /dev/sda4
read-only
# restricted
# alias = 1
# optional
initrd = /boot/initramfs-linux.img
I have great performances with Stellarium but it's the only 3D program I use.
To boot other OS, install efi compliant boot loader, it will be the boot default. In my experience, you still have to boot with "alt" key and choose "Windows" to boot with lilo (and get access to the bios mode or I don't know how it works for kernel or nvidia card) but I have several OS and I've played with efibootmgr and REFind a lot, maybe it's possible to have lilo as boot default.
I confirm that Wayland doesn't work with nvidia driver! Also everything with framebuffer. It's pure VGA (or something like this).
Sorry if I say things in a silly way. I do things, I can't always explain how.
Last edited by magnetux (2015-05-13 12:17:06)
Offline
Obsolete, see below.
Last edited by magnetux (2015-05-13 12:09:45)
Offline
IMPORTANT!
You can forget everything I said about Lilo. Read this https://bbs.archlinux.org/viewtopic.php … 0#p1522950
In my case it's:
/etc/grub.d/01_enable_vga.conf
cat << EOF
setpci -s "00:17.0" 3e.b=8
setpci -s "02:00.0" 04.b=7
EOF
Ok, ok... But I found a way without reading something, only with a try and fail method!
Thank you very much fumfi and Arch Linux community.
Now I can really say that everything work like a charm, WiFi, NVidia, Webcam, ACPI, Touchpad, etc., everything but Bluetooth I haven't tested.
No need to have hybrid GPT partition scheme, full GPT is working. Follow wiki instructions about how to install Grub on EFI partition and don't forget xorg.conf tricks to disable NVidia logo and enable brightness handling.
Edit : you really can forget EVERYTHING I said!
Weston works with NVidia driver with fbdev-backend.so
In .config/weston.ini
[core]
backend=fbdev-backend.so
nouveau works too. Everything is working with this little trick in Grub.
What a wonderful day!
Last edited by magnetux (2015-05-13 12:26:21)
Offline
I'm trying this same/similar setup--dual-boot OSX and Arch on Macbook Air 3,2. Right now Xorg works but, I'm having the backlight problem when exiting Xorg to TTY. The suggested solution is to install Uvesafb.
Then I found your post with glowing confidence for using Wayland with proprietary Nvidia drivers.
Wayland requires Kernel Mode Setting, but KMS page has a warning about using KMS with Nvidia: "The proprietary NVIDIA and AMD Catalyst drivers do not support KMS. In order to use KMS you should replace them with open source drivers." And, KMS doesn't work with Uvesafb.
Before I go this route, I'd wish to be certain I understand you correctly. Are you using the proprietary Nvidia drivers with Wayland (seemingly contradicting the wiki)?
Last edited by xtian (2015-12-06 21:34:22)
Offline