N2 for DJing on NON-Intel

Post Reply
User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

N2 for DJing on NON-Intel

Post by CoolGames » Wed Mar 04, 2020 10:48 pm

Let the MUSIC play !

I am happy with the Odroid N2 4GB EXCEPT I am waiting for later builds of Ubuntu
for DJ Mixxx to be running faster.

Also I am unable to watch Audacity capture vinyl using Audio Technica LP-120 X USB turntable that is sold
everywhere.
I suspect the issue is USB is single I/O multiplexed and video is not accelerated.

Is there a USB 3.0 option board that has separate USB ports ?
Three of the four ports are in use for Wifi, BT, and 2.4 ghz keyboard mouse dongle.

I also added Akai MPK mini play Midi keyboard and Numark Party Mix Midi controller with dual stereo audio.

Specs indicat it handle the CPU load but USB I/O is inadequate.

See it on streaming Win 10 Intel here ->

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: N2 for DJing on NON-Intel

Post by CoolGames » Thu Mar 05, 2020 2:01 am

OK, so now it is working !?

Sound out DEFAULT (audio jack) playing with working Volume Control in XFCE4 panel widget.

Writing this reply with out hang on ETH0 connection.
Buffering is way behind display but uninterrupted.
I'll need to redo as I don't know what happened when I stopped when sound ended but
sampled wave was still filling in.

I saved it and will look at redo to compare with odd behavior observed.

Trick may have been using USB 2.0 on OTG instead of USB 2.0 device on USB3.1 N2 connection.

Code: Select all

$ lsusb
Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. 
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 08bb:29c0 Texas Instruments PCM2900C Audio CODEC
Bus 001 Device 011: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 001 Device 008: ID 09e8:0044 AKAI  Professional M.I. Corp. 
Bus 001 Device 007: ID 15e4:0038 Numark 
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 3938:1032  
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: N2 for DJing on NON-Intel

Post by CoolGames » Sun Mar 15, 2020 3:13 am

If anyone is also exploring this app then be sure to read about WAYLAND here

I am still struggling with audio as my other post at Re: Debian/Ubuntu Netboot Installer
Post by CoolGames » Sat Mar 14, 2020 12:03 pm


New problem I am starting to pursue is

Code: Select all

$ mixxx -platform xcb
Segmentation fault (core dumped)
I notice there is no snd-seq module so now this behemoth PATCH.txt effort

User avatar
tobetter
Posts: 5113
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 161 times
Been thanked: 509 times
Contact:

Re: N2 for DJing on NON-Intel

Post by tobetter » Sun Mar 15, 2020 9:20 pm

CoolGames wrote:
Sun Mar 15, 2020 3:13 am
If anyone is also exploring this app then be sure to read about WAYLAND here

I am still struggling with audio as my other post at Re: Debian/Ubuntu Netboot Installer
Post by CoolGames » Sat Mar 14, 2020 12:03 pm


New problem I am starting to pursue is

Code: Select all

$ mixxx -platform xcb
Segmentation fault (core dumped)
I notice there is no snd-seq module so now this behemoth PATCH.txt effort
I am wondering if you need Wayland support to run mixx. I've read the link about Wayland issue for mixxx and if you do not need very high-performance graphics, you could ignore installing the package mali-bifrost-wayland-driver and this will let you run the desktop but the graphics would be a bit slow but kinda ok.

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: N2 for DJing on NON-Intel

Post by CoolGames » Mon Mar 16, 2020 8:16 am

I will use Mixxx in what ever way it works without "patches".
It is not a priority.
I have determined that Mixxx is less popular for end users and developers so not worth stressing over.
It can wait.
More important to get your work tested than distracting with my vision.

I like the N2 on attached monitor near the couch sitting on the arm as alternative to hot laptop.
The coffee table is my sandbox and a laptop restricts movement and is uncomfortable .

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: N2 for DJing on NON-Intel

Post by CoolGames » Mon May 11, 2020 11:16 pm

I am writing this reply using Android 9 pico and running Google Chrome from Play Store
using USB RF keyboard and mouse on the OTG micro USB 2.0 to avoid speed issues in USB 3.0 hub
and Bose Build Cube connected to headphone jack (I2C in settings) to play music with light show with out involving TV sound.




Screenshot_20200511-101426.png
Chrome on Odroid N2 in forums
Screenshot_20200511-101426.png (281.83 KiB) Viewed 305 times
tobetter wrote:
Sun Mar 15, 2020 9:20 pm
CoolGames wrote:
Sun Mar 15, 2020 3:13 am
If anyone is also exploring this app then be sure to read about WAYLAND here

I am still struggling with audio as my other post at Re: Debian/Ubuntu Netboot Installer
Post by CoolGames » Sat Mar 14, 2020 12:03 pm


New problem I am starting to pursue is

Code: Select all

$ mixxx -platform xcb
Segmentation fault (core dumped)
This problem went away but...

I notice there is no snd-seq module so now this behemoth PATCH.txt effort

Update for all readers...


I tried Ubuntu 20.04 server version from work in process then added Mali-Wayland-Bifrost and installed Ubuntu Studio Desktop to get as many packages to test as possible.
The audio was a disaster when Meson64 DTB was used and Meson G12 DTB was what software was expecting.
dmesg showed errors (-22) meaning that wrong arguments being passed thus confirming this suspicion.

I am now trying the Odroid N2 with latest Android 9 with Play Store installed booting from Samsung EVO 32 GB uSD.
Wallpaper seems incorrectly centered so using Image 2 Wallpaper to shift 1920 x 1080 left to visually center.



As far as graphics issues...

I am planning to find a DJ mix app that works with the Android 9 in tablet mode though most in Play store warn of possible incompatibility.
Since Odroid N2 has no multi touch when used with keyboard mouse I expect issues.
I already see apps opening in portrait as though on a cell phone.
Also I expect performance hits thus my interest in getting Ubuntu Studio 20.04 running.

tobetter wrote:
Sun Mar 15, 2020 9:20 pm
I am wondering if you need Wayland support to run mixx. I've read the link about Wayland issue for mixxx and if you do not need very high-performance graphics, you could ignore installing the package mali-bifrost-wayland-driver and this will let you run the desktop but the graphics would be a bit slow but kinda ok.

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

[SOLVED !?] N2 for DJing on NON-Intel

Post by CoolGames » Fri May 15, 2020 5:20 am

Success !

Ubuntu without Wayland on 20.04 running Mixxx

tobetter wrote:
Sun Mar 15, 2020 9:20 pm
I am wondering if you need Wayland support to run mixx. I've read the link about Wayland issue for mixxx and if you do not need very high-performance graphics, you could ignore installing the package mali-bifrost-wayland-driver and this will let you run the desktop but the graphics would be a bit slow but kinda ok.
Mixxx sound outputs are two external stereo connections through Numark Party Mix MIDI controller.

Mixxx controls required the addition of
Numark-Party-Mix with Lights.zip
Patch from Mixxx forum
(3.32 KiB) Downloaded 4 times


Mixx U - Screenshot from 2020-05-15 09-27-10.png
Here it is playing music !
Mixx U - Screenshot from 2020-05-15 09-27-10.png (1.41 MiB) Viewed 216 times


If you been watching this project evolve then this is a measure of success.

I really appreciate @tobetter 's work in progress

Hope you all get to hear the music when everything is connected together and works for you as well


User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

MALI issues - Re: N2 for DJing on NON-Intel

Post by CoolGames » Fri May 22, 2020 2:36 am

System working without in development FBDEV driver
tobetter wrote:
Thu May 21, 2020 9:31 pm
Can you please test with other OS image or the Petitboot if you can have a video signal with your TV?
As you had seen the log, your board failed to get display info which would not display anything to your TV.
Please let me know if other OS works.
CoolGames wrote:
Fri May 22, 2020 2:07 am
tobetter wrote:
Thu May 21, 2020 9:31 pm
Can you please test with other OS image or the Petitboot if you can have a video signal with your TV? As you had seen the log, your board failed to get display info which would not display anything to your TV. Please let me know if other OS works.
I tried to post before switching to SD with Android 9 20200520 but don't see that it submitted.
Then I again tried to submit with Android 9 Chrome and it also never succeeded so I may have exited too quickly to reboot as alternate OS.

Anyway,
Android 9 on SD works best with eMMC with non-wayland 20.04 removed and switch to MMC not SPI.
It hangs if eMMC present and use Petitboot to select Android 9.

