Skip to content
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

Mesa broken on DragonFly #129

Closed
ghost opened this issue Oct 6, 2018 · 28 comments
Closed

Mesa broken on DragonFly #129

ghost opened this issue Oct 6, 2018 · 28 comments

Comments

@ghost
Copy link

ghost commented Oct 6, 2018

Hi!

After recent Mesa upgrade I get runtime error:

% mpv 242651.mp4
Playing: 242651.mp4
 (+) Video --vid=1 (*) (h264 720x480 20.000fps)
 (+) Audio --aid=1 (*) (aac 1ch 44100Hz)
i965: Failed to submit batchbuffer: Invalid argument
@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

seems related: NixOS/nixpkgs#41428
and lots of other google search results

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

either that, or mpv needs to be updated to follow ...

@ghost
Copy link
Author

ghost commented Oct 7, 2018

@jrmarino you better say that everything needs to be updated because I can't use ffmpeg

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

I think we need an understanding of exactly what is broken, if it will be fixed, etc. before we take any action. Right now I have no idea what's going on. As Reese said in the Terminator, "I didn't build the fucking thing".

If mesa 18.2 is broken across every platform (and that seems to be the case, many linux complaints) then mesa needs to fix it. I want to understand what's going before any kind of version drop though. If you provide some understanding, that would be helpful.

@ghost
Copy link
Author

ghost commented Oct 7, 2018

Ok, this is not a Ravenports's issue, but Mesa's. Setting LIBGL_ALWAYS_SOFTWARE to 1 made things only much slower.

@ghost ghost closed this as completed Oct 7, 2018
@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

don't close this, it looks like a real issue.

@ghost ghost reopened this Oct 7, 2018
@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

and are you on 18.2.1 or 18.2.2 ? I updated dragonfly with latest mesa today.

@ghost
Copy link
Author

ghost commented Oct 7, 2018

18.2.1, because it's the latest package available

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

crap, it looks like I forgot to upload the packages after building them. I'm on linux now (same machine) so I can't go back easily.

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

let's wait until I can get 18.2.2 uploaded and see if that fixes anything.

@ghost
Copy link
Author

ghost commented Oct 7, 2018

I need a better setup for memory to build such a bloated giant like Mesa, I need 32-64 GB of SWAP (currently I have only 8 GB of SWAP which gets eaten fast while building LLVM), for that purpose I have to reinstall DragonFly

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

okay, I finished with linux and now I just finished uploading the dragonfly packages I built this morning.

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

so update everything and let me know if mpv still malfunctions (mesa now on 18.2.2)

@ghost
Copy link
Author

ghost commented Oct 7, 2018

@jrmarino sure, I have to fetch them manually because pkg upgrade points to 18.2.1

@ghost
Copy link
Author

ghost commented Oct 7, 2018

Anyway, upgrading Mesa didn't help.

@ghost
Copy link
Author

ghost commented Oct 7, 2018

btw, I have a question: what's the point of ridiculously calling a directory "os:min_ver:arch" instead of "os" when you support only one architecture and provide the same packages for all OS versions? (seriously, without web browser I wouldn't figure out how ${ABI} expands)

@kraileth
Copy link
Collaborator

kraileth commented Oct 7, 2018

@jrmarino I've updated to current Mesa on FreeBSD and I'm not experiencing any issues so far. I've not tested mpv, yet, though.

@mazocomp This is a question of consistency. DF might only support one platform, but for FreeBSD and Linux at least ARM64 support is planned.

@jrmarino jrmarino closed this as completed Oct 7, 2018
@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

btw, I have a question: what's the point of ridiculously calling a directory "os:min_ver:arch" instead of "os" when you support only one architecture and provide the same packages for all OS versions? (seriously, without web browser I wouldn't figure out how ${ABI} expands)

The pkg(8) program does that, it's the pkg's constructed ABI.
When you call something "ridiculous" when you don't understand it, it makes you look dumb. Judgmental words like these should be used when there is complete understanding (e.g. expert level).
I'm guessing this trait has caused you issues in the past, so I'm point it out as a service to you. You might want to ease away from this.

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

so update everything and let me know if mpv still malfunctions (mesa now on 18.2.2)

I really screwed this update up. trying again.

@jrmarino jrmarino reopened this Oct 7, 2018
@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

It wants to rebuild 377 packages so it will be a while. I don't think I completely rebuilt this and uploaded a partial build.

@jrmarino jrmarino closed this as completed Oct 7, 2018
@jrmarino jrmarino reopened this Oct 7, 2018
@ghost
Copy link
Author

ghost commented Oct 7, 2018

well, "x86:64" looks really nice

@jrmarino
Copy link
Member

jrmarino commented Oct 7, 2018

The packages finally rebuilt, they were all the heavy ones. It's uploading now. I'm taking off, overwise I would have waited until the upload was complete.

@kraileth
Copy link
Collaborator

Is this solved and can be closed?

@jrmarino
Copy link
Member

I didn't add any patches. If it's fixed, the normal mesa upgrades fixed it.

@jrmarino
Copy link
Member

i would say the mpv test in the first post needs to be repeated (with success) before closing this.

@jrmarino
Copy link
Member

FYI, both dragonfly and freebsd repositories are up to date right now so official packages can be used to check.

@jrmarino
Copy link
Member

I downloaded an mp4 video and was able to watch it via mpv so I think we can close this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants