First Time Linux user - Help with graphics please(SOLVED thanks to everyone)

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

First Time Linux user - Help with graphics please(SOLVED thanks to everyone)

Post by AndyHCMC »

Hi everyone,
No doubt you have been asked a million times,,, new user no idea what they are doing.
After using windows since dos I used linux mint to install chrome software on my not used slow laptop.
I found the live usb so easy to use I installed it on my desktop and I just love the ease of linux - why the heck did i wait sooo long to try it.
The only problem I seem to be having is graphics - I have an AOC 34" monitor that's native res is 3440x1440 with my very limited frst day knowledge i did the xrandr new mode add commands and it threw up errors "bad name etc" I have looked through forum and found answer for an nvidia card but my is an AMD.
here is the sytem specs (i managed to get that) how do I add 3440x1440 without the errors? can anyone give me a copy/paste command that will get it working?

Code: Select all

System:
  Host: andrew-MS-7B89 Kernel: 5.4.0-72-generic x86_64 bits: 64 
  compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M MORTAR MAX (MS-7B89) v: 1.0 
  serial: <superuser/root required> UEFI: American Megatrends v: 2.60 
  date: 12/30/2019 
CPU:
  Topology: 6-Core model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ 
  rev: 2 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 81591 
  Speed: 1486 MHz min/max: 1550/3400 MHz Core speeds (MHz): 1: 1379 2: 1380 
  3: 1467 4: 1465 5: 1380 6: 1381 7: 1381 8: 1380 9: 1471 10: 1470 11: 1477 
  12: 1478 
Graphics:
  Device-1: AMD Juniper PRO [Radeon HD 5750] vendor: Gigabyte driver: radeon 
  v: kernel bus ID: 26:00.0 
  Display: x11 server: X.Org 1.20.9 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD JUNIPER (DRM 2.50.0 / 5.4.0-72-generic LLVM 11.0.0) 
  v: 3.3 Mesa 20.2.6 direct render: Yes 
Audio:
  Device-1: AMD Juniper HDMI Audio [Radeon HD 5700 Series] vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus ID: 26:00.1 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 28:00.3 
  Device-3: JMTek LLC. type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 3-1.2:3 
  Device-4: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 3-1.3:4 
  Sound Server: ALSA v: k5.4.0-72-generic 
Network:
  Device-1: Intel Wireless-AC 9260 driver: iwlwifi v: kernel bus ID: 21:00.0 
  IF: wlo1 state: up mac: d8:3b:bf:5a:12:f7 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus ID: 22:00.0 
  IF: enp34s0 state: down mac: 00:d8:61:c7:90:a8 
Drives:
  Local Storage: total: 704.24 GiB used: 11.43 GiB (1.6%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HBHQ-00000 
  size: 238.47 GiB 
  ID-2: /dev/sda vendor: Seagate model: ST3500418AS size: 465.76 GiB 
Partition:
  ID-1: / size: 233.24 GiB used: 11.42 GiB (4.9%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 39.6 C mobo: N/A gpu: radeon temp: 49 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 302 Uptime: 14m Memory: 15.65 GiB used: 1.33 GiB (8.5%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 5 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Ist Time Linus user - Help

Post by deepakdeshp »

Update manager--view--kernels. Install the latest kernel of 5.8 series.Reboot and test. The running kernel is given by

Code: Select all

 uname -r
Good luck.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: Ist Time Linux user - Help with graphics please

Post by AndyHCMC »

Thanks for that i checked it was 5.4 so i updated to 5.8
rebooted and went through the change resolution again
xrandr
cvt
new mode
add mode
when i put 3440x1440_60.00 in and hit enter the screen went black and i had to reboot
it is now the same as before only 1920 res.

any idea what i do next?
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
User avatar
karlchen
Level 23
Level 23
Posts: 18227
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: First Time Linux user - Help with graphics please

Post by karlchen »

Hi, AndyHCMC.

You are still using the ancient "radeon" graphics driver. I wonder a bit, whether on a recent machine like yours, you would not be better off with the "amdgpu" driver instead.

Best regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: First Time Linux user - Help with graphics please

Post by SMG »

karlchen wrote: Mon May 10, 2021 9:22 amYou are still using the ancient "radeon" graphics driver. I wonder a bit, whether on a recent machine like yours, you would not be better off with the "amdgpu" driver instead.
I believe the " AMD Juniper PRO [Radeon HD 5750]" only has the radeon driver as an option. This table in the Gentoo AMDGPU does not list Juniper. The table in the Gentoo Radeon indicates Juniper is two generations older than the Southern Islands cards which are the first ones which can possibly use amdgpu.
AndyHCMC wrote: Mon May 10, 2021 7:53 amxrandr
cvt
new mode
add mode
when i put 3440x1440_60.00 in and hit enter the screen went black and i had to reboot
it is now the same as before only 1920 res.
If the screen goes black, that usually means the combination you entered is not possible.

What is the output of xrandr --verbose?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
User avatar
karlchen
Level 23
Level 23
Posts: 18227
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: First Time Linux user - Help with graphics please

Post by karlchen »

SMG wrote: Mon May 10, 2021 4:12 pmI believe the " AMD Juniper PRO [Radeon HD 5750]" only has the radeon driver as an option. This table in the Gentoo AMDGPU does not list Juniper. The table in the Gentoo Radeon indicates Juniper is two generations older than the Southern Islands cards which are the first ones which can possibly use amdgpu.
Guilty of not having looked up whether AMD Juniper PRO [Radeon HD 5750] might be too old for the amdgpu driver, before posting. :oops:
(How did such a fossile make its way into a machine with a Ryzen CPU?)
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
AndyMH
Level 21
Level 21
Posts: 13748
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: First Time Linux user - Help with graphics please

Post by AndyMH »

AOC 34" monitor
How are you connecting the monitor? When I got my AOC (2560x1440), plugged it in with a DVI cable, 1920x1080 max. Replaced with either HDMI or DP to HDMI and worked straight away at the native resolution.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

Hi,

Thanks everyone for helping, i'm connecting via HDMI
here is the info requested

Code: Select all

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x55
	Timestamp:  19066
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	TearFree: auto 
		supported: off, on, auto
	audio: auto 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	dither: off 
		supported: off, on
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 54 
		supported: 54
	non-desktop: 0 
		range: (0, 1)
HDMI-0 connected primary 1920x1080+0+0 (0x5a) normal (normal left inverted right x axis y axis) 800mm x 335mm
	Identifier: 0x56
	Timestamp:  19066
	Subpixel:   horizontal rgb
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0005e3773427000000
		06190103805022782aeed1a555489b26
		125054bfef00d1c0b300950081808140
		81c001010101ef5170e0d4a035500070
		3a50204f3100001ccd4600a0a0381f40
		30203a00204f3100001a000000fd0017
		501e631e000a202020202020000000fc
		0055333437370a202020202020200144
		02031ef14b101f051404130312021101
		230907078301000065030c001000023a
		801871382d40582c4500204f3100001e
		011d007251d01e206e285500204f3100
		001e8c0ad08a20e02d10103e9600204f
		310000188c0ad090204031200c405500
		204f31000018ef51b87062a0355080b8
		3a00204f3100001c00000000000000e8
	TearFree: auto 
		supported: off, on, auto
	audio: auto 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	dither: off 
		supported: off, on
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 56 
		supported: 56
	non-desktop: 0 
		range: (0, 1)
  1920x1080 (0x5a) 148.500MHz +HSync +VSync *current
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x5b) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1920x1080 (0x5c) 148.352MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080i (0x5d) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.75KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  60.00Hz
  1920x1080i (0x5e) 74.250MHz +HSync +VSync Interlace
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  28.12KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  50.00Hz
  1920x1080i (0x5f) 74.176MHz +HSync +VSync Interlace
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  33.72KHz
        v: height 1080 start 1084 end 1094 total 1125           clock  59.94Hz
  1680x1050 (0x60) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1280x1024 (0x61) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x62) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1440x900 (0x63) 88.750MHz +HSync -VSync
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock  55.47KHz
        v: height  900 start  903 end  909 total  926           clock  59.90Hz
  1280x960 (0x64) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1280x720 (0x65) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x66) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1280x720 (0x67) 74.176MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1024x768 (0x68) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x69) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x6a) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  832x624 (0x6b) 57.284MHz -HSync -VSync
        h: width   832 start  864 end  928 total 1152 skew    0 clock  49.73KHz
        v: height  624 start  625 end  628 total  667           clock  74.55Hz
  800x600 (0x6c) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x6d) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x6e) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x6f) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x70) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x71) 27.027MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  720x480 (0x72) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x73) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x74) 31.500MHz -HSync -VSync
        h: width   640 start  664 end  704 total  832 skew    0 clock  37.86KHz
        v: height  480 start  489 end  492 total  520           clock  72.81Hz
  640x480 (0x75) 30.240MHz -HSync -VSync
        h: width   640 start  704 end  768 total  864 skew    0 clock  35.00KHz
        v: height  480 start  483 end  486 total  525           clock  66.67Hz
  640x480 (0x76) 25.200MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.50KHz
        v: height  480 start  490 end  492 total  525           clock  60.00Hz
  640x480 (0x77) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  720x400 (0x78) 28.320MHz -HSync +VSync
        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz
        v: height  400 start  412 end  414 total  449           clock  70.08Hz
DVI-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x57
	Timestamp:  19066
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	TearFree: auto 
		supported: off, on, auto
	load detection: 1 
		range: (0, 1)
	audio: auto 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	dither: off 
		supported: off, on
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 58 
		supported: 58
	non-desktop: 0 
		range: (0, 1)
DVI-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x58
	Timestamp:  19066
	Subpixel:   horizontal rgb
	Clones:    
	CRTCs:      0 1 2 3 4 5
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	TearFree: auto 
		supported: off, on, auto
	load detection: 1 
		range: (0, 1)
	audio: auto 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	dither: off 
		supported: off, on
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	coherent: 1 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 61 
		supported: 61
	non-desktop: 0 
		range: (0, 1)
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

after updating kernal to 5.8, i'm gettiing an update warning 1 of which is kernal 5.4? do i ignore/delete?
no idea why linux would be trying to go backwards from 5.8 to 5.4 - but then again i'm on day 3 with Linux so I have no idea what I'm doing anyways :lol:
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
User avatar
karlchen
Level 23
Level 23
Posts: 18227
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: First Time Linux user - Help with graphics please

Post by karlchen »

Hello, AndyHCMC.

As long as kernel series 5.4 and kernel series 5.8 are both installed on the system, Update Manager will see and offer for installation updates for both kernel series, 54 and 5.8. This is normal behaviour.
The system will boot to kernel 5.8 by default nonetheless, even if an updated 5.4 kernel should have been added, because Grub offers the highest kernel version at the top of the boot list and will by default boot the highest kernel installed, which will be 5.8.

One thing. The other thing is that Update Manager will offer for installation a package named linux-libc-dev, Linux kernel development package. This linux-libc-dev will remain on version 5.4.xx, because this is the series which comes with Mint 20.1.
This linux-libc-dev is not the kernel. You should simply accept and install it, when offered by Update Manager.

With respect to kernel series 5.4:
My advice would be:
As you have switched to kernel series 5.8, for the moment, blacklist kernel update 5.4.0-xx in Update Manager.
Should kernel 5.8.0-xx work fine, then in the future, you might uninstall all installed 5.4.0-xx kernels through Update Manager and only keep the 5.8.0-xx kernels.

You may also leave this task to Update Manager completey by enabling Automation in Update Manager.
Edit => Preferences => Automation => enable automatic maintenance.

HTH,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
AndyMH
Level 21
Level 21
Posts: 13748
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: First Time Linux user - Help with graphics please

Post by AndyMH »

If the 5.8 kernel didn't fix it...

The edid block in the xrandr output is not showing anything higher than 1920x1080.

Install read-edid from software manager or synaptic package manager, and then:

In a terminal sudo get-edid:

Code: Select all

andy@T432 ~ $ sudo get-edid
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
No EDID on bus 8
No EDID on bus 9
3 potential busses found: 0 3 4 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< this is what you are looking for
Will scan through until the first EDID is found.
Pass a bus number as an option to this program to go only for that one.
Bus 0 doesn't really have an EDID...
128-byte EDID successfully retrieved from i2c bus 3
������L�L0�x�}��WW�)PTAV�P00 %5�%�j�SAMSUNG
Looks like i2c was successful. Have a good day.
We are looking for the i2c bus the monitor is on. In my case there are two monitors on buses 3 and 4. 3 is my laptop screen, 4 is my external LG ultrawide.

So run read-edid again to get the monitor info on the bus your monitor is connected to, in this case sudo get-edid -b 4 | parse-edid, replace -b 4 with the bus for your monitor:

Code: Select all

andy@T432 ~ $ sudo get-edid -b 4 | parse-edid

