• devfuuu@lemmy.world
    link
    fedilink
    English
    arrow-up
    63
    ·
    3 months ago

    I still remember the old times before xorg.confs were modular. The truly hard times.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 months ago

      I’m pretty sure it is because nobody knows. Xorg is a massive project that has tons and tons of duck tape.

  • Im_old@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    3 months ago

    Gather around kids, story time. It was 2002 and I had a desktop pc with two video cards, one Matrox with dual video output (they were pretty much the only consumer ones with that at the time) on AGP slot, and one “something” (probably ATI, it still had and RCA port) on PCI. So I installed gentoo (from stage1, as it was custom at the time) and fiddled around with xorg.conf to have two monitors output from the Matrox and a third (yes, I had 3 monitors) from the ATI.

    That’s when I understood the power of Linux (no way win2000 was able to do that).

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    edit-2
    3 months ago

    professional tip for those who decided to rock Debian on a laptop with two GPU’s.

    Envycontrol will take the headache away from manually configuring your xorg & xrandr, trust me, compared to the Debian documentation this will save you hours of your life.

    • InverseParallax@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      4
      ·
      edit-2
      3 months ago

      …who… IN THE FUCK!!! Reads Debian docs?

      Arch are the true Linux docs, maybe Gentoo docs, worst case Ubuntu forums.

      Run a ton of Debian, only time I check their docs is when I’m trying to remember what the current stable release is called.

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 months ago

        …who… IN THE FUCK!!! Reads Debian docs?

        How else does one learn the distro they use without consulting the documentation?

        • InverseParallax@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          3 months ago

          Like I said, I use debian docs to install.

          After that arch docs are INCREDIBLY thorough, they cover almost all of linux and are far more exhaustive than any other.

          • ohshit604@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            3 months ago

            Like I said, I use debian docs to install.

            You didn’t say that, you said.

            only time I check their docs is when I’m trying to remember what the current stable release is called.


            After that arch docs are INCREDIBLY thorough

            Yeah I wouldn’t trust the documentation for another distribution on my install, you do you though.

      • idefix@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        I’ve had some good experience in the past. All the Debian specific information was properly documented in the packages README files.

        • InverseParallax@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          I agree.

          But honestly, how much Debian specific anything is there outside the install?

          In fact debian is branded as the most boring vanilla distro there is, for good reason.

          Almost everything Linux you do is better documented in the arch docs imho.

          • idefix@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            Honestly, Linux has progressed immensely the past decade and I only read documentation when setting up servers these days. I’m mostly an Arch derivative desktop user but I still love Debian on the server side.

            The Debian specific stuff are usually in the service description (email, web, ssh servers), and they are quite nice.

            • InverseParallax@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 months ago

              Debian is godly for servers, stable, robust, and most software is supported one way or another.

              Also none of that redhat bs like their management stack, or Ubuntu and snap.

              Their only weakness was they were far dated on kernels and software and that changed over the last 5 years, they’re often ahead of ubuntu now.

              My first choice is always freebsd if I don’t need kvm or docker and the software is there, arch if it’s more workstationy, Gentoo if I’m in a fun mood (mained it for years but it kept breaking), and finally Debian if I just want something that works.

              Even with Debian, wrote an lxc-based stack so it’s often just a base for arch for fun and Ubuntu for work. This is where it truly shines.

    • drathvedro@lemm.ee
      link
      fedilink
      arrow-up
      3
      ·
      3 months ago

      Can it force apps to use iGPU when dGPU is on? It’s one of the things I miss from windows and couldn’t figure out on linux

      • ohshit604@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        3 months ago

        It has this hybrid option, that’s about it from what I know.

        Set graphics mode to hybrid and enable fine-grained power control:

        sudo envycontrol -s hybrid --rtd3
        

        Edit: the —rtd3 flag seems to have different levels of power management.

        --rtd3 [VALUE]        Setup PCI-Express Runtime D3 (RTD3) Power Management on Hybrid mode. Available choices: 0, 1, 2, 3. Default if specified: 2
        
        • drathvedro@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Ah so it’s about the same-ish functionality as supergfxctl and system76-power it seems. For me I’m searching for more granular control. e.g. if I’m gaming with dGPU-primary I might want to move browser and such to iGPU to free up dGPU VRAM, or just to put it to lower power states because spinning this behemoth up for youtube videos seems inefficient. Otherwise, when I’m in iGPU primary, it sometimes misdetects when to activate the dGPU and chokes the poor little thing down or, again, spins up the dGPU needlessly.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Did they finally stop with that crap? Having 4k on a display size where it makes no sense but needs a dedicated GPU because iGPU were not good enough then.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 months ago

      I mean, there was a point in time, quite some years back, when I had to do up modelines, but Xorg can generally handle things without an xorg.conf.

      • John Richard@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        3 months ago

        It has improved, but most developers working on Xorg have moved to Wayland. I’m not saying Xorg isn’t still useful at times, like forwarding over SSH, but Wayland has more isolation & security considerations, which can be seen as both an advantage & limitation. However, Wayland compositors have implemented most controls & protocols now to fill in the gaps.

    • lurch (he/him)@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      Do you really think ppl don’t break their wayland setup? For example, some systems don’t get a mouse cursor in wayland umless they switch the cursor to software rendering. To do that, they must often set an env var for the wayland process, but there is no standard way to do it. Half of them starts tinkering with their PAM and the others with their .profile . Sometimes this breaks every way to log in.

      • John Richard@lemmy.world
        link
        fedilink
        English
        arrow-up
        11
        arrow-down
        1
        ·
        3 months ago

        I’m sure some people do, but for the most part it is much better than X in that regard.

    • cley_faye@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Still won’t handle popup menu correctly, still won’t allow copy/paste with CLI programs without using an extra, implementation-specific, piece of software, still won’t allow some window to correctly detect their position.

      Wayland might be interesting, but between blind haters and blind supporters, it’s really annoying. Forcing people to switch while some basic features are “mostly working” is not helping.

      • PlantPowerPhysicist@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        still won’t allow copy/paste with CLI programs without using an extra, implementation-specific, piece of software

        What are you referring to here? I haven’t noticed anything out of place on KDE regarding copy/paste…

        • cley_faye@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          3 months ago

          vim can’t use the kde/wayland clipboard to copy/past properly, you have to script it through something. I’ve read it’s related to non foreground app not being able to manipulate the clipboard or something close to that, which a CLI app will never be.

          There are “solutions”, mostly overriding vim behavior to write/read from that dedicated program, though. It’s not a show stopper, but not every software allow this kind of flexibility.

      • John Richard@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        I managed to work through all those issues using XDG portals & necessary software/configurations when using Hyprland & Arch, but I’d think that major distros & DEs also had solved them as part of their installs. Maybe I’m wrong. It is sad if they haven’t, because they are solvable. If this was 2 years ago, I would understand the frustrations more, but if there are still issues then I am more frustrated at whoever is packaging the crap & sending it to end users without thinking to address these problems using the available solutions.

    • renzev@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      Still gathering up my courage to make the switch. The better security / isolation between apps is a huge feature for me. But porting all of my shitty xorg-specific scripts and hacks will be a pain.

  • cley_faye@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    3 months ago

    I get the joke, but I’m getting tired of these very, very old memes being reposted ad-nauseam when they’re so outdated. I did not have to open the xorg.conf file for at least a decade, probably more. It was a very annoying thing to do, yes, but hasn’t been an issue for a lot of install in forever.

    There’s a resurgence of these “but it’s very weird/difficult/annoying” outdated memes these last few weeks on a lot of websites, and at this point I’m wondering if it’s just people discovering them or just some people bashing linux systems based on their experience from the last century.

    • superkret@feddit.org
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      It’s people entering the Linux space and wanting to join the tribe by posting Linux memes they found on google.

    • Saleh@feddit.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      3 months ago

      I broke xorg.conf when i installed Linux Mint about a year ago, but i forgot what for. Ironically i never had issues with an Arch based distro.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      3 months ago

      I did xorg.conf from the example on Arch wiki and it worked. Then i did it the correct way from the official documentation and it didn’t.

      • cley_faye@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        I did not touch an xorg.conf file in forever and it just works out of the box, whether I’m running debian, kubuntu, or mint, so ¯\_(ツ)_/¯

          • cley_faye@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            3 months ago

            xrandr --rate 60. No need to mess with xorg.conf. And you put that on a start script to never have to type it again.

            • MonkderVierte@lemmy.ml
              link
              fedilink
              arrow-up
              2
              ·
              3 months ago

              I have that on a key combo, together with --gamma for day/evening colors. But it is reset after display sleep. Funnily enough, even xorg.conf is ignored 50% of the times then.

  • Abnorc@lemm.ee
    link
    fedilink
    arrow-up
    7
    ·
    3 months ago

    That is BSD. You can go there. Cool people. Hardware support is a bit spottier though.