-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on Pixel 6 #45
Comments
For screen issues you can try to press left and right buttons at the same time, it should reset the screen. For audio issues you can try to disable audio routing and see if that helps https://mysupport.razer.com/app/answers/detail/a_id/1875/~/why-does-the-audio-come-out-from-the-speaker-and-not-routed-to-the-headset%3F |
Still no joy I'm afraid, although If I disable audio routing, and use the openslES driver I do get a regular clicking noise while the app is connected, but nothing like the audio I should be getting. Pressing left and right at the same time has the same effect on the screen as any other button, as in, while I'm pressing them the screen refreshes briefly, but it freezes again straight away. |
I am seeing the same issues as @abayliss on Pixel 6 Pro. Even if I never get it working, it's rad that you're doing this. Thanks! |
I have the same problem with v1.0.6, but with v1.0.5 the screen works great. |
Issue is marked as stale since there has been no activity for two weeks. It will be automatically closed in 5 days. |
Any changes in the latest release? https://github.com/v3rm0n/m8c-android/releases/tag/v1.0.17 |
I'm also getting this on 6a. Same exact behavior. I also cannot get audio to work. I have tried various combinations of audio settings and output devices and don't hear anything. Also have the same screen refresh issues. No updates unless buttons are pressed which means the visualizer doesn't work. |
I just tried v1.0.17 and have the same problem. I noticed that the number of audio devices has diminished, but I cannot get the audio from M8. |
Issue is marked as stale since there has been no activity for two weeks. It will be automatically closed in 5 days. |
Just a heads up: I don't have a Pixel so it would be great if somebody else can look into it. |
This is something I had wanted to look into, but I haven't had a lot of free time lately. |
I actually managed to get into the same situation by putting the app in the background and resuming it so I refactored the code a bit to fix the resume issue, it might do something for the Pixel as well but probably not. Just in case I also added a new Advanced setting in the preferences for Idle ms. You can try to change this value from the default of 0 to 1 or something else to see if it changes anything. Probably 10 is the highest value to go to. |
Not seeing any change with 6a and the new release. Fiddled with Idle ms and didn't notice much. |
Issue is marked as stale since there has been no activity for two weeks. It will be automatically closed in 5 days. |
I'm on the Pixel 7 (Android 13) and running into the same issues described above. No screen refresh and no audio out. Is there any way to share some debug logs? |
Still not working with version 1.0.32 unfortunately. If there's anything I can do to help you debug, just send me a message! :) |
Hi all, can confirm that im getting the same refresh and audio issues on a pixel 7a with v1.0.45. Tis a shame, but I definitely can't complain with all the hard work that goes into any of this free community stuff! |
All right, I'm going to try to debug this this weekend. At least try to collate info. As I mentioned above, I have a phone that reproduces this. |
(i have an actual m8 and so i don't use headless much anymore, but I feel for folks who only have headless available!) |
To be fair, there are so many options for M8 Headless that it isn't a game changing problem, but the android solution is by far the lowest component count of all the portable headless solutions so it is definitely appealing. Here's some info on what I have tried so far:
So far, no changes. The issues I see are the same as reported above, there is no audio, and the screen only refreshes upon a button press. good luck! |
If you need any help debugging, I have a Pixel 7 Pro where I can test the app! |
Debugging, I'm hitting the "Buffer underflow" debug print in Here are the devices I have in the list (3 of them share the same name, which is messy):
Then, after a few seconds I hit a repeated breakpoint because it's receiving "SIGBUS" (illegal address). The stack trace for this appears to be inconsistent and also not user code, so I'm not sure how helpful it is (presumably the error is happening elsewhere and only manifesting later). Maybe something like valgrind would catch the issue better, if that's something that can be done with Android/JNI. |
The
If I hit continue it hits this:
|
https://github.com/laamaa/m8c/blob/9d70859ec2d75be67e2e80b04fb1f5b85b371737/src/usb_audio.c#L24 - here's the underflow bit I'm referring to, for reference. |
The return code of |
I've instrumented libusb logging and have received the error message: |
This might be related? libusb/libusb#1164 |
@viviicat Thanks for diving into this. Looks like the issue lies in libusb compatibility with the Pixel? |
I think this PR will not make a difference since it's only about device discovery, which currently can only be done from JVM code. Just in case though I quickly threw together a version that uses this PR https://github.com/v3rm0n/m8c-android/actions/runs/7330220947 Try the artifact and see if there's any difference. |
@v3rm0n Thanks for the build! The UI now refreshes like it should (v47 still does not refresh). Unfortunately, I'm getting no audio. I've tried all combinations of audio drivers and interfaces. It would be great if someone could confirm this so we know it's not user error. |
I won't be able to verify this until next week myself, as i am away from my teensy |
Tested v48 on my Pixel 7a today, I found that the screen refresh was still a problem. One time when I loaded the app up the screen refreshed very intermittently, but after that time I was never able to recreate this, it simply wouldnt refresh without a button press. Audio still appears not to be working |
+1 here on Pixel Fold (similar generation to 7a) using v48 - no audio. Also, I no longer see "m8" USB audio device option (only 2x "Pixel Fold" devices) - I did before (with #45 (comment)), and speculate my phone is the cause since the v48 binary is the same as the artifact from your comment earlier. I set up wireless debugging in Android Studio and saw a couple messages. I ran main 802c024, managed to attach & debug, watched logcat, and saw the following warnings:
m8c-android_issues_45-pixelfold_logcat.txt UPDATE: I see Auto Screen Refresh of the headless m8 now, after I 1) manually launch, 2) attach and debug, then 3) detach .. via stop (just the Java side, I believe, not the Native process). Re-attaching keeps the Auto Refresh going. I estimate FPS to be between 0.5 and 4. |
I checked on s23 ultra, everything works fine except audio. |
Checked again, audio working! Just need to change audio input. |
I'm having several issues getting this working on my Pixel 6 (on Android 13, fully up-to-date).
The app opens, I can connect to the Teensy and the display shows, but it only actually updates while I'm pressing a button. For example, if I press play, the waveform at the top shows, but then freezes. If I scroll around the interface, the waveform updates briefly as the cursor moves but then freezes again.
I've also not been able to get audio working at all, and I'm pretty sure I've tried all the available combinations of device and driver. I get no error messages, just no audio. When choosing the audio device, am I meant to be choosing the input device (the M8), or the output device? I get a list of 3 "Pixel 6" devices and one "USB-Audio - M8", although this last one only appears after I've connected to the M8 once, then closed and reopened the app.
The text was updated successfully, but these errors were encountered: