Previous to Linux 19, I was able to set up my preferred resolution with the following script placed in the startup apps. The previous video card was an ASUS Nvidia GTforce 620 and the X11 video driver, because Linux Nvidia driver was lacking the all important feature of defining a custom resolution of 16:9. This card served me well until this is no longer a viable option. With LM 19 I am using the built-in Intel video chipset which is supposedly X11 compatible, but the script no longer works.
Searched the web for answers, and I am including the outputs of the various video status. If I missed anything please let me know. Thanks.
Code: Select all
the video script and error message
#!/bin/bash
# /home/ineuw/.scripts/res1536p864p.sh
# 1536x864 59.94 Hz (CVT 1.33M9) hsync: 53.76 kHz; pclk: 109.25 MHz
# Modeline "1536x864_60.00" 109.25 1536 1624 1784 2032 864 867 872 897 -hsync +vsync
xrandr --newmode "1536x864_59.00" 109.25 1536 1624 1784 2032 864 867 872 897 -hsync +vsync
xrandr --addmode HDMI-1 "1536x864_59.00"
xrandr --output HDMI-1 --mode "1536x864_59.00"
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 28
Current serial number in output stream: 28
xrandr: Configure crtc 1 failed
Code: Select all
results of: inxi -Fxzd
System: Host: lm190b64 Kernel: 4.15.0-23-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Cinnamon 3.8.4 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine: Device: desktop System: Gigabyte product: B360 AORUS GAMING 3 WIFI serial: N/A
Mobo: Gigabyte model: B360 AORUS GAMING 3 WIFI-CF v: x.x serial: N/A
UEFI: American Megatrends v: F5 date: 04/24/2018
CPU: Dual core Intel Pentium Gold G5600 (-MT-MCP-)
arch: Skylake rev.11 cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15648
clock speeds: max: 3900 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz 4: 800 MHz
Graphics: Card: Intel Device 3e91 bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics (Coffeelake 3x8 GT2)
version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card Intel Device a348 driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.15.0-23-generic
Network: Card: Intel Ethernet Connection (7) I219-V
driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
IF: eno1 state: down mac: <filter>
Drives: HDD Total Size: 1620.3GB (13.1% used)
ID-1: /dev/sda model: SanDisk_SDSSDHII size: 120.0GB
ID-2: /dev/sdb model: ST1000DM003 size: 1000.2GB
ID-3: /dev/sdc model: ST500DM002 size: 500.1GB
Optical-1: /dev/sr0 model: HL-DT-ST DVDRAM GH24NSB0
rev: LN01 dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 32x multisession: yes
audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 51G used: 7.2G (15%) fs: ext4 dev: /dev/sda4
ID-2: swap-1 size: 17.17GB used: 0.00GB (0%) fs: swap dev: /dev/sdb13
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 34.0C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 203 Uptime: 11 min Memory: 640.6/15718.8MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
Code: Select all
results of: glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center
Code: Select all
results of: modinfo -F filename `lshw -c video | awk '/configuration: driver/{print $2}' | cut -d= -f2`
/lib/modules/4.15.0-23-generic/kernel/drivers/gpu/drm/i915/i915.ko
Code: Select all
results of: lshw -c video
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: iomemory:600-5ff iomemory:400-3ff irq:125 memory:6000000000-6000ffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff
Code: Select all
results of: lshw -c video
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: iomemory:600-5ff iomemory:400-3ff irq:125 memory:6000000000-6000ffffff memory:4000000000-400fffffff ioport:3000(size=64) memory:c0000-dffff
Code: Select all
results of: lspci | grep VGA ; lsmod | grep "kms\|drm" ; find /dev -group video ; \cat /proc/cmdline ; find /etc/modprobe.d/; cat /etc/modprobe.d/*kms* ; \ls /etc/X11/xorg.conf ;glxinfo | grep -i "vendor\|rendering" ; \grep LoadModule /var/log/Xorg.0.log
00:02.0 VGA compatible controller: Intel Corporation Device 3e91
drm_kms_helper 167936 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm 401408 5 i915,drm_kms_helper
/dev/fb0
/dev/dri/card0
/dev/dri/renderD128
BOOT_IMAGE=/boot/vmlinuz-4.15.0-23-generic root=UUID=854d40d0-ff84-4a82-9dab-0cb373dad4ca ro quiet splash vt.handoff=1
/etc/modprobe.d/
/etc/modprobe.d/iwlwifi.conf
/etc/modprobe.d/blacklist-framebuffer.conf
/etc/modprobe.d/blacklist-ath_pci.conf
/etc/modprobe.d/amd64-microcode-blacklist.conf
/etc/modprobe.d/blacklist-firewire.conf
/etc/modprobe.d/blacklist-oss.conf
/etc/modprobe.d/dkms.conf
/etc/modprobe.d/blacklist-modem.conf
/etc/modprobe.d/intel-microcode-blacklist.conf
/etc/modprobe.d/blacklist-rare-network.conf
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/alsa-base.conf
# modprobe information used for DKMS modules
#
# This is a stub file, should be edited when needed,
# used by default by DKMS.
ls: cannot access '/etc/X11/xorg.conf': No such file or directory
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center
[ 14.275] (II) LoadModule: "glx"
[ 14.283] (II) LoadModule: "modesetting"
[ 14.284] (II) LoadModule: "fbdev"
[ 14.284] (II) LoadModule: "vesa"
[ 14.307] (II) LoadModule: "fbdevhw"
[ 14.308] (II) LoadModule: "glamoregl"
[ 14.519] (II) LoadModule: "fb"
[ 14.657] (II) LoadModule: "libinput"