MSI mainboard, videocard problem running linux.

Olderstuff

n00b
Joined
Jul 10, 2021
Messages
7
Hi,
I have a problem with the onboard video of my MSI mainboard.
Facts:
Desktop computer.
MSI H81M-E33 (low end socket 1150 board with Intel processor.
My monitor is the IIyama HM903DT 19" CRT monitor, connected by vga.
The computer is running Linux Mint 20 Mate, 64bit version.
The problem:
the setup was running fine for a long time, my resolution on the monitor
was set to a mode above 1024x768 (to be able to see my desktop filled with icons).
Only sometimes after booting the resolution had set itself to a lower one, the 1024x768 mode,
resulting in about 1/3 of my icons out of the screen.
On these occasions a reboot of the machine did restore things and show the better resolution again.
But since some days: the monitor shows up in the 1024x768 mode again and again.
The 'xrandr -q' command shows a VGA1 monitor with 4 resolution modes, the best is 1024x768...
Using the 'ControlCenter/Displays' function of LM I see the monitor is not recognised, the 1024x768
mode is pre-selected and can only be set downwards (badder)..
The tool offers a function to 'detect monitor', but that does not work.
What I did:
1. try anothe vga-cable: no change.
2. try the IIyama by attaching it to the vga output of my laptop (running LM 20 too, but 32bit): the monitor is
recognised and a wide range of modi are shown (above the 1024x768 too, and can be set), so my conclusion is:
the IIyama nor the vga-cable are the problem.
The two remaining causes I see: a problem of LM20 on the desktop, or a failing onboard videocard of the MSI board.
Is it a know feature of videocards to 'fall back' to lower resolutions in the case of a (partial) fail?

Anybody with useful thoughts for more testing or about what is going on here?

Note: booting other linuxes from a live-cd or a live usb-stick do not change things to the better: these too detect
only the VGA1 setting with 1024x768 mode.

Thank you,
Olderstuff
 
Just a question. Why run Linux instead of windows? I get the bloat ware and all. Linux usually doesn't have the updates as often as windows.

It could be a driver having issues. As well as most any part of your hardware starting to fail.

Start with a different monitor if you have one or can borrow one. Then I would.try a windows Install. You can download win 10 and use it for free. At some point you will have to buy it but you can at least do some diagnostic with it.
 
What video card exactly are you using?
What power supply do you have?

If you run `dmesg |less` as root after it happens, is there anything at the end of the log about the kernel driver? What's in the xorg log?
 
Hi,

Just some answers within one posting:

1. yes, I have another monitor to test. Sad enough not one with a hdmi port,
which I could test on the hdmi port of the MSI board.
Just for the respondent: I tested an hour ago using a Dell flatscreen vga monitor,
using the vga connector of the MSI board.
Result: no change in results: boots up and has chosen VGA1 with 1024x768 and
'unidentified' monitor. The settings cannot be changed by me.

2. I have used Windows version untill the beginning of this century, changed to
Linux then.
I will not change back to any Windowsdistribution because I am pleased by the Linux
way to do.
The diagnostics up to now: the MSI board (in fact the integrated video of it, as
the board is running fine in all other aspects) is the problem OR something in the
Linux distro (which is getting software updates as soon as these become available).

3. This info the linux-system gives about the graphic side of the board:
user@machine:~$ inxi -G --display
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
driver: i915 v: kernel
Display: x11 server: X.Org 1.20.11 driver: loaded: intel
resolution: 1024x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics (HSW GT1) v: 4.5 Mesa 21.0.3
user@machine:~$

The following info is given about the monitor:
user@machine:~$ xrandr -q
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
HDMI1 disconnected primary (normal left inverted right x axis y axis)
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.00*
800x600 60.32 56.25
848x480 60.00
640x480 59.94
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
user@machine:~$

4. I don't find messages about a kernel driver at the end of dmesg.

A piece of xorg log, mentioning VGA:

..........
[ 26.279] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 26.279] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 26.286] (--) PCI:*(0@0:2:0) 8086:0402:1462:7817 rev 6, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 26.288] (II) LoadModule: "glx"
[ 26.325] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 26.576] (II) Module glx: vendor="X.Org Foundation"
[ 26.576] compiled for 1.20.11, module version = 1.0.0
[ 26.576] ABI class: X.Org Server Extension, version 10.0
[ 26.576] (II) LoadModule: "intel"
[ 26.577] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 26.735] (II) Module intel: vendor="X.Org Foundation"
[ 26.735] compiled for 1.20.8, module version = 2.99.917
[ 26.735] Module class: X.Org Video Driver
[ 26.735] ABI class: X.Org Video Driver, version 24.1
[ 26.735] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 26.735] (II) intel: Driver for Intel(R) HD Graphics
[ 26.735] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 26.735] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 26.856] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 26.856] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20200226-1 (Timo Aaltonen <[email protected]>)
[ 26.856] (II) intel(0): SNA compiled for use with valgrind
[ 26.964] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[ 26.964] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 26.964] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 26.964] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 26.964] (==) intel(0): RGB weight 888
[ 26.964] (==) intel(0): Default visual is TrueColor
[ 26.965] (II) intel(0): Output VGA1 has no monitor section
[ 26.965] (II) intel(0): Enabled output VGA1
[ 26.965] (II) intel(0): Output HDMI1 has no monitor section
[ 26.965] (II) intel(0): Enabled output HDMI1
[ 26.965] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 26.965] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 26.965] (II) intel(0): Enabled output VIRTUAL1
[ 26.965] (--) intel(0): Output VGA1 using initial mode 1024x768 on pipe 0
[ 26.965] (==) intel(0): TearFree disabled
[ 26.965] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 26.965] (==) intel(0): DPI set to (96, 96)
[ 26.965] (II) Loading sub module "dri3"
[ 26.965] (II) LoadModule: "dri3"
[ 26.965] (II) Module "dri3" already built-in
[ 26.965] (II) Loading sub module "dri2"
[ 26.965] (II) LoadModule: "dri2"
[ 26.965] (II) Module "dri2" already built-in
[ 26.965] (II) Loading sub module "present"
[ 26.965] (II) LoadModule: "present"
[ 26.965] (II) Module "present" already built-in
[ 26.973] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1) backend
[ 26.973] (==) intel(0): Backing store enabled
[ 26.973] (==) intel(0): Silken mouse enabled
[ 26.974] (II) intel(0): HW Cursor enabled
[ 26.975] (==) intel(0): DPMS enabled
[ 26.975] (==) intel(0): Display hotplug detection enabled
[ 26.975] (II) intel(0): [DRI2] Setup complete
[ 26.975] (II) intel(0): [DRI2] DRI driver: i965
[ 26.975] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 26.975] (II) intel(0): direct rendering: DRI2 enabled
[ 26.975] (II) intel(0): hardware support for Present enabled
[ 26.975] (II) Initializing extension Generic Event Extension
[ 26.976] (II) Initializing extension SHAPE
[ 26.976] (II) Initializing extension MIT-SHM
[ 26.976] (II) Initializing extension XInputExtension
[ 26.976] (II) Initializing extension XTEST
[ 26.976] (II) Initializing extension BIG-REQUESTS
[ 26.977] (II) Initializing extension SYNC
..............

