antiX will not set the native monitor resolution

Forum Forums General Hardware antiX will not set the native monitor resolution

  • This topic has 81 replies, 7 voices, and was last updated Dec 31-3:11 pm by ant_222.
Viewing 15 posts - 1 through 15 (of 82 total)
  • Author
    Posts
  • #95287
    Member
    ant_222

      Solution for X11: see post 95859.

      My configuration:

      Machine  : Newsmay AC8 Mini PC
      antiX    : v. 22 x64 BaseDisplay: Iyama ProLite E1902S
      inxi dump: https://pastebin.com/raw/cX6W8kiF

      antiX-22 x64 Base will not let me set the native resolutuion of my display—1280×1024. When I go to:
      Control Centre -> Session -> Set Screen Resolution,
      Right-click on Default, and go to Resolution, only one mode is listed—1024×768, which was chosen as start-up. The display is connected via a VGA cable.
      How can I cause antiX to use the correct resolution?

      Since both Windows 11 Pro and Debian Dog are able to set the native resolution, I hope antiX can too, if with a little tweaking. For example, can it bypass the list of supported modes, and offer more common ones (as Windows 11 does)?

      • This topic was modified 5 months ago by ant_222. Reason: Added inxi dump
      • This topic was modified 4 months, 3 weeks ago by Brian Masinick.
      • This topic was modified 4 months, 3 weeks ago by Brian Masinick.
      #95293
      Member
      PPC
        Helpful
        Up
        0
        ::

        hi. If you try running this in the terminal:
        xrandr

        are more video modes listed?

        Did you try installing a driver for your video card- example, from here: https://www.intel.com/content/www/us/en/support/products/209801/graphics/intel-uhd-graphics-family/intel-uhd-graphics-for-11th-gen-intel-processors.html ?
        (the site says Linux should already have drivers included…)

        edit: you can try this, at your own risk: https://unix.stackexchange.com/questions/227876/how-to-set-custom-resolution-using-xrandr-when-the-resolution-is-not-available-i

        P.

        • This reply was modified 5 months ago by PPC.
        #95294
        Member
        ant_222
          Helpful
          Up
          0
          ::

          FullScale4Me of the #antiX IRC pointed out that according to the inxi dump, no driver was loaded for my video card, because it requires a newer kernel—5.18 or later:

          Graphics:
            Device-1: Intel JasperLake [UHD Graphics] driver: N/A arch: Gen11
          #95295
          Member
          ant_222
            Helpful
            Up
            0
            ::

            PPC, xrandr lists only that single mode.

            #95297
            Member
            PPC
              Helpful
              Up
              0
              ::

              o driver was loaded for my video card, because it requires a newer kernel—5.18 or later

              Try installing a newer kernel, is any available in antiX’s Package Installer > Kernels ? If not, you’ll have to try to install one manually…

              P.

              #95301
              Member
              ant_222
                Helpful
                Up
                0
                ::

                I am trying antiX off a live USB without persistance. I will have to install it on the HDD first, and then connect it to the internet. I will be back.

                #95358
                Member
                ant_222
                  Helpful
                  Up
                  0
                  ::

                  I have tried upgrading the kernel, but it did not help. During the intallation of the kernel package, there was some error in the console but it went out of view before I had time to read it. Now, uname -r shows:
                  5.10.142-antix.2-amd64-smp
                  whereas my CPU is not AMD but Intel.
                  When I restarted the PC, the graphics driver was loaded, and that inxi -G now shows:
                  Device: Intel JasperLake [UHD Graphics] Driver: i915
                  but xrandr still lists a single, and incorrect, resolution. Trying to add the correct resolution manually according to this
                  instruction, failed too.
                  xranr –newmode added an entry, but then wrote:
                  Failed to get size of gamma for output default

                  Attempt to activate the new mode fails with:
                  A part of an output is outside the virtual screen

                  #95359
                  Moderator
                  Brian Masinick
                    Helpful
                    Up
                    0
                    ::

                    /var/log contains kern.log files. Older logs are compressed but you can usually see 5 logs in various forms in this directory.

                    --
                    Brian Masinick

                    #95360
                    Member
                    ant_222
                      Helpful
                      Up
                      0
                      ::

                      Brian Masinick,
                      Do you want me to look for error details in those files? My /var/log has no kern.log files, but several dmesg ones. Did you mean the latter?

                      #95361
                      Member
                      ant_222
                        Helpful
                        Up
                        0
                        ::

                        My Xorg.0.log contains the following:

                        [     6.258] (==) Using config file: "/etc/X11/xorg.conf"
                        [     6.258] (==) Using config directory: "/etc/X11/xorg.conf.d"
                        [     6.258] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
                        [     6.260] (==) No Layout section.  Using the first Screen section.
                        [     6.260] (==) No screen section available. Using defaults.
                        [     6.260] (**) |-->Screen "Default Screen Section" (0)
                        [     6.260] (**) |   |-->Monitor "<default monitor>"
                        [     6.261] (==) No device specified for screen "Default Screen Section".
                                Using the first device section listed.
                        [     6.261] (**) |   |-->Device "Device0"
                        [     6.261] (==) No monitor specified for screen "Default Screen Section".
                        #95362
                        Moderator
                        Brian Masinick
                          Helpful
                          Up
                          0
                          ::

                          If you have no kern.log file, dmesg is the other file. I looked at my current one and it has four lines with KERNEL indicated and 12 lines containing kernel.

                          To get this, I ran sudo dmesg | grep KERNEL and sudo dmesg | grep kernel. You’ll only have a lot of references if the kernel is generating a lot of output; I’ve been on my system for an hour or two and there are 16 messages with either KERNEL or kernel; in my case they’re only informational messages, mostly concerning allocating and freeing resources. Since there are no issues, these are quick and easy to search and find; however if there are a LOT of messages, you could grep to isolate “kernel”, then redirect the grep output to a file for analysis, or use whatever technique you prefer.

                          --
                          Brian Masinick

                          #95363
                          Moderator
                          Brian Masinick
                            Helpful
                            Up
                            0
                            ::

                            Going back earlier in this thread, I see that indeed you have to get a newer kernel. Sorry, I missed this SIGNIFICANT detail earlier.
                            antiX only provides 4.* and 5.10 kernels.
                            When I got my HP-14, anticapitalista told me I needed a much newer kernel. I was able to copy kernels from other Debian-based systems on my laptop because I keep them on different partitions. Even so, that was a complicated exercise; in the end I needed:

                            1) A 5.18 or later kernel
                            2) /lib/module files from that same kernel
                            3) an extra wireless firmware module that I also found missing on my system

                            I was eventually able to find ALL of this out by comparing WORKING systems to my antiX system; once I found these differences and about 5 or 6 tries to get all of the correct pieces, I got it to work.

                            The Debian project has newer kernels; the MX Linux 21 AHS (Advanced Hardware Support) project also has newer kernels. Do check for the kernel, library modules for the kernel, your wireless firmware, and make sure your wireless card has all of the correct files it needs too, and then you should have better success.

                            This is a non-trivial exercise; if you boot multiple partitions, it does make it easier to copy stuff from a working Debian-based system into the same directories on your antiX system.

                            --
                            Brian Masinick

                            #95365
                            Moderator
                            Brian Masinick
                              Helpful
                              Up
                              0
                              ::
                              sudo apt-cache search linux-image | grep 5.18
                              [sudo] password for masinick: 
                              linux-headers-5.18.0-0.deb11.4-686 - Header files for Linux 5.18.0-0.deb11.4-686
                              linux-headers-5.18.0-0.deb11.4-686-pae - Header files for Linux 5.18.0-0.deb11.4-686-pae
                              linux-headers-5.18.0-0.deb11.4-amd64 - Header files for Linux 5.18.0-0.deb11.4-amd64
                              linux-headers-5.18.0-0.deb11.4-cloud-amd64 - Header files for Linux 5.18.0-0.deb11.4-cloud-amd64
                              linux-headers-5.18.0-0.deb11.4-rt-686-pae - Header files for Linux 5.18.0-0.deb11.4-rt-686-pae
                              linux-headers-5.18.0-0.deb11.4-rt-amd64 - Header files for Linux 5.18.0-0.deb11.4-rt-amd64
                              linux-image-5.18.0-0.deb11.4-686-dbg - Debug symbols for linux-image-5.18.0-0.deb11.4-686
                              linux-image-5.18.0-0.deb11.4-686-pae-dbg - Debug symbols for linux-image-5.18.0-0.deb11.4-686-pae
                              linux-image-5.18.0-0.deb11.4-686-pae-unsigned - Linux 5.18 for modern PCs
                              linux-image-5.18.0-0.deb11.4-686-unsigned - Linux 5.18 for older PCs
                              linux-image-5.18.0-0.deb11.4-amd64-dbg - Debug symbols for linux-image-5.18.0-0.deb11.4-amd64
                              linux-image-5.18.0-0.deb11.4-amd64-unsigned - Linux 5.18 for 64-bit PCs
                              linux-image-5.18.0-0.deb11.4-cloud-amd64-dbg - Debug symbols for linux-image-5.18.0-0.deb11.4-cloud-amd64
                              linux-image-5.18.0-0.deb11.4-cloud-amd64-unsigned - Linux 5.18 for x86-64 cloud
                              linux-image-5.18.0-0.deb11.4-rt-686-pae-dbg - Debug symbols for linux-image-5.18.0-0.deb11.4-rt-686-pae
                              linux-image-5.18.0-0.deb11.4-rt-686-pae-unsigned - Linux 5.18 for modern PCs, PREEMPT_RT
                              linux-image-5.18.0-0.deb11.4-rt-amd64-dbg - Debug symbols for linux-image-5.18.0-0.deb11.4-rt-amd64
                              linux-image-5.18.0-0.deb11.4-rt-amd64-unsigned - Linux 5.18 for 64-bit PCs, PREEMPT_RT
                              linux-image-5.18.0-0.deb11.4-amd64 - Linux 5.18 for 64-bit PCs (signed)
                              linux-image-5.18.0-0.deb11.4-cloud-amd64 - Linux 5.18 for x86-64 cloud (signed)
                              linux-image-5.18.0-0.deb11.4-rt-amd64 - Linux 5.18 for 64-bit PCs, PREEMPT_RT (signed)
                              linux-image-5.18.0-0.deb11.4-686 - Linux 5.18 for older PCs (signed)
                              linux-image-5.18.0-0.deb11.4-686-pae - Linux 5.18 for modern PCs (signed)
                              linux-image-5.18.0-0.deb11.4-rt-686-pae - Linux 5.18 for modern PCs, PREEMPT_RT (signed)
                              linux-headers-5.18.0-17.1-liquorix-amd64 - Header files for Linux 5.18.0-17.1-liquorix-amd64
                              linux-image-5.18.0-17.1-liquorix-amd64 - Linux 5.18 for 64-bit PCs

                              I see liquorix and other kernels because I’ve already been able to update this system; in fact I’m now using mostly V6 kernels on this system.

                              --
                              Brian Masinick

                              #95366
                              Moderator
                              Brian Masinick
                                Helpful
                                Up
                                0
                                ::

                                V6 kernels available: I enable xanmod1 and liquorix from repos I found in a Linux V6 search:

                                linux-image-6.0.0-10.1-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-11.2-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-12.1-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-6.1-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-7.1-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-8.1-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-8.2-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-9.1-liquorix-amd64 - Linux 6.0 for 64-bit PCs
                                linux-image-6.0.0-x64v2-xanmod1 - Linux kernel, version 6.0.0-x64v2-xanmod1
                                linux-image-6.0.1-x64v2-xanmod1 - Linux kernel, version 6.0.1-x64v2-xanmod1
                                linux-image-6.0.10-x64v1-xanmod1 - Linux kernel, version 6.0.10-x64v1-xanmod1
                                linux-image-6.0.10-x64v2-xanmod1 - Linux kernel, version 6.0.10-x64v2-xanmod1
                                linux-image-6.0.10-x64v3-xanmod1 - Linux kernel, version 6.0.10-x64v3-xanmod1
                                linux-image-6.0.11-x64v1-xanmod1 - Linux kernel, version 6.0.11-x64v1-xanmod1
                                linux-image-6.0.11-x64v2-rt14-xanmod1 - Linux kernel, version 6.0.11-x64v2-rt14-xanmod1
                                linux-image-6.0.11-x64v2-xanmod1 - Linux kernel, version 6.0.11-x64v2-xanmod1
                                linux-image-6.0.11-x64v3-rt14-xanmod1 - Linux kernel, version 6.0.11-x64v3-rt14-xanmod1
                                linux-image-6.0.11-x64v3-xanmod1 - Linux kernel, version 6.0.11-x64v3-xanmod1
                                linux-image-6.0.12-x64v1-xanmod1 - Linux kernel, version 6.0.12-x64v1-xanmod1
                                linux-image-6.0.12-x64v2-xanmod1 - Linux kernel, version 6.0.12-x64v2-xanmod1
                                linux-image-6.0.12-x64v3-xanmod1 - Linux kernel, version 6.0.12-x64v3-xanmod1
                                linux-image-6.0.2-x64v1-xanmod1 - Linux kernel, version 6.0.2-x64v1-xanmod1
                                linux-image-6.0.2-x64v2-rt11-xanmod1 - Linux kernel, version 6.0.2-x64v2-rt11-xanmod1
                                linux-image-6.0.2-x64v2-xanmod1 - Linux kernel, version 6.0.2-x64v2-xanmod1
                                linux-image-6.0.3-x64v1-xanmod1 - Linux kernel, version 6.0.3-x64v1-xanmod1
                                linux-image-6.0.3-x64v2-xanmod1 - Linux kernel, version 6.0.3-x64v2-xanmod1
                                linux-image-6.0.3-x64v3-xanmod1 - Linux kernel, version 6.0.3-x64v3-xanmod1
                                linux-image-6.0.5-x64v1-xanmod1 - Linux kernel, version 6.0.5-x64v1-xanmod1
                                linux-image-6.0.5-x64v2-xanmod1 - Linux kernel, version 6.0.5-x64v2-xanmod1
                                linux-image-6.0.5-x64v3-xanmod1 - Linux kernel, version 6.0.5-x64v3-xanmod1
                                linux-image-6.0.6-x64v1-xanmod1 - Linux kernel, version 6.0.6-x64v1-xanmod1
                                linux-image-6.0.6-x64v2-xanmod1 - Linux kernel, version 6.0.6-x64v2-xanmod1
                                linux-image-6.0.6-x64v3-xanmod1 - Linux kernel, version 6.0.6-x64v3-xanmod1
                                linux-image-6.0.7-x64v1-xanmod1 - Linux kernel, version 6.0.7-x64v1-xanmod1
                                linux-image-6.0.7-x64v2-rt14-xanmod1 - Linux kernel, version 6.0.7-x64v2-rt14-xanmod1
                                linux-image-6.0.7-x64v2-xanmod1 - Linux kernel, version 6.0.7-x64v2-xanmod1
                                linux-image-6.0.7-x64v3-rt14-xanmod1 - Linux kernel, version 6.0.7-x64v3-rt14-xanmod1
                                linux-image-6.0.7-x64v3-xanmod1 - Linux kernel, version 6.0.7-x64v3-xanmod1
                                linux-image-6.0.8-x64v1-xanmod1 - Linux kernel, version 6.0.8-x64v1-xanmod1
                                linux-image-6.0.8-x64v2-xanmod1 - Linux kernel, version 6.0.8-x64v2-xanmod1
                                linux-image-6.0.8-x64v3-xanmod1 - Linux kernel, version 6.0.8-x64v3-xanmod1
                                linux-image-6.0.9-x64v1-xanmod1 - Linux kernel, version 6.0.9-x64v1-xanmod1
                                linux-image-6.0.9-x64v2-xanmod1 - Linux kernel, version 6.0.9-x64v2-xanmod1
                                linux-image-6.0.9-x64v3-xanmod1 - Linux kernel, version 6.0.9-x64v3-xanmod1
                                • This reply was modified 4 months, 4 weeks ago by Brian Masinick.

                                --
                                Brian Masinick

                                #95381
                                Member
                                ant_222
                                  Helpful
                                  Up
                                  0
                                  ::

                                  After:
                                  sudo apt install linux-image-5.18.0-0.deb11.4-amd64-unsigned
                                  nothing changed with respect to video mode. uname now shows the updated info: 5.18.0-0.deb11.4-amd64. During installation, there was an error message about missing kernel headers.

                                  • This reply was modified 4 months, 4 weeks ago by ant_222.
                                Viewing 15 posts - 1 through 15 (of 82 total)
                                • You must be logged in to reply to this topic.