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

0.13 #1162

Closed
ddevault opened this issue Apr 10, 2017 · 22 comments
Closed

0.13 #1162

ddevault opened this issue Apr 10, 2017 · 22 comments

Comments

@ddevault
Copy link
Contributor

Over the next few weeks I'll start putting together 0.13 rc's and breaking ground on wlroots. Would appreciate some volunteers with nvidia hardware testing out wlc's new proprietary driver support in the meantime. If you have any new features to include in 0.13, now is the time.

@4e554c4c
Copy link
Contributor

Will proprietary nvidia driver support be included in wlroots?

@ddevault
Copy link
Contributor Author

Unlikely.

@WhyNotHugo
Copy link
Contributor

I hope this helps; logs using 0.12 and the latest master (mislabeled 0.13 there, I just realized).

https://gist.github.com/hobarrera/c4b317677db8a8a07d31aea58163b1cc

I just used the same settings I use for testing on my other machine (Intel-based video).

@WhyNotHugo
Copy link
Contributor

I updated the gist and also added the output of running latest master with the default config file, just in case.

@ddevault
Copy link
Contributor Author

Logs aren't necessary, just tell us about your experience with the proprietary driver and sway. Did everything work as expected?

@WhyNotHugo
Copy link
Contributor

Sorry, I should have clarified that: it did not start at all (exited immediately, no black screen or weird stuff). That's why I included the logs.

@4e554c4c
Copy link
Contributor

@hobarrera See #1147. Nvidia support is not yet merged and in order to test it you will have to build from the nvidia-support branch. Other things may have to be done to make it work as well, such as enabling the experimental DRM KMS driver, see nvidia's release notes.

@WhyNotHugo
Copy link
Contributor

Running the nvidia-support branch had similar results. I can't try enabling DRM/KMS, because linux 4.10 and nvidia-378.13 are known to crash with it enabled, so I'll have to wait until that clears.

Oddly, I'm seeing this in the logs, even though I ran sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway (also ran it with -v to verify the caps were okay):

[main.c:174] !! DANGER !! Sway does not have CAP_SYS_PTRACE and cannot enforce security rules for processes running as other users.

Regrettably, until enabling DRM on nvidia actually works without crashing the kernel, I can't try much more. :(

@ddevault
Copy link
Contributor Author

nvidia-support is not required, just an up to date wlc and the KMS drivers.

@WhyNotHugo
Copy link
Contributor

My last test was done with wlc-ga7a3db8 and sway-179f6a5.

I'll try enabling KMS, but it's know to freeze/crash on the latest nvidia driver/kernel, so no promises.

@ddevault
Copy link
Contributor Author

I'll try enabling KMS, but it's know to freeze/crash on the latest nvidia driver/kernel, so no promises.

Well, it's required to use wayland on nvidia, so

@WhyNotHugo
Copy link
Contributor

WhyNotHugo commented Apr 11, 2017

It works, and I'm posting from firefox via sway on nvidia. Also watched a single youtube video on firefox.

I tested a few apps, and the only thing I noticed failing was mpv (which works under intel).

It just doesn't render anything (eg: the tile for it is transparent and I see my background), but it does have audio. The log just shows:

[vo/opengl] after rendering: OpenGL error INVALID_FRAMEBUFFER_OPERATION.

@DmitryHetman
Copy link

mpv supports wayland natively. If it doesn't work try to launch it with xwayland.

@ddevault
Copy link
Contributor Author

0.13-rc1 has been released, please test it. Working on the changelog now.

@ddevault
Copy link
Contributor Author

ddevault commented Apr 18, 2017

This release contains 102 changes from 12 contributors. New features include support for i3's marks feature, "immediate" criteria commands, and experimental support for the nvidia proprietary driver. Many small improvements to i3 compatibility and many bugfixes are also included.

For nvidia users, nouveau is still strongly recommended. The proprietary driver mostly works, but is unsupported - do not report bugs unless you attach a patch. Unless your hardware is unsupported by nouveau, you should continue using nouveau. Using sway with the proprietary drivers requires additional configuration - sway will output the necessary information if you attempt it without a correct configuration.

Package maintainers: please update your packages to use -DVERSION=major.minor.patch. Normally the version is sourced from git, but if you build from a tarball then you'll have to specify it manually.

Changes

New features

Bugs fixed

@JerziKaminsky
Copy link
Contributor

@SirCmpwn , I'm about to submit an update to the policy validation thing as soon as #1184 is merged. I found an issue.

@4e554c4c
Copy link
Contributor

Not to be picky, but shouldn't marks also be in the "New Features" section?

@ddevault
Copy link
Contributor Author

Thanks for pointing that out, @4e554c4c.

@ddevault
Copy link
Contributor Author

0.13-rc2 would be released today, but there are no changes. I don't feel comfortable releasing 0.13 yet so we're going to delay rc2 another week.

@ddevault
Copy link
Contributor Author

ddevault commented May 1, 2017

0.13-rc3 is out, please test it: https://github.com/SirCmpwn/sway/releases/tag/0.13-rc3

@ddevault
Copy link
Contributor Author

ddevault commented May 1, 2017

Changelog updated.

@ddevault
Copy link
Contributor Author

ddevault commented May 8, 2017

0.13.0 has been released: https://github.com/SirCmpwn/sway/releases/tag/0.13.0

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

No branches or pull requests

5 participants