Coder Social home page Coder Social logo

Comments (9)

3405691582 avatar 3405691582 commented on August 23, 2024 4

This is now working as of recent releases, and with the same hardware, I can see U-Boot on the screen. Closing.

from m1n1.

leio avatar leio commented on August 23, 2024 1

proxyclient/tools/chainload.py -r path/to/stage2/m1n1.bin
provided you have the udev rules to get /dev/m1n1 and co symlinks for a stable ttyACM link (sometimes it's ttyACM0, sometimes ttyACM1). Or you can prepend or export M1N1DEVICE env var for what you have it on at the time iirc.
The udev rules can be seen at https://github.com/AsahiLinux/m1n1/blob/main/udev/80-m1n1.rules

At one point of time in earlier iterations, I also chainloaded stage2 twice to get the picture to light up - back when I didn't have any HDMI out supporting code in stage1 yet.

from m1n1.

jannau avatar jannau commented on August 23, 2024

According to the log everything work as expected:

TTY> display: connected:1 timing_cnt:35 color_cnt:10
TTY> display: timing mode: valid=1 1920x1080 60.00 Hz
TTY> display: color mode: valid=1 colorimetry=1 eotf=1 encoding=1 bpp=32

dcp has a connection to the display and will use 1 1920x1080 60.00 Hz as mode

TTY> display: swapped! (swap_id=0)
TTY> display: Modeset took 4425 ms
TTY> display: Sleeping DCP (external)
TTY> DCP: dcp_shutdown(sleep=true) is broken with dptx-port, quiesce instead
TTY> fb init: 1920x1080 (30) [s=1920] @0x9e5064000

m1n1 has set the framebuffer and reconfigured internally for 1920x1080 display.

What display is this? Does it support 1920x1080 60Hz as mode on other devices? It acts as if nothing is connected?

from m1n1.

3405691582 avatar 3405691582 commented on August 23, 2024

It's a HP 22cwa. In macOS, this works fine and is reported as 1920x1080 at 60Hz in System Settings, it behaves normally when driven by other devices and graphics cards, and this is a mode it supports in its published specifications.

When the device boots for m1n1, the attached display remains in sleep mode and doesn't power up.

from m1n1.

leio avatar leio commented on August 23, 2024

At least with earlier iterations of the M2 HDMI m1n1 patches, it needed both stage1 and stage2 to have the support to reliably turn it on. I still usually don't see picture from stage1 unless I did a warm reboot, though with a new monitor I'm not sure it's just not the monitor being slow to light up (haven't startup cycled much yet).

That is to ask for an additional data point - does it also not work if you chainload stage2 m1n1-1.4.3+ after a stage1 m1n1-1.4.3+?

from m1n1.

3405691582 avatar 3405691582 commented on August 23, 2024

does it also not work if you chainload stage2 m1n1-1.4.3+ after a stage1 m1n1-1.4.3+?

Let me report back. I can try and figure out how to do that, or do you have a quick reference for how I can chainload stage2 from the prompt?

from m1n1.

niggowai avatar niggowai commented on August 23, 2024

What version of m1n1 are you using in the 2nd stage?
I experienced Problems when running pacman -Syu last monday. The server didn't came up after an update and I wasn't at home...
After saving the data I reinstalled Asahi with the patched installer I used before. Asahi came up without problems but when I dated up, after a reboot, the same problem again. After another reinstall, with excluding m1n1 from the update, the reboot worked!

Tomorrow I'll try to track down the problem and open an issue to get the problem fixed.

You can try to use an older version, but then you may have to build m1n1 to support display on m2 Mac mini. If it helps, i can provide you the package I installed Asahi with.

from m1n1.

3405691582 avatar 3405691582 commented on August 23, 2024

Sorry for the delay. I tried to chainload an m1n1 stage2. By reading the wiki carefully, I assume that the same stage2 binary can be obtained from https://cdn.asahilinux.org/os/uefi-only-20231012-1.zip, essentially. Subsequently extracting at ../u and trying env M1N1DEVICE=/dev/ttyACM0 ./proxyclient/tools/chainload.py -r ../u/esp/m1n1/boot.bin did not yield any better results; the connection drops (presumably as this stage2 is "release" and drops proxy mode, or something), and the monitor didn't wake. If there's a better stage2 payload I can use, if you upload the blob somewhere, I can try that, otherwise I have to try and construct one myself.

In the meantime, I'll see if I can try with an alternate monitor.

from m1n1.

3405691582 avatar 3405691582 commented on August 23, 2024

HP 23xw and LG 27GP850-B also exhibited these symptoms.

from m1n1.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.