I also observed that SPI switched for PB-EVENT install and then boot causes the loss of sync and display as I just booted eMMC 20.04 as it should with switch MMC after above SD removed.

It may be a non issue.

I am using without mali-bifrost for now to be able to learn Mixxx.
Mixxx is really fast analyzing music when loading as it finds beat and measures.
Numark controller is very responsive and no delay in display.

The PB-EVENT netboot install makes life so much easier to restart to isolate testing scenarios step by step.

I can try another OS next pass if that is needed because SPI/MMC switch is suspect and needs to be verified as reason for loss of signal and display.

Again, thanks @tobetter for all you are doing and have done.

Lee
Now let's help isolate FBDEV issues on working system

Code: Select all

$ sudo apt install mali-bifrost-fbdev-driver
REBOOT with switch in MMC position

Login hangs and using CTL ALT F1 F2 F3 helps find and regain control.
I observe greeter and found it was a second effort and can be identified by lack of DESKTOP selector.
Eventually I found the active DESKTOP that never took control of HDTV like before MALI-BIFROST was installed.

Now Mixx is broken but message may help point to a place to look for the issue's cause.
Looks like a related message.

Code: Select all

$ mixxx
==>[ERROR] (mixxx) EGL: In file: egl/src/winsys/linux/mali_egl_winsys_fbdev.c  line: 195 do_ioctl
ioctl() encountered an unexpected error: 0x10
Aborted (core dumped)

User avatar
tobetter
Posts: 5113
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 161 times
Been thanked: 509 times
Contact:

Re: N2 for DJing on NON-Intel

Post by tobetter » Fri May 22, 2020 10:28 am

Well, are you seeing I am sweating? Hard to catch you up...it's a bit different world what you are doing. But I am trying to read and understand.... :D

User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: N2 for DJing on NON-Intel

Post by CoolGames » Sat May 23, 2020 10:35 pm

tobetter wrote:
Fri May 22, 2020 10:28 am
Well, are you seeing I am sweating? Hard to catch you up...it's a bit different world what you are doing. But I am trying to read and understand.... :D
I started another thread in issues when trying to switch to pxeboot installation.
There is a zip of syslog and dmesg from attempts.

Over here on DJ status I have Mate minimal with odroid-alsa and mixxx working well.
I saw multiple occurrences of greeter (gdm3) and desktop was unstable with meson-bifrost-wayland
as though status indicated no active user so login was available
so I restarted with this known good that has issues with signal and sync.

FYI, image.gz also loses display but has sync.
I expect it has to do with HDTV 1080p and maybe same as 4K issues elsewhere.
My uninformed guess is there needs to be dialog at boot maybe EDID to accurately set frequencies for lock up of sync and display.
my expertise is in television so I will pursue an answer from that direction.
I can try to find specs for native and make a working X config if that ends up being the cause.

I can use working Mate non-wayland to evaluate what is happening.

Still, as always don't sweat this small stuff as others maybe can chip in and help.
We are close to having a working system that meets both our needs although mine may be less popular audience.


The longer range is Plasma desktop on Amlogic Odroid N2 able to run Mixxx on Ubuntu Studio 20.10.
I am starting to see the features of Mixxx in real time audio processing with intensive graphics updating working on the N2 without bifrost or wayland.
I have Ubuntu Studio 20.04 with low latency running System76 drivers on the System 76 Lemur I7 laptop
(cglemur in NFS) running on 6500U Intel with integrated Intel® HD Graphics 520 gpu.

System76 on Github buys hardware
and writes LINUX only Open Source POP! OS Desktop software
so it has same obstacles as Linux on Amlogic Odroid


I will be doing benchmark and explore it's configuration to see why it works with the Insignia 1080p's HDMI2
(same consumer HDTV) without same sync/display failure.



User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Looking for EDID Re: N2 for DJing on NON-Intel

Post by CoolGames » Sun May 24, 2020 1:13 am

Who is EDID ?
Where does it come from ?


More like what is EDID !
https://en.wikipedia.org/wiki/Extended_Display_Identification_Data wrote:
Extended Display Identification Data (EDID) is a metadata format for display devices to describe their capabilities to a video source (e.g. graphics card or set-top box).
The data format is defined by a standard published by the Video Electronics Standards Association (VESA).
I am comparing my System 76 laptop running same Ubuntu 20.04 and connected
to same external Best Buy Insignia 1080p HDTV as Odroid N2.

