Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Originally arch user, Having problems with Prime and wayland on my new ubuntu install

  1. #1
    Join Date
    Jun 2021
    Beans
    7

    Exclamation Originally arch user, Having problems with Prime and wayland on my new ubuntu install

    I have installed Ubuntu 21.04 and have been enjoying my time, Only problem for me is that I cannot use prime functionalities anymore, I heard this was X specific and that it was only for Arch, I am very confused about this and really need this for my heavy applications.
    During my first boot up I noticed that I had X Server Settings, Even though I think I ran Ubuntu through Wayland, I don't know how to replicate this, However I do know that when I clicked it, A weird GUI appeared that I can't really explain, However it was a resizable panel that had nothing in it, That's the most I can explain.

    I am not sure about what XWayland is, or if I should use Wayland or Xorg for gaming and other intensive applications, please instruct me .

    I am running an asus laptop with an Intel i7-7700HQ and a Intel HD 630 + GTX 1050M

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    I believe that Ubuntu 21.04 defaults to the Wayland compositor. To get the X-Server - at the login screen press enter. Before putting in the password click the Ubuntu icon in the bottom right corner of the screen and select from the little menu Ubuntu on X-Server. Now, when you login the system will be using X.

    Certain applications are coded to run on X. Other applications are coded to use a Wayland compositor. I believe that XWayland makes it possible for Wayland apps to run on X. Or, it may be the other way around. I agree, not the most accurate explanation. This is not a subject I lose sleep over. Let the people who know explain it.

    https://wayland.freedesktop.org/xserver.html

    As the Arch Wiki says:

    For backwards compatibility to seamlessly run legacy X11 applications, XWayland can be used, which provides an X Server in Wayland.
    https://wiki.archlinux.org/title/Wayland

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Quote Originally Posted by kz-n View Post
    I heard this was X specific and that it was only for Arch
    Neither of these are true.

    I am not sure about what XWayland is
    XWayland is for running X applications in a Wayland session.

    GTX 1050M
    You shouldn't use Wayland. It will work, just about, these days, but XWayland is not hardware-accelerated on Nvidia currently. It's intended to work once the 470 branch is released, which will probably be sometime this month or so.

  4. #4
    Join Date
    Jun 2021
    Beans
    7

    Unhappy Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Ah damn, Is nvidia completely not supported with Wayland? (And with that I mean would running only with my nvidia gpu work) I really cannot put my word on this as I don't know if Wayland or X11 even have a difference in performance, However even after logging in with Ubuntu Xorg I don't see X Server Settings nor can use prime-run or DRI_PRIME=1.

  5. #5
    Join Date
    Jun 2021
    Beans
    7

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Quote Originally Posted by grahammechanical;14044069
    As the Arch Wiki says:

    [URL
    https://wiki.archlinux.org/title/Wayland[/URL]

    Regards
    You seemed to quote something that only works on arch afaik.

  6. #6
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Quote Originally Posted by kz-n View Post
    Ah damn, Is nvidia completely not supported with Wayland?
    Wayland works on Nvidia for Gnome and KDE. (Mesa uses generic buffers; Nvidia uses EGL Streams, which has only been plumbed in for KDE and Gnome. Soon everything will be using something different)

    What doesn't work on Nvidia (until 470) is hardware accelerated XWayland. Since the things that will use X in a Wayland session are games, and if you're using the Nvidia device to run them it's because you want them hardware accelerated, that makes it not particularly helpful for you. So, no point in using Wayland, yet.

    There's not really that much point you running 21.04 rather than 20.04 LTS, really, but since you're coming from Arch I'm unlikely to convince you that higher version numbers aren't the be-all and end-all. LTS releases are best for new users, since they'll get all the security updates and newer kernels and whatnot backported without having to be on the upgrade treadmill of a new version every six months.

  7. #7
    Join Date
    Jun 2021
    Beans
    7

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Oh hey, I know perfectly well what LTS means, I have used Ubuntu on servers for years.
    I just wanted to get myself on the newer version right away cause I think it's the only version with wayland, I wanted to try it out.
    I guess I will be going back to X then for now, How can I enable prime features? On my X session I can't use DRI_PRIME, prime-run or X Server Settings

  8. #8
    Join Date
    Jun 2021
    Beans
    7

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Oh hey, I know perfectly well what LTS means, I have used Ubuntu on servers for years.
    I just wanted to get myself on the newer version right away cause I think it's the only version with wayland, I wanted to try it out.
    I guess I will be going back to X then for now, How can I enable prime features? On my X session I can't use DRI_PRIME, prime-run or X Server Settings

  9. #9
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    8,430
    Distro
    Kubuntu 20.04 Focal Fossa

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    Quote Originally Posted by kz-n View Post
    I just wanted to get myself on the newer version right away cause I think it's the only version with wayland, I wanted to try it out.
    Wayland's been included for years. 21.04 isn't even the first to be Wayland-by-default (that was 17.10). Wherever it is that you've been getting your information from, I think you'd benefit from using a different source.

    I guess I will be going back to X then for now, How can I enable prime features?
    You've not even said that you've got as far as installing the proprietary driver. Then, as I understand it, you need to specify which is the normal device and which is the offload device. And then you can use those environment variables to specify applications to be run normally and applications to be offloaded. But it's not something I've ever done; Optimus always seemed like a terrible implementation of a reasonably-sound idea, so I stayed well away from it.

  10. #10
    Join Date
    Jun 2021
    Beans
    7

    Re: Originally arch user, Having problems with Prime and wayland on my new ubuntu ins

    I just tried to install drivers, It just hangs for a couple of minutes and tells me a system application has failed, I have sent the reports every time it happened.

    Lol then I probably misunderstood something, I've only recently got wind of Wayland and since I couldn't find anything about it on the LTS changelog I assumed it wasn't present.
    If I can downgrade to the LTS version I'd gladly do that.

    Optimus is a bad idea until you take into consideration laptops :/

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •