helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
806 stars 58 forks source link

It gets stuck after ending FreeBSD loading on MacBook A1286 #334

Open louies0623 opened 2 years ago

louies0623 commented 2 years ago

Describe the bug It gets stuck after ending FreeBSD loading

To Reproduce Steps to reproduce the behavior:

  1. Open Power
  2. Click to Live Boot
  3. See error

Expected behavior Into the desktop.

Screenshots None

Version (please complete the following information):

Computer (please complete the following information):

Additional context None

probonopd commented 2 years ago

What does it show when it gets stuck? Any error message?

Can you interrupt the bootloader and enter at the OK prompt: unset boot_mute, then boot?

louies0623 commented 2 years ago

20211201_142038

probonopd commented 2 years ago

https://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-2-duo-2.8-aluminum-15-mid-2009-sd-unibody-specs.html:

This system has dual graphics processors -- a NVIDIA GeForce 9600M GT with 512 MB of dedicated GDDR3 SDRAM and a NVIDIA GeForce 9400M with 256 MB of DDR3 SDRAM shared with main memory.

Correct?

Maybe initgfx gets irritated by this?

It would be interesting to know whether NomadBSD works properly on this machine.

louies0623 commented 2 years ago

https://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-i7-2.66-aluminum-15-mid-2010-unibody-specs.html This.

probonopd commented 2 years ago

dual graphics processors -- a NVIDIA GeForce GT 330M with 512 MB of dedicated GDDR3 memory and Intel HD Graphics with 256 MB of RAM shared with the system

I suspect that initgfx does not deal with this dual graphics setup properly. But it is only a guess. Hence it would be interesting to know whether NomadBSD works properly on this machine. Could you give it a try?

louies0623 commented 2 years ago

I’ll give it a try, but when it comes to this, the devices I’ve also reported the problem recently are also dual graphics cards. https://github.com/helloSystem/ISO/issues/335#issue-1068398322

louies0623 commented 2 years ago

I have tried Intel x64 and Mac version but it doesn't work, Then this screen appears. 20211203_045519

reunitereclaim commented 2 years ago

This affects me also.

probonopd commented 2 years ago

it looks like the filesystem on the disk is corrupt for whatever reason: Automatic file system check failed: help!. Please try to reinstall and/or use a different disk.

louies0623 commented 1 year ago

On build 0.8 H77, it's stuck on a white screen with a cursor that doesn't move.

probonopd commented 1 year ago

There are some probes at the bottom of https://bsd-hardware.info/?id=pci:10de-0866-106b-00b1 whichs seem to suggest that people have been running helloSystem on GeForce 9400M (MCP79 chipset) based machines. But not sure how well the MCP79 is suported by FreeBSD.

louies0623 commented 1 year ago

20230119_173608 Now in version 0h277 still does not enter the desktop but there is an error notification sound.

probonopd commented 1 year ago

Build 0H277 is a FreeBSD 14-CURRENT based experimental build.

Please try a 13.1-RELEASE based build instead.

louies0623 commented 1 year ago

@probonopd

20230902_133823

The latest version 0.9.0 is still stuck.

20230902_173942

When using micro Sd card to start, it will get stuck here.

louies0623 commented 1 year ago

https://github.com/helloSystem/ISO/issues/335#issuecomment-1703822184 When using this version, there is welcome music at the end, but there is only a black screen and a white square.

louies0623 commented 1 year ago

Build 0I39 "boot-v" it get stuck here. 20230905_212854

louies0623 commented 1 year ago

@probonopd I tried it on Ghost BSD Live and it works fine, but there is no wireless network.

probonopd commented 1 year ago

If you can find out why it works there but not here we may be able to do something; but without access to the hardware I can't know the reason.

louies0623 commented 11 months ago

20230928_102058 I was trying to switch the screen to an external monitor to see if it would bring me to the desktop, but I accidentally pressed Ctrl-Alt-F1 used to switch to the text console, and then it was usable, and the touchpad was normal.

louies0623 commented 11 months ago

On NomadBSD that the GPU uses NVIDIA, but on Hello it uses i915. 20230928_111836 20230928_112309

20230928_112850

NVIDIA GeForce GT650, Intel HD Graphics 4000.

Ghost bsd 20230928_234758

probonopd commented 11 months ago

On NomadBSD that the GPU uses NVIDIA, but on Hello it uses i915.

Is this one of these machines that have a built in Intel GPU and also a Nvidia GPU, and that "somehow" is supposed to switch between them in software?

dual graphics processors -- a NVIDIA GeForce GT 330M with 512 MB of dedicated GDDR3 memory and Intel HD Graphics with 256 MB of RAM shared with the system

Yes, this seems to be the culprit. helloSystem does not know how to switch between the two GPUs.

Is this "NVIDIA Optimus" technology? Or something Apple proprietary? How can one switch the GPUs in FreeBSD?

louies0623 commented 11 months ago

Maybe need to look at NomadBSD and GhostBSD how they handle it.

Hardware Probes Nomadbsd https://bsd-hardware.info/?probe=cac0950717

ghostbsd https://bsd-hardware.info/?probe=b0aca42c84

louies0623 commented 11 months ago

@probonopd I uploaded the HW probe in text mode and should be able to find the problem https://bsd-hardware.info/?probe=9b9f826560