Attached are the text files with and with out HDTV connected to isolate the data from laptop display.
EDID_Lemur.txt
External Best Buy 21.5 inch 1080p display (BBY)
(5.35 KiB) Downloaded 3 times

Installed were read-edid and edid-decode and used command line similar to this to create the files.
EDID_Lemur_LCD.txt
Internal laptop display
(2.24 KiB) Downloaded 3 times

Code: Select all

$ sudo get-edid | edid-decode > /dev/null
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 2
No EDID on bus 3
No EDID on bus 5
3 potential busses found: 0 1 4
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
Bus 0 doesn't really have an EDID...
256-byte EDID successfully retrieved from i2c bus 1
If this isn't the EDID you were looking for, consider the other potential busses.
Looks like i2c was successful. Have a good day.
Same command on Odroid N2 with Mate minimal and no bifrost / wayland drivers installed.
If anyone is reading this on working (or not syncing) system try the same command and post text file in reply.

Missing in action !

Code: Select all

$ sudo get-edid | edid-decode > /dev/null
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Looks like no busses have an EDID. Sorry!
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <pyrophobicman@gmail.com>.
EDID extract of 'stdin' failed



If only I understood KMS language !
Insignia 22 - 5878707_sa.jpg
Insignia Best Buy TV as laptop and Odroid N2 display
Insignia 22 - 5878707_sa.jpg (10.7 KiB) Viewed 109 times
Insignia 22 - User Guide.pdf
Best Buy user guide for reference
(4.17 MiB) Downloaded 3 times

Kernel Mode Setting (KMS) is a method for setting
display resolution and depth in the kernel space rather than user space.


Insignia  - Screenshot at 2020-05-23 12-36-45.png
Grab from user guide Page 36
Insignia - Screenshot at 2020-05-23 12-36-45.png (37.66 KiB) Viewed 109 times
[/size]



Forcing modes and EDID
If your native resolution is not automatically configured or no display at all is detected,
then your monitor might send none or just a skewed EDID file.
The kernel will try to catch this case and will set one of the most typical resolutions.


User avatar
CoolGames
Posts: 55
Joined: Sun Nov 24, 2019 3:07 am
languages_spoken: english
ODROIDs: Dec 25 N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

HDMI CEC & DTS - Re: N2 for DJing on NON-Intel

Post by CoolGames » Sun May 24, 2020 2:33 am

Just when you thought it was safe to watch TV !

Your TV is watching you !

This is what it takes for developing an
ideal OPEN SOURCE interactive entertainment system !


Topics to consider are found in your display's user manual on the specifications page.

Insignia Specs - Screenshot at 2020-05-23 12-59-25.png
Page 73 of Insignia NS22D describing specs.
Insignia Specs - Screenshot at 2020-05-23 12-59-25.png (135.35 KiB) Viewed 108 times

HDMI CEC controls both display and device with one remote
Consumer Electronics Control (CEC) is a feature of HDMI designed to control HDMI connected devices[1][2] by using only one remote controller;
so, individual CEC enabled devices can command and control each other without user intervention,
for up to 15 devices.[3]:§CEC-3.1 For example, a television set remote controller can also control a set-top box and a DVD player.
My plan is to use the MIDI controller for all the remote functions at first then later use another wireless on Odroid N2 as a wandering remote !



Then add DTS sound !
OUR PASSION FOR INNOVATION HAS NO LIMITS
Since 1993, DTS has been dedicated to making the world sound better.
and plan for the future !
The MIDI Association’s mission is to nurture an inclusive global community of people who create music and art with MIDI.
MIDI 2.0 - Screenshot at 2020-05-23 13-18-13.png
Coming soon - Bigger, Better, Faster ...
MIDI 2.0 - Screenshot at 2020-05-23 13-18-13.png (107.56 KiB) Viewed 108 times
MIDI 2.0 Means Two-way MIDI Conversations

MIDI 1.0 messages went in one direction: from a transmitter to a receiver. MIDI 2.0 is bi-directional and changes MIDI from a monologue to a dialog.

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 1 guest