Olderstuff
 
A piece of xorg log, mentioning VGA:

..........
[ 26.279] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 26.279] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 26.286] (--) PCI:*(0@0:2:0) 8086:0402:1462:7817 rev 6, Mem @ 0xf7800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 26.288] (II) LoadModule: "glx"
[ 26.325] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 26.576] (II) Module glx: vendor="X.Org Foundation"
[ 26.576] compiled for 1.20.11, module version = 1.0.0
[ 26.576] ABI class: X.Org Server Extension, version 10.0
[ 26.576] (II) LoadModule: "intel"
[ 26.577] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 26.735] (II) Module intel: vendor="X.Org Foundation"
[ 26.735] compiled for 1.20.8, module version = 2.99.917
[ 26.735] Module class: X.Org Video Driver
[ 26.735] ABI class: X.Org Video Driver, version 24.1
[ 26.735] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 26.735] (II) intel: Driver for Intel(R) HD Graphics
[ 26.735] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 26.735] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 26.856] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 26.856] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20200226-1 (Timo Aaltonen <[email protected]>)
[ 26.856] (II) intel(0): SNA compiled for use with valgrind
[ 26.964] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[ 26.964] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 26.964] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 26.964] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 26.964] (==) intel(0): RGB weight 888
[ 26.964] (==) intel(0): Default visual is TrueColor
[ 26.965] (II) intel(0): Output VGA1 has no monitor section
[ 26.965] (II) intel(0): Enabled output VGA1
[ 26.965] (II) intel(0): Output HDMI1 has no monitor section
[ 26.965] (II) intel(0): Enabled output HDMI1
[ 26.965] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 26.965] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 26.965] (II) intel(0): Enabled output VIRTUAL1
[ 26.965] (--) intel(0): Output VGA1 using initial mode 1024x768 on pipe 0
[ 26.965] (==) intel(0): TearFree disabled
[ 26.965] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[ 26.965] (==) intel(0): DPI set to (96, 96)
[ 26.965] (II) Loading sub module "dri3"
[ 26.965] (II) LoadModule: "dri3"
[ 26.965] (II) Module "dri3" already built-in
[ 26.965] (II) Loading sub module "dri2"
[ 26.965] (II) LoadModule: "dri2"
[ 26.965] (II) Module "dri2" already built-in
[ 26.965] (II) Loading sub module "present"
[ 26.965] (II) LoadModule: "present"
[ 26.965] (II) Module "present" already built-in
[ 26.973] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1) backend
[ 26.973] (==) intel(0): Backing store enabled
[ 26.973] (==) intel(0): Silken mouse enabled
[ 26.974] (II) intel(0): HW Cursor enabled
[ 26.975] (==) intel(0): DPMS enabled
[ 26.975] (==) intel(0): Display hotplug detection enabled
[ 26.975] (II) intel(0): [DRI2] Setup complete
[ 26.975] (II) intel(0): [DRI2] DRI driver: i965
[ 26.975] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 26.975] (II) intel(0): direct rendering: DRI2 enabled
[ 26.975] (II) intel(0): hardware support for Present enabled
[ 26.975] (II) Initializing extension Generic Event Extension
[ 26.976] (II) Initializing extension SHAPE
[ 26.976] (II) Initializing extension MIT-SHM
[ 26.976] (II) Initializing extension XInputExtension
[ 26.976] (II) Initializing extension XTEST
[ 26.976] (II) Initializing extension BIG-REQUESTS
[ 26.977] (II) Initializing extension SYNC
..............

Olderstuff
That looks like the beginning of the log, where it's first loading up the driver and setting the display. Since the resolution is already being set to 1024x768 here, then what we want to see may be in an earlier xorg log file.

Try `dmesg |grep i915` as root. i915 is the kms (kernel mode setting) module, which helps with detecting and changing video modes, so related messages may help.
 
Try running "get-edid | parse-edid" under root to see if you can pull the monitor data. If you get the data and the command spits out an X monitor section, then your hardware is fine and it's a software problem. If you don't get anything, check the solder joints for cracks on the motherboard's VGA connector. Reflow the joints if you have to. I've had problems with those slim VGA connectors on server motherboards. You can also try cleaning the contacts on the VGA connector with some Deoxit.
 
Nobu,

user@machine:~$ sudo dmesg | grep i915
[sudo] password for user:
[ 0.747043] i915 0000:00:02.0: [drm] PipeC fused off
[ 0.747187] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 0.761936] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:eek:wns=io+mem
[ 0.775752] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 0.926180] fbcon: i915drmfb (fb0) is primary device
[ 0.926184] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 10.790035] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
user@machine:~$

2)
I do not know what you want to see on the xorg log theme:
in my /var/log directory there are 2 Xorg log files, both
generated today november 19:
Xorg.0.log written 20.57 (local time)
Xorg.0.log.old written 11.14 (local time)

Do you want them both??

3)
@DrNut:

user@machine:/$ sudo su
root@machine:/# get-edid | parse-edid
bash: parse-edid: command not found
bash: get-edid: command not found
root@machine:/#

Not the answer you was looking for but not 'no answer' either...
 
@DrNut:

user@machine:/$ sudo su
root@machine:/# get-edid | parse-edid
bash: parse-edid: command not found
bash: get-edid: command not found
root@machine:/#

Not the answer you was looking for but not 'no answer' either...

You need to install the "read-edid" package on your system. I'll assume you're using Debian, Ubuntu or some Ubuntu based system. Type "apt install read-edid" as root to install the package and try the command again. If you're using another distro, use whatever package manager to install read-edid.

You should get something like this if successful:
Code:
root@xeone5:~# get-edid | parse-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 0
No EDID on bus 1
No EDID on bus 2
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
1 potential busses found: 3
128-byte EDID successfully retrieved from i2c bus 3
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
        Identifier "PLE431"
        ModelName "PLE431"
        VendorName "IVM"
        # Monitor Manufactured week 50 of 2003
        # EDID version 1.3
        # Digital Display
        DisplaySize 340 270
        Gamma 2.20
        Option "DPMS" "true"
        Horizsync 24-83
        VertRefresh 55-75
        # Maximum pixel clock is 140MHz
        #Not giving standard mode: 1280x1024, 60Hz
        #Not giving standard mode: 1152x864, 75Hz
        Modeline        "Mode 0" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
 
@DrNut,
I did this on my notebook (install the package and do the test) and got an output as you described.
I did the same on my problem-desktop (install and the edid-command) and got this:

user@machine:~$ sudo su
root@machine:/home/user# get-edid | parse-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Problem requesting slave address: Device or resource busy
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
Looks like no busses have an EDID. Sorry!
Attempting to use the classical VBE interface
mmap /dev/zero: Operation not permitted
error initialising realmode interface
do you have full superuser (root) permissions?
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern <[email protected]>.
Partial Read... Try again
root@machine:/home/user#

Hope this will give you some clues...
 
Back
Top