Unable to set resolution to FullHD

Forum Forums Official Releases antiX-19 “Marielle Franco” Unable to set resolution to FullHD

  • This topic has 9 replies, 4 voices, and was last updated Aug 7-4:47 am by caprea.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #39853
    Member
    Avatarluker

    Hi forum,

    in an attempt to set the screen resolution of my Antix 19 installation to the native 1920×1080@60Hz of the attached TV, I wanted to create a modeline with cvt and get xrandr to use it.
    But the output of xrandr (without any arguments) doesn’t list any connectors. No VGA-1, no DVI-2, just Screen 0 and something called “default”.

    The current resolution is 1024×768. Could it be that nouveau is not properly loaded?
    My video card is one generation too old for the nvidia-legacy driver and eve more so for the regular nvidia driver.

    Video Card: nVidia 6800 GT
    Outputs: VGA
    2xDVI
    Monitor: FullHD-TV with HDMI (Adapter on 1st DVI)

    lsmod lists nouveau to be loaded and using some other modules.

    How can I set the correct resolution?

    • This topic was modified 1 month, 3 weeks ago by luker.
    • This topic was modified 1 month, 3 weeks ago by luker.
    #39855
    Member
    AvatarModdIt

    hi luker, did you try the tool A Rand R in antix controll center, it worked
    fine for setups I was involved in..

    I think on a system set to English it is session tab. Anyway middle one after control center opens.

    #39870
    Member
    Avatarluker

    ArandR knows resolutions 640×480, 800×600, 1024×768.
    All 4:3 aspect ratios, all VESA standard resolutions.

    Is my graphics driver not working?

    #39875
    Forum Admin
    anticapitalistaanticapitalista

    inxi -G

    in a terminal will tell us which graphics driver is being used.

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #39879
    Member
    AvatarModdIt

    Please also how you are connected to the TV. Ie input/type.

    VGA DVI or HDMI. On DVI I was hit more than once with a bad cable.
    If able and have not done so already try other port type .
    Worth checking:
    The TV may report wrong capability. which caused that issue.
    That was on the system I am using now. LG Monitor not TV
    but would only run low res until I used a new DVI cable.

    You are best served with DVI or HDMI.

    #39898
    Member
    Avatarluker

    @anticapitalista:

    $ inxi -G
    Graphics:
      Device-1: NVIDIA NV40 [GeForce 6800 GT/GTO/Ultra] driver: N/A 
      Display: x11 server: X.Org 1.20.4 driver: vesa resolution: 1024x768~N/A 
      OpenGL: renderer: llvmpipe (LLVM 7.0 128 bits) v: 3.3 Mesa 18.3.6
    $ xrandr
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
    default connected 1024x768+0+0 0mm x 0mm
       1024x768       0.00* 
       800x600        0.00  
       640x480        0.00

    @Moddit:
    The TV is connected to the first DVI port via a DVI-HDMI adapter.
    I think we can rule out hardware problems due to screen resolution being correct when booting live media (AntiX as well as SystemRescueCD).

    #39899
    Member
    capreacaprea

    The vesa driver is used, but it should be the nouveau obviously.
    Is this an installed system? Did you use one of the options like failsafe to boot the live-usb?

    What’s confusing

    lsmod lists nouveau to be loaded and using some other modules.

    You can check if there is an etc/X11/xorg.conf and delete it eventually.

    #39915
    Member
    Avatarluker

    Yes, obviously.
    Yes, this is an installed system. It shall one day be the base for a mythtv box.
    No, the live version of AntiX runs out of the box.

    xorg.conf existed:

    
    #-----------------------------------------------------------------------------
    # xorg.conf file
    #
    # Generated by make-xorg-conf sometime around Sat Jun 20 19:49:18 CEST 2020
    #
    # If you want to save customizations, delete the line above or this
    # file will get automatically deleted on the next live boot.
    #
    # Command line parameters: --output=/etc/X11/xorg.conf vesa
    #-----------------------------------------------------------------------------
    
    Section "Device"
        Identifier "Device0"
        Driver     "vesa"
    EndSection
    

    Deleting it (renaming, actually) had the interesting effect that X didn’t start at all. Here’s the log:

    
    [    95.052] 
    X.Org X Server 1.20.4
    X Protocol Version 11, Revision 0
    [    95.062] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
    [    95.065] Current Operating System: Linux michael 4.9.212-antix.1-amd64-smp #1 SMP PREEMPT Fri Jan 31 22:19:43 EET 2020 x86_64
    [    95.065] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.212-antix.1-amd64-smp root=UUID=d88b82e4-a770-43c8-93da-d9474ecb7312 ro vga=791 pci=nomsi,noaer
    [    95.075] Build Date: 05 March 2019  08:11:12PM
    [    95.079] xorg-server 2:1.20.4-1 (https://www.debian.org/support) 
    [    95.082] Current version of pixman: 0.36.0
    [    95.089] 	Before reporting problems, check http://wiki.x.org
    	to make sure that you have the latest version.
    [    95.089] Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [    95.103] (==) Log file: "/home/luker/.local/share/xorg/Xorg.0.log", Time: Thu Aug  6 22:56:08 2020
    [    95.107] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [    95.110] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [    95.111] (==) No Layout section.  Using the first Screen section.
    [    95.111] (==) No screen section available. Using defaults.
    [    95.111] (**) |-->Screen "Default Screen Section" (0)
    [    95.111] (**) |   |-->Monitor "<default monitor>"
    [    95.111] (==) No monitor specified for screen "Default Screen Section".
    	Using a default monitor configuration.
    [    95.111] (==) Automatically adding devices
    [    95.111] (==) Automatically enabling devices
    [    95.111] (==) Automatically adding GPU devices
    [    95.111] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [    95.111] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    [    95.111] 	Entry deleted from font path.
    [    95.111] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
    [    95.111] 	Entry deleted from font path.
    [    95.111] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
    [    95.111] 	Entry deleted from font path.
    [    95.111] (==) FontPath set to:
    	/usr/share/fonts/X11/misc,
    	/usr/share/fonts/X11/100dpi/:unscaled,
    	/usr/share/fonts/X11/Type1,
    	/usr/share/fonts/X11/100dpi,
    	built-ins
    [    95.111] (==) ModulePath set to "/usr/lib/xorg/modules"
    [    95.111] (II) The server relies on udev to provide the list of input devices.
    	If no devices become available, reconfigure udev or disable AutoAddDevices.
    [    95.111] (II) Loader magic: 0x55acca388e20
    [    95.111] (II) Module ABI versions:
    [    95.111] 	X.Org ANSI C Emulation: 0.4
    [    95.111] 	X.Org Video Driver: 24.0
    [    95.111] 	X.Org XInput driver : 24.1
    [    95.111] 	X.Org Server Extension : 10.0
    [    95.126] (++) using VT number 1
    
    [    95.127] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
    [    95.132] (--) PCI: (0@0:11:0) 109e:036e:11bd:001c rev 17, Mem @ 0xcfffe000/4096
    [    95.132] (--) PCI:*(2@0:0:0) 10de:00f9:1458:3122 rev 162, Mem @ 0xfd000000/16777216, 0xb0000000/268435456, 0xfc000000/16777216, BIOS @ 0x????????/131072
    [    95.132] (II) LoadModule: "glx"
    [    95.132] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [    95.134] (II) Module glx: vendor="X.Org Foundation"
    [    95.134] 	compiled for 1.20.4, module version = 1.0.0
    [    95.134] 	ABI class: X.Org Server Extension, version 10.0
    [    95.261] (==) Matched nouveau as autoconfigured driver 0
    [    95.261] (==) Matched nv as autoconfigured driver 1
    [    95.261] (==) Matched modesetting as autoconfigured driver 2
    [    95.261] (==) Matched fbdev as autoconfigured driver 3
    [    95.261] (==) Matched vesa as autoconfigured driver 4
    [    95.261] (==) Assigned the driver to the xf86ConfigLayout
    [    95.261] (II) LoadModule: "nouveau"
    [    95.261] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
    [    95.261] (II) Module nouveau: vendor="X.Org Foundation"
    [    95.261] 	compiled for 1.20.3, module version = 1.0.16
    [    95.262] 	Module class: X.Org Video Driver
    [    95.262] 	ABI class: X.Org Video Driver, version 24.0
    [    95.262] (II) LoadModule: "nv"
    [    95.262] (WW) Warning, couldn't open module nv
    [    95.262] (EE) Failed to load module "nv" (module does not exist, 0)
    [    95.262] (II) LoadModule: "modesetting"
    [    95.262] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    [    95.262] (II) Module modesetting: vendor="X.Org Foundation"
    [    95.262] 	compiled for 1.20.4, module version = 1.20.4
    [    95.262] 	Module class: X.Org Video Driver
    [    95.262] 	ABI class: X.Org Video Driver, version 24.0
    [    95.262] (II) LoadModule: "fbdev"
    [    95.263] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    [    95.263] (II) Module fbdev: vendor="X.Org Foundation"
    [    95.263] 	compiled for 1.20.0, module version = 0.5.0
    [    95.263] 	Module class: X.Org Video Driver
    [    95.263] 	ABI class: X.Org Video Driver, version 24.0
    [    95.263] (II) LoadModule: "vesa"
    [    95.263] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [    95.263] (II) Module vesa: vendor="X.Org Foundation"
    [    95.263] 	compiled for 1.20.1, module version = 2.4.0
    [    95.263] 	Module class: X.Org Video Driver
    [    95.263] 	ABI class: X.Org Video Driver, version 24.0
    [    95.263] (II) NOUVEAU driver Date:   Mon Jan 28 23:25:58 2019 -0500
    [    95.263] (II) NOUVEAU driver for NVIDIA chipset families :
    [    95.263] 	RIVA TNT            (NV04)
    [    95.263] 	RIVA TNT2           (NV05)
    [    95.263] 	GeForce 256         (NV10)
    [    95.263] 	GeForce 2           (NV11, NV15)
    [    95.263] 	GeForce 4MX         (NV17, NV18)
    [    95.263] 	GeForce 3           (NV20)
    [    95.263] 	GeForce 4Ti         (NV25, NV28)
    [    95.263] 	GeForce FX          (NV3x)
    [    95.263] 	GeForce 6           (NV4x)
    [    95.263] 	GeForce 7           (G7x)
    [    95.264] 	GeForce 8           (G8x)
    [    95.264] 	GeForce 9           (G9x)
    [    95.264] 	GeForce GTX 2xx/3xx (GT2xx)
    [    95.264] 	GeForce GTX 4xx/5xx (GFxxx)
    [    95.264] 	GeForce GTX 6xx/7xx (GKxxx)
    [    95.264] 	GeForce GTX 9xx     (GMxxx)
    [    95.264] 	GeForce GTX 10xx    (GPxxx)
    [    95.264] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    [    95.264] (II) FBDEV: driver for framebuffer: fbdev
    [    95.264] (II) VESA: driver for VESA chipsets: vesa
    [    95.264] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
    [    95.391] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
    [    95.391] (EE) open /dev/dri/card0: No such file or directory
    [    95.391] (WW) Falling back to old probe method for modesetting
    [    95.391] (EE) open /dev/dri/card0: No such file or directory
    [    95.391] (II) Loading sub module "fbdevhw"
    [    95.391] (II) LoadModule: "fbdevhw"
    [    95.391] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [    95.391] (II) Module fbdevhw: vendor="X.Org Foundation"
    [    95.391] 	compiled for 1.20.4, module version = 0.0.2
    [    95.391] 	ABI class: X.Org Video Driver, version 24.0
    [    95.392] (EE) Unable to find a valid framebuffer device
    [    95.392] (WW) Falling back to old probe method for fbdev
    [    95.392] (II) Loading sub module "fbdevhw"
    [    95.392] (II) LoadModule: "fbdevhw"
    [    95.392] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [    95.392] (II) Module fbdevhw: vendor="X.Org Foundation"
    [    95.392] 	compiled for 1.20.4, module version = 0.0.2
    [    95.392] 	ABI class: X.Org Video Driver, version 24.0
    [    95.392] (II) FBDEV(2): using default device
    [    95.392] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
    [    95.392] (EE) Screen 0 deleted because of no matching config section.
    [    95.392] (II) UnloadModule: "modesetting"
    [    95.392] (EE) Screen 0 deleted because of no matching config section.
    [    95.392] (II) UnloadModule: "fbdev"
    [    95.392] (II) UnloadSubModule: "fbdevhw"
    [    95.392] (EE) 
    Fatal server error:
    [    95.392] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
    [    95.392] (EE) 
    [    95.392] (EE) 
    Please consult the The X.Org Foundation support 
    	 at http://wiki.x.org
     for help. 
    [    95.392] (EE) Please also check the log file at "/home/luker/.local/share/xorg/Xorg.0.log" for additional information.
    [    95.392] (EE) 
    [    95.400] (EE) Server terminated with error (1). Closing log file.
    

    Looks like nouveau is the driver of choice, but if it fails, there are four others to try as well.
    And nouveau fails because

    
    [    95.391] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
    [    95.391] (EE) open /dev/dri/card0: No such file or directory
    

    Same result for editing xorg.conf so that nouveau should be the driver instead of vesa. Just the section in the log where all possible drivers are loaded is shorter.

    How to fix that?

    • This reply was modified 1 month, 2 weeks ago by luker.
    • This reply was modified 1 month, 2 weeks ago by luker.
    • This reply was modified 1 month, 2 weeks ago by luker.
    #39931
    Member
    capreacaprea

    A suggestion what you should try to do first is to install another kernel. My box with nvidia card boots with vesa with the 4.9 kernel and with nouveau with the 4.19 kernel. But it is also a more modern gtx 960 card, so it makes more sense. But it is worth a try.
    Or try a live-stick with the 4.19-kernel.
    antiX-19.2-4.19_kernel_x64-full.iso

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.