Hello . Can you help me find a movie?

I have seen a movie a long time ago.
I don’t remember exactly
There was a boy who was a composer.
He had made music that was strange or dangerous.
Then his ears bled for a while.
He also used drugs or pills.

The type and style of the main character of the movie was similar to Oliet in the “Mr Robot” series
He always wore a backpack

I think one of his friends took him to a party, where he played music as a DJ. Everyone had fun but he was shy.
I think he also met a girl. I am not sure

This was all my information. Do you know such a movie? help me please

enter the dangerous mind?