Stack trace could not be displayed. See the latest crash report generated in Editor Log by clicking the "Go to crash logs" button

I am a new Linux user. I downloaded linux on my new laptop, specifically pop OS. I installed unity hub through the pop store and when I try to open any project the GUI interface appears but then unity crashes and gives me the error in the title. I am using integrated graphics. any help is appreciated

OK so I got it figured out, the thing was that the version i was using unity 2022 or smth wasnt compatible but 2021 works