This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Only trying 4 as per your request.
256-byte EDID successfully retrieved from i2c bus 4
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
	Identifier "LG ULTRAWIDE"
	ModelName "LG ULTRAWIDE"
	VendorName "GSM"
	# Monitor Manufactured week 9 of 2017
	# EDID version 1.3
	# Digital Display
	DisplaySize 670 280
	Gamma 2.20
	Option "DPMS" "true"
	Horizsync 30-90
	VertRefresh 56-75
	# Maximum pixel clock is 240MHz
	#Not giving standard mode: 1152x864, 75Hz
	#Not giving standard mode: 1280x1024, 60Hz
	#Not giving standard mode: 1280x720, 60Hz
	#Not giving standard mode: 1600x900, 60Hz
	#Not giving standard mode: 1680x1050, 60Hz

	#Extension block found. Parsing...
	Modeline 	"Mode 11" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 0" 185.58 2560 2624 2688 2784 1080 1083 1093 1111 -hsync -vsync <<<<<<<<<<<<<<<<<<<<<<<<<<<<what I want
	Modeline 	"Mode 1" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 3" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 4" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 5" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
	Modeline 	"Mode 6" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
	Modeline 	"Mode 7" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
	Modeline 	"Mode 8" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 9" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
	Modeline 	"Mode 10" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 12" 74.25 1920 2008 2052 2200 540 542 547 562 +hsync +vsync interlace
	Modeline 	"Mode 13" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync 
	Modeline 	"Mode 14" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync 
	Option "PreferredMode" "Mode 11"
EndSection
Post the output. Or if it does not behave as above, post exactly what you did with the output.

In the example above the native resolution is 2560x1080 (mode 0), but by default the monitor displays mode 11 (1920x1080) - and LM20 still manages to screw up the display. When we have the modeline we can then use xrandr to set it.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

Code: Select all

$ sudo get-edid -b 3 | parse-edid
3
This is read-edid version 3.0.2. Prepare for some fun.
Attempting to use i2c interface
Only trying 3 as per your request.
256-byte EDID successfully retrieved from i2c bus 3
Looks like i2c was successful. Have a good day.
Checksum Correct

Section "Monitor"
	Identifier "U3477"
	ModelName "U3477"
	VendorName "AOC"
	# Monitor Manufactured week 6 of 2015
	# EDID version 1.3
	# Digital Display
	DisplaySize 800 340
	Gamma 2.20
	Option "DPMS" "true"
	Horizsync 30-99
	VertRefresh 23-80
	# Maximum pixel clock is 300MHz
	#Not giving standard mode: 1920x1080, 60Hz
	#Not giving standard mode: 1680x1050, 60Hz
	#Not giving standard mode: 1440x900, 60Hz
	#Not giving standard mode: 1280x1024, 60Hz
	#Not giving standard mode: 1280x960, 60Hz
	#Not giving standard mode: 1280x720, 60Hz

	#Extension block found. Parsing...
	Modeline 	"Mode 13" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync 
	Modeline 	"Mode 0" 209.75 3440 3696 4064 4688 1440 1443 1453 1493 -hsync +vsync 
	Modeline 	"Mode 1" 181.25 2560 2608 2640 2720 1080 1083 1093 1111 +hsync -vsync 
	Modeline 	"Mode 2" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 3" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
	Modeline 	"Mode 4" 74.250 1920 2008 2052 2200 1080 1082 1087 1125 +hsync +vsync interlace
	Modeline 	"Mode 5" 74.250 1920 2448 2492 2640 1080 1082 1089 1125 +hsync +vsync interlace
	Modeline 	"Mode 6" 74.250 1280 1390 1420 1650 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 7" 74.250 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
	Modeline 	"Mode 8" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 9" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
	Modeline 	"Mode 10" 27.027 720 736 798 858 480 489 495 525 -hsync -vsync
	Modeline 	"Mode 11" 27.000 720 732 796 864 576 581 586 625 -hsync -vsync
	Modeline 	"Mode 12" 25.200 640 656 752 800 480 490 492 525 -hsync -vsync
	Modeline 	"Mode 14" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync 
	Modeline 	"Mode 15" 27.00 720 736 798 858 480 489 495 525 -hsync -vsync 
	Modeline 	"Mode 16" 27.00 720 732 796 864 576 581 586 625 -hsync -vsync 
	Option "PreferredMode" "Mode 13"
EndSection
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

looks like to me (being a newbie) that mode "0" is the native 3440x1440 resolution but its using mode 13?
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
User avatar
AndyMH
Level 21
Level 21
Posts: 13748
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: First Time Linux user - Help with graphics please

