4 ms·
Which NVIDIA graphics card do you own? I’m surprised Sway doesn’t support certain graphics cards. I believe the goal of wlroots is to solve this problem: > wl
by dmix 7y ago
Which NVIDIA graphics card do you own? I’m surprised Sway doesn’t support certain graphics cards.
I believe the goal of wlroots is to solve this problem:
> wlroots provides backends that abstract the underlying display and input hardware
https://github.com/swaywm/wlroots https://github.com/swaywm/wlroots
- cwyers 7y agoNvidia's drive doesn't support the GBM API on Linux, and the maintainer of Sway doesn't want to support Nvidia's preferred EGLStreams API.
- Boulth 7y agoSway generally doesn't support NVIDIA, or it's rather NVIDIA that doesn't support common kernel modes that Wayland needs. Details here: https://drewdevault.com/2017/10/26/Fuck-you-nvidia.html https://drewdevault.com/2017/10/26/Fuck-you-nvidia.html
- dmix 7y ago> Every GPU vendor but Nvidia supports these APIs. > About a year ago Nvidia announced “Wayland support” for their proprietary driver. This included KMS and DRM support (years late, I might add), but not GBM support. They shipped something called EGLStreams instead, a concept that had been discussed and shot down by the Linux graphics development community before. That’s pretty damning for Nvidia. I can see why the developer is so upset. Must be tough working on OSS in that type of hardware environment. Looks like AMD is the way to go for desktop Linux boxes going forward. Although it looks like both Dell XPS [1] and System76 [2] is still using NVIDIA. Purism Librem uses the Intel i7’s embedded GPU [3]. I’m curious what the ideal Linux laptop is these days… [1] https://www.dell.com/en-ca/work/shop/cty/pdp/spd/xps-15-9570-laptop/cax15w10p1c1654pcaf https://www.dell.com/en-ca/work/shop/cty/pdp/spd/xps-15-9570... [2] https://system76.com/cart/configure/oryp5 https://system76.com/cart/configure/oryp5 [3] https://shop.puri.sm/shop/librem-15/ https://shop.puri.sm/shop/librem-15/
- djsumdog 7y agoThe ideal Linux laptop is one with just Intel integrated, and no discrete GPU. Honestly, Intel GPUs are decent enough, even if you want to do some mild gaming. Handing two GPUs on a laptop in Linux doesn't have the best support. A lot of the Optimus/Bumblebee stuff is not very well maintained.
- dmix 7y agoTrue, I don't do any laptop gaming. Intel GPU's seem to be sufficient as long as it can easily power a full HiDPI internal monitor + 4k external monitor... which Librem's Intel 620 GPU is listed as supporting but it looks like Librem's 15 v4 only has an HDMI port and not usb-c/displayport, which limits it to 4096x2160@30Hz instead of 4096x2304@60Hz. So I guess you'd have to look at Lenovo, HP etc for top tier.. Sadly my work uses all Macbrook Pros, which are amazing machines), but I'm scared to install Archlinux on them. The Archlinux Macbook wiki pages are 4yrs+ old.
- heftig 7y agoDon't overestimate the Intel GPUs. My current system uses a 530 which is getting pushed to its limits trying to render the desktop at 60 Hz, either UHD on AC or FHD on battery. Forget UHD on battery, that doesn't even manage to move the cursor at more than 10 fps. IMO the ideal GPU for a UHD screen would be either an Iris or a Vega 10. But it's difficult to find the former outside MacBooks and the latter with more than an FHD screen.
- ardani 7y agoLast I used Optimus my CPU desoldered itself. Gaming on Linux was vaguely toleable while it lasted but I'm back to Windows.
- girvo 7y ago> even if you want to do some mild gaming Just to back this up, I've recently bought a non-touchbar 13" MBP from 2016, and been amazed at the amount of games I've been able to play no issues on the Intel graphics in it.
- rrss 7y agoLast I checked, sway detects if nvidia.ko is loaded (even if the nvidia gpu has no display) and errors out with some message to the effect of "f you for buying nvidia."
- xyzzyz 7y agoI grepped wlroots for "nvidia" and got no hits.
- rrss 7y agohttps://github.com/swaywm/sway/blob/9670ccee683ab985e89eb04302fb998c4161f2d6/sway/main.c#L93 https://github.com/swaywm/sway/blob/9670ccee683ab985e89eb043...
- ddevault 7y agoIf this check were not here, Nvidia would still not work. This serves to reduce our bug report volume. However, by deleting these few lines of code (or specifying the appropriate command line argument), Nvidia could work tomorrow if they shipped GBM support.
- rrss 7y agoIf that check were not there, would intel for display + nvidia for compute work? Better chance than now.
- Sir_Cmpwn 7y agoThe flag is there for you to override if you think you know better. We don't answer questions or provide support for any use-case with the proprietary driver.
- dTal 7y agoRefusing to run if a particular kernel module is loaded (even if you don't touch it at all) is overstepping. You should at least provide an override flag.