You are not logged in.

#76 2014-01-03 23:21:33

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

Meizirkki wrote:

My SD card reader is also 05ac:8406, Macbook Pro 11,2

I'm not at all certain it was the Mac that broke my card but I'd not risk a card with anything important on it. Fwiw mine was UHS-I tho only 16Gb.

Did you take a look at what dmesg said when you plugged the sd card in? Were there any errors? Does it say anything now, or not anymore?

Thanks,
uriah

Offline

#77 2014-01-04 02:00:41

Meizirkki
Member
Registered: 2013-12-11
Posts: 9

Re: Macbook Pro Late 2013 Retina

uriah wrote:
Meizirkki wrote:

My SD card reader is also 05ac:8406, Macbook Pro 11,2

I'm not at all certain it was the Mac that broke my card but I'd not risk a card with anything important on it. Fwiw mine was UHS-I tho only 16Gb.

Did you take a look at what dmesg said when you plugged the sd card in? Were there any errors? Does it say anything now, or not anymore?

Thanks,
uriah

I don't remember the dmesg output exactly as is was but there were no strange errors or anything. Iirc the reader detected a card but no info could be read from it. Fdisk froze when I tried to fix it. "dd if=/dev/zero of=/dev/sdb bs=1M" would never finish and return 0+0 records in/out if cancelled.

I can't test on linux right now, but symptoms are the same with every OS (and every reader): card is detected but partitioning tools freeze and no data goes in or out.

Offline

#78 2014-01-04 03:53:38

baronmog
Member
Registered: 2013-11-01
Posts: 58

Re: Macbook Pro Late 2013 Retina

Meizirkki wrote:

I can't test on linux right now, but symptoms are the same with every OS (and every reader): card is detected but partitioning tools freeze and no data goes in or out.

I wonder if the disk was already on its last legs.

Last edited by baronmog (2014-01-04 03:56:08)

Offline

#79 2014-01-04 06:06:43

Meizirkki
Member
Registered: 2013-12-11
Posts: 9

Re: Macbook Pro Late 2013 Retina

baronmog wrote:
Meizirkki wrote:

I can't test on linux right now, but symptoms are the same with every OS (and every reader): card is detected but partitioning tools freeze and no data goes in or out.

I wonder if the disk was already on its last legs.

Could be. The card was only a few months old but I used it as an "SSD" in my previous laptop, booting OS directly from it.

Last edited by Meizirkki (2014-01-04 06:08:00)

Offline

#80 2014-01-06 20:14:58

MaggotBrain
Member
Registered: 2010-03-08
Posts: 7

Re: Macbook Pro Late 2013 Retina

Hi guys, for anyone interested, I have found a way to enable HiDPI mode in gnome 3, to do so you need latest cairo-git from, and rebuild gtk3 from ABS.
I have spend two days searching for solution, it turned out that gnome 3 works in HiDPI mode only with latest cairo.
Hope it would help someone to.

aura -A cairo-git
aura -M gtk3

Have fun!

Last edited by MaggotBrain (2014-01-06 20:16:16)

Offline

#81 2014-01-06 22:03:25

ende42
Member
Registered: 2013-11-16
Posts: 14

Re: Macbook Pro Late 2013 Retina

uriah wrote:

Could you please post what lspci and lsusb tell you?

 % lspci
00:00.0 Host bridge: Intel Corporation Crystal Well DRAM Controller (rev 08)
00:01.0 PCI bridge: Intel Corporation Crystal Well PCI Express x16 Controller (rev 08)
00:01.1 PCI bridge: Intel Corporation Crystal Well PCI Express x8 Controller (rev 08)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fe9 (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
03:00.0 Network controller: Broadcom Corporation Device 43a0 (rev 03)
04:00.0 Multimedia controller: Broadcom Corporation Device 1570
05:00.0 SATA controller: Samsung Electronics Co Ltd Device 1600 (rev 01)
 % lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 05ac:8289 Apple, Inc. 
Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 003: ID 05ac:0263 Apple, Inc. Apple Internal Keyboard / Trackpad (MacBook Retina)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Offline

#82 2014-01-07 03:42:31

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

ende42 wrote:
 % lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 05ac:8289 Apple, Inc. 
Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 003: ID 05ac:0263 Apple, Inc. Apple Internal Keyboard / Trackpad (MacBook Retina)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

It looks like your SD card reader is different from ours... Might it be 05ac:8289? Can you check in OSX's System Information app to see what the vendor/product ID's are for your card reader please? Also, Have you had any luck getting your card reader working in linux?

Thanks,
uriah

Offline

#83 2014-01-08 23:13:00

Sc0rian
Member
Registered: 2014-01-06
Posts: 39

Re: Macbook Pro Late 2013 Retina

mine is running well. I am on 3.12 and things seem okay.

I added libata into grub but I was still experiencing terrible 3-5 second freezes which drove me mad. I set GRUB_CMDLINE_LINUX_DEFAULT="quiet rootflags=data=writeback" today, and change my fstab to defaults,noatime,discard,data=writeback, freezes seem to have gone away now.

On the resolutions I notice that all 16:10 are missing (e.g. 1920X1200) which is quite annoying. I made a little script on startup to force xrandr to 1920x1200 to get around the problem. I decided to do this over scaling since I couldn't get the scaling at a readable rate on cinnamon.

xrandr --newmode "1920x1200_60.00"  173.00  1920 2048 2248 2576  1200 1083 1088 1120 -hsync +vsync
xrandr --addmode eDP1 "1920x1200_60.00"
xrandr --output eDP1 --mode "1920x1200_60.00"

Not sure if newmode is needed, not really fuzzed, throw it together, it worked so left it.

I do quite often get graphic problems, were it seems when a window re-focuses it causes a graphic crash. I do run a external monitor through thunderbolt, which for the most part works okay. I do have to plug it in after I've fully booted up otherwise things mess up.

Bluetooth doesn't seem to work at all, and no mention of this in the wiki?

I look forward to this laptop getting better support in the kernel.

thanks to everyone who has put effort into documentation the 11,1 working on arch.

Last edited by Sc0rian (2014-01-08 23:14:47)

Offline

#84 2014-01-09 02:38:30

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

Sc0rian wrote:

mine is running well. I am on 3.12 and things seem okay.

I've also tested my card reader in systemrescuecd-4.0.0-beta004, works fine... Don't know what's wrong with ende42's card reader, but it doesn't even seem to be detected...

BTW, I'm on a Macbook Pro 11,1. Now, if only we could get NCQ working on our SSD's, that would be great. Related kernel bug report: https://bugzilla.kernel.org/show_bug.cgi?id=60731 ...They seem to want to just blacklist the SATA controller used by these SSD's, which is unfortunate.

uriah

Last edited by uriah (2014-01-09 02:42:33)

Offline

#85 2014-01-09 09:44:45

Sc0rian
Member
Registered: 2014-01-06
Posts: 39

Re: Macbook Pro Late 2013 Retina

agreed. thanks for the bug link uriah. That is odd, I have tested my sd card and it works okay here.

When my laptop resumes I notice a serious "hang issue". For a good 5 minutes everything seems to go very slow. I suspect SSD but can't be sure. I've tried watching iotop and top. My processor load does get high 5>. Normally because chrome restores with many tabs. But this shouldn't cause every application to almost stop responding. I've noticed after the 5 minutes has passed, I can close all my browser tabs and restore them quickly. It just seems come about upon boot or awake from sleep.

Not sure if this is related to the NCQ issue, but there are many issues on the kernel surrounding the SSD/NCQ. I also had to run the libata on my old retina 10,1 (ivybridge). Both my MBP's are 13" model.

Offline

#86 2014-01-09 16:32:55

ColinHarrington
Member
Registered: 2014-01-09
Posts: 1

Re: Macbook Pro Late 2013 Retina

Sc0rian wrote:

agreed. thanks for the bug link uriah. That is odd, I have tested my sd card and it works okay here.

When my laptop resumes I notice a serious "hang issue". For a good 5 minutes everything seems to go very slow. I suspect SSD but can't be sure. I've tried watching iotop and top. My processor load does get high 5>. Normally because chrome restores with many tabs. But this shouldn't cause every application to almost stop responding. I've noticed after the 5 minutes has passed, I can close all my browser tabs and restore them quickly. It just seems come about upon boot or awake from sleep.

Not sure if this is related to the NCQ issue, but there are many issues on the kernel surrounding the SSD/NCQ. I also had to run the libata on my old retina 10,1 (ivybridge). Both my MBP's are 13" model.

uraih, thanks for the bug link!

The first issue of dead hang for 15 seconds or so was solved for me by adding libata.force=noncq to my kernel params.

The second issue seems to be some sort of IO bottleneck.  I have a MacbookPro11,3 that is seeing lots of iowait upon boot and occasionally when updating.  Seems to be when there is a lot of parallell IO to the SSD.  iostat and iotop show lots of wait time but not much data.  This machine has the PCIe SSD card and I'm very interested in squashing this issue.  Every time I boot my machine is semi unresponsive for a couple minutes.  I see lots of IOwait and a high load average during this time.

The SSD is crazy fast when doing single operations.  I also notice a slowdown when doing updates.


$ sudo dd if=/dev/zero of=testFile bs=8M count=500
500+0 records in
500+0 records out
4194304000 bytes (4.2 GB) copied, 3.86195 s, 1.1 GB/s

Anyone have an idea what I do to debug this slowdown?  Let me know if anyone gets to the bottom of this.

Offline

#87 2014-01-09 23:28:19

Sc0rian
Member
Registered: 2014-01-06
Posts: 39

Re: Macbook Pro Late 2013 Retina

1.1 GB/s is good.  Mine is terrible.

4194304000 bytes (4.2 GB) copied, 5.21488 s, 804 MB/s
4194304000 bytes (4.2 GB) copied, 6.85686 s, 612 MB/s
4194304000 bytes (4.2 GB) copied, 6.92453 s, 606 MB/s
4194304000 bytes (4.2 GB) copied, 7.56114 s, 555 MB/s
4194304000 bytes (4.2 GB) copied, 7.52767 s, 557 MB/s
4194304000 bytes (4.2 GB) copied, 8.8324 s, 475 MB/s
4194304000 bytes (4.2 GB) copied, 7.0244 s, 597 MB/s

It seem to keep going down...

Oddly enough, I configured my GF's laptop to arch (exactly the same laptop), hers started at 813 MB/s and had the same steady decrease of speed to ~500 MB/s.

Colin you done any other mods other than libata?

Obviously a massive bottleneck here sad

Last edited by Sc0rian (2014-01-09 23:29:01)

Offline

#88 2014-01-10 00:34:55

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

Regarding the IO bottleneck, I wouldn't really know what might be causing it... A guess in the dark would be that since NCQ is disabled, there can be less commands made to the SSD at the same time (see http://en.wikipedia.org/wiki/Native_Com … ate_drives ), but I'm no expert on the matter. Perhaps filing a bug report on https://bugzilla.kernel.org might help. It might be related to the above bug report, but just in case I'd file a new report, and the kernel devs can mark them as duplicates later if someone figures out that it's the same issue.

Meanwhile, during the iowaits are there any signs of trouble in dmesg or anywhere else?

Thanks,
uriah

Offline

#89 2014-01-10 13:04:11

ende42
Member
Registered: 2013-11-16
Posts: 14

Re: Macbook Pro Late 2013 Retina

I don't have freezes at boot time. There are my kernel params:

root=UUID=b5e038e9-22d8-4f1f-951a-f47ed57acd4f libata.force=noncq video=vesa:off resume=/dev/sda5 resume_offset=56563712

Kernel 3.12.5.

On multiple runs of dd the SSD seems to get slower here… does any file system cache kick in while RAM is available? My first run looked like this:

 % dd if=/dev/zero of=testFile bs=8M count=500
500+0 records in
500+0 records out
4194304000 bytes (4.2 GB) copied, 2.13899 s, 2.0 GB/s

Then I increased the file size. After 2, 3 more runs it looks like this and stays like this:

 % dd if=/dev/zero of=testFile bs=8M count=2500
2500+0 records in
2500+0 records out
20971520000 bytes (21 GB) copied, 25.5953 s, 819 MB/s

Last edited by ende42 (2014-01-10 13:04:43)

Offline

#90 2014-01-10 17:25:51

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

ende42 wrote:

does any file system cache kick in while RAM is available?

that's a good question/point... it probably does and that could be the cause of the slow-down.

Offline

#91 2014-01-11 00:51:22

baronmog
Member
Registered: 2013-11-01
Posts: 58

Re: Macbook Pro Late 2013 Retina

Does anyone else see the "USB device: Card Reader (Apple)" (MBP 11,2)  listed in powertop as running at 100%, even after setting its power control setting to "auto?"

Last edited by baronmog (2014-01-11 22:27:28)

Offline

#92 2014-01-11 21:27:39

Sc0rian
Member
Registered: 2014-01-06
Posts: 39

Re: Macbook Pro Late 2013 Retina

yeah I have that too baronmog.

IO waits are really annoying. sad

Offline

#93 2014-01-14 03:08:14

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

Sc0rian wrote:

Bluetooth doesn't seem to work at all, and no mention of this in the wiki?

I am also having trouble with bluetooth... Although the debian wiki says it works fine: https://wiki.debian.org/InstallingDebia … okPro/11-1

The command `rfkill list bluetooth` displays hci0, but `hcitool dev` doesn't for some reason... Perhaps there isn't a driver in the kernel for it yet...

***EDIT: Turns out bluetooth works just fine here, you need the btusb module, and all I needed to do to see the device in `hcitool dev` was to run `hciconfig hci0 up`

Has anyone here gotten bluetooth working?

Thanks,
uriah

Last edited by uriah (2014-01-14 22:25:47)

Offline

#94 2014-01-14 23:37:28

bekos
Member
Registered: 2013-11-12
Posts: 6

Re: Macbook Pro Late 2013 Retina

ColinHarrington wrote:

The SSD is crazy fast when doing single operations.  I also notice a slowdown when doing updates.

I have the exact same problem. For some reason everything is slow when doing dist-upgrade.

ColinHarrington wrote:

They seem to want to just blacklist the SATA controller used by these SSD's, which is unfortunate.

No, it is not unfortunate, it is stupid. It should NOT be blacklisted. It should be fixed. This will essentially wreck the user experience for all new macbooks when running Linux. NCQ on my haswell macbook pro works fine on Windows 8.1 and MacOSX, I don't think it is a hardware issue. Blacklisting the controller will be a terrible mistake. Having that said, I have no idea what exactly is causing the problem!

Thank you,
George

Offline

#95 2014-01-17 11:00:45

Sc0rian
Member
Registered: 2014-01-06
Posts: 39

Re: Macbook Pro Late 2013 Retina

Update on graphic issues:

I'm running https://aur.archlinux.org/packages/xf86 … intel-git/ which does seem to have helped things. I don't see black lines or graphic problems at all and been able to play steam games...

Also no idea why 1920x1200 is missing, instead of doing it through xrandr which I posted above, I created /etc/X11/xorg.conf.d/10-monitor.conf

Section "Monitor"
  Identifier "Monitor0"
  Modeline "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync
EndSection
Section "Screen"
  Identifier "Screen0"
  Device "eDP1"
  Monitor "Monitor0"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Modes "1920x1200_60" "1920x1200"
  EndSubSection
EndSection

Laptop now always runs at 1920x1200 so am happy.


Also I got bluetooth to work. I had to write

rfkill unblock bluetooth
hciconfig hci0 reset

However, it doesnt seem very reliable. On a reboot Im trying to connect to my headphones again but bluetooth doesnt seem to be enabling. I can see it in  hcitool dev  but cannot get gnome to work with it now.. Arg

Last edited by Sc0rian (2014-01-17 18:18:22)

Offline

#96 2014-01-18 23:22:12

uriah
Member
Registered: 2014-01-03
Posts: 10

Re: Macbook Pro Late 2013 Retina

Ok, so I'm running kernel 3.13-rc8, and I've pretty much solved all of my issues except one: when I try to suspend to RAM, I can't wake up my MBP 11,1 because the keyboard/trackpad are turned off too! (Or at least that's what it seems like...)

Does anyone else have this issue? If so, how did you fix it? Should I go ahead and report this issue to the linux kernel bugzilla?

Thanks,
uriah

Offline

#97 2014-01-22 17:06:44

fixel
Member
Registered: 2009-03-27
Posts: 19

Re: Macbook Pro Late 2013 Retina

uriah wrote:

Ok, so I'm running kernel 3.13-rc8, and I've pretty much solved all of my issues except one: when I try to suspend to RAM, I can't wake up my MBP 11,1 because the keyboard/trackpad are turned off too! (Or at least that's what it seems like...)

Does anyone else have this issue? If so, how did you fix it? Should I go ahead and report this issue to the linux kernel bugzilla?

Thanks,
uriah

I assume that you're unable to wake from suspend when you've left the computer idle for a while. This is an idiotic, but working method: close the lid, the apple logo will flash, wait a few seconds, then open the lid. The screen will turn on after a few seconds.

Resume from suspend to RAM has been extremely slow for me, but has somehow quickened after a longer uptime. I'm hoping the stable release of 3.13 will help with my issues on sleep. I'm not really concerned with BT but I would love to be able to switch from the dedicated (11,3 here) to the integrated graphics card. Has anyone got that working ?

Uriah: would you mind taking a look at the wiki and adding what can be added from your working install?

EDIT: now with more explicicity!

Last edited by fixel (2014-01-22 17:08:06)

Offline

#98 2014-01-23 09:13:20

fixel
Member
Registered: 2009-03-27
Posts: 19

Re: Macbook Pro Late 2013 Retina

SOLVED, see bottom
============

I also figured out why I can't get graphics card switching to work... I can't detect the intel card...!? Anyone else with a 11,3 that's managed to get the intel card working properly?

EDIT:

Tried installing gfxCardStatus (2.2.1) on OS X and set it to integrated only. This results in no display at all during after grub. Am I missing kernel flags?

EDIT2:
tl;dr: hardware turned off by default by Apple's EFI settings and to turn on all hardware "apple_set_os" should be passed to grub to enable all hardware.

Found a thread on ubuntuforums (http://ubuntuforums.org/showthread.php?t=2195628) which eventually led to: http://lists.gnu.org/archive/html/grub- … 00442.html

I don't know if this patch has been merged. Has anyone had any idea if the patch can safely be applied to their git repo? (Presumably by using our PKGBUILD from AUR).

Otherwise, I think we'll have to stick with nvidia for the 11,3... sad

EDIT3:

I have succeeded in patching grub to allow for the above mentioned function "apple_set_os", lscpi now lists the card properly. I need a xorg.conf that works properly though.
The gentoo wiki has an entry with an example config, this one results in a segfault for me though... http://wiki.gentoo.org/wiki/Apple_Macbo … na#Display

Should be a matter of defining the correct PCI port for the screen, will be back after much work, if no-one has a quick fix?

EDIT4:

I solved it. Just download the grub-git package and add the patch mentioned above to the install, then reboot into your OS X installation and run gfxCardStatus 2.2.1 and set it to the integrated card. Reboot and use "apple_set_os" in grub (you can test it with the command prompt, press 'c').

The system will then recognize the card, and it will be turned on. No xorg.conf needed smile

Will add a better description to the wiki at a later point. Now to config!

Last edited by fixel (2014-01-23 17:06:33)

Offline

#99 2014-01-23 18:11:01

hephooey
Member
Registered: 2014-01-23
Posts: 2

Re: Macbook Pro Late 2013 Retina

fixel wrote:

SOLVED, see bottom
============

I also figured out why I can't get graphics card switching to work... I can't detect the intel card...!? Anyone else with a 11,3 that's managed to get the intel card working properly?

EDIT:

Tried installing gfxCardStatus (2.2.1) on OS X and set it to integrated only. This results in no display at all during after grub. Am I missing kernel flags?

EDIT2:
tl;dr: hardware turned off by default by Apple's EFI settings and to turn on all hardware "apple_set_os" should be passed to grub to enable all hardware.

Found a thread on ubuntuforums (http://ubuntuforums.org/showthread.php?t=2195628) which eventually led to: http://lists.gnu.org/archive/html/grub- … 00442.html

I don't know if this patch has been merged. Has anyone had any idea if the patch can safely be applied to their git repo? (Presumably by using our PKGBUILD from AUR).

Otherwise, I think we'll have to stick with nvidia for the 11,3... sad

EDIT3:

I have succeeded in patching grub to allow for the above mentioned function "apple_set_os", lscpi now lists the card properly. I need a xorg.conf that works properly though.
The gentoo wiki has an entry with an example config, this one results in a segfault for me though... http://wiki.gentoo.org/wiki/Apple_Macbo … na#Display

Should be a matter of defining the correct PCI port for the screen, will be back after much work, if no-one has a quick fix?

EDIT4:

I solved it. Just download the grub-git package and add the patch mentioned above to the install, then reboot into your OS X installation and run gfxCardStatus 2.2.1 and set it to the integrated card. Reboot and use "apple_set_os" in grub (you can test it with the command prompt, press 'c').

The system will then recognize the card, and it will be turned on. No xorg.conf needed smile

Will add a better description to the wiki at a later point. Now to config!

I used similar procedure to enable intel card, however it is quite furstrating I cannot connect external monitor with iGPU, appearantly the minidp ports are hardwired to the nvidia card. And I did not find a way to switch back to nvidia card without rebooting into OSX. This was a dealbreaker for me, so I returned it and bought a 11.2 instead.

Offline

#100 2014-01-27 10:21:04

Sc0rian
Member
Registered: 2014-01-06
Posts: 39

Re: Macbook Pro Late 2013 Retina

I don't understand why, but I seem to get mini freezes on my laptop.

When typing the laptop often hangs for 3-5seconds every now and then. It causes the text to stop and catch up, it also seems to only do it with external monitor connected. Although, this might just be down to me using it more often.

Anyone else had this? Its flipping annoying!

Offline

Board footer

Powered by FluxBB