Post by AndyMH »

Yep, behaving just like my LG ultrawide. Open up a terminal and (one line at a time):

Code: Select all

xrandr --newmode "3440x1440" 209.75 3440 3696 4064 4688 1440 1443 1453 1493 -hsync +vsync 
xrandr --addmode HDMI-0 "3440x1440"
xrandr --output HDMI-0 --mode "3440x1440"
If it works, I'll tell you how to make it permanent. Check that the monitor is on HDMI-0, I took it from one of your earlier posts.

I'm assuming your graphics is capable of outputting at this resolution.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

I ran card on this monitor for last 8 years on windows no problem.
when I copy/paste and hit enter on last line screen goes black and I have to reboot - on reboot i'm back to 1920 res :(
I remember that cvt 3440 1440 gave these figures if any use
cvt 3440 1440
# 3440x1440 59.94 Hz (CVT) hsync: 89.48 kHz; pclk: 419.50 MHz
Modeline "3440x1440_60.00" 419.50 3440 3696 4064 4688 1440 1443 1453 1493 -hsync +vsync
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
User avatar
AndyMH
Level 21
Level 21
Posts: 13748
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: First Time Linux user - Help with graphics please

Post by AndyMH »

Unfortunately, I've reached the edge of my competence on this (it doesn't go very far). Our 'resident' expert in this area is roblm, just hope they see this post and respond. Apologies :(

Here is a recent thread, there might be something in there you can pick up on, my knowledge doesn't extend to being able to generate modelines at other frequencies.
viewtopic.php?p=2009874#p2009874

You could try the modeline you get with cvt 3440 1440 -r and see if you have any luck.
Last edited by AndyMH on Wed May 12, 2021 4:39 am, edited 1 time in total.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

Thank you so much for your help, i did manage to get the resolution added to "display" but when i applied it screen went black.
It was nit there on reboot.
I will try your idea meanwhile how do i add any change to "display" so it stays there if/when i find combo that works?
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
User avatar
SMG
Level 25
Level 25
Posts: 31971
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: First Time Linux user - Help with graphics please

Post by SMG »

AndyHCMC wrote: Tue May 11, 2021 8:57 pmI will try your idea meanwhile how do i add any change to "display" so it stays there if/when i find combo that works?
It's my understanding that clicking "Apply" in the Display app will save the option to the cinnamon monitors file.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

Hi,

Thank you for replying, you Linux people are a friendly bunch.
I managed to add mode and it was in display - when I clicked apply screen went black,, I waited and screen came back with previous resolution.
On reboot the added resolution of 3440x1440 was not there any more.

I wish I had somehow saved the resolution and frez when I was in wndows BEFORE I erased it all and installed Linux.
is there a way to install windows now i'm in linux to go barebones and add ati driver to find out what was the setting was that it was running on?
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
AndyHCMC
Level 1
Level 1
Posts: 37
Joined: Sun May 09, 2021 11:09 pm

Re: First Time Linux user - Help with graphics please

Post by AndyHCMC »

Hi Everyone,

I was installing "Brave Browser for Linux" and I got these errors come up - it mentions fglrx-core is not configured yet? on googling fglrx (yes i'm that new) turns out it's for ATI cards,,,,
Is this anything to do with why I cant get 3440x1440 working?

Loading new fglrx-core-15.201 DKMS files...
Building for 5.8.0-53-generic
Building for architecture amd64
Building initial module for 5.8.0-53-generic
Error! Bad return status for module build on kernel: 5.8.0-53-generic (amd64)
Consult /var/lib/dkms/fglrx-core/15.201/build/make.log for more information.
dpkg: error processing package fglrx-core (--configure):
installed fglrx-core package post-installation script subprocess returned error
exit status 10
dpkg: dependency problems prevent configuration of fglrx-dev:
fglrx-dev depends on fglrx-core | fglrx; however:
Package fglrx-core is not configured yet.
Package fglrx is not installed.

dpkg: error processing package fglrx-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
fglrx-core
fglrx-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
Desktop computer running - Linux Mint 20.1 Cinnamon 4.8.6 - Hardware: MSI B450M MORTAT MAX, Amd Ryzen5 2600, AMD Juniper PRO [Radeon HD 5750], Drives Samsung model: NVMe 250 GiB & Seagate 500 GiB sata, 16 Gb Memory, AOC 34" monitor.
Locked

Return to “Beginner Questions”