You are not logged in.

#1 2018-10-11 00:11:37

waldoe_arch
Member
Registered: 2018-06-27
Posts: 9

Video issue after kernel update

I recently updated to 4.18.12-arch1-1 kernel. Since the update my second monitor will not use it's normal resolution. It's connected via HDMI. It usually displays at 1920x1080, but now it only displays at 1280x1024 max...
My system is a lenovo ideapad 320 AMD A12 with the radeon r7 graphics. So far I've tried setting nomodeset in grub, removing and reinstalling amdgpu driver, and something I seen in a forum about adding xrandr newmode. I really hope someone can help point me in the right direction on this.

xrandr

Screen 0: minimum 320 x 200, current 2646 x 1024, maximum 16384 x 16384
eDP connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768      60.00*+
   1280x720      60.00  
   1024x768      60.00  
   800x600       60.00  
   640x480       60.00  
HDMI-A-0 connected 1280x1024+1366+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080     60.00 +  60.00    50.00    59.94    24.00    23.98  
   1680x1050     60.00  
   1280x1024     60.02* 
   1440x900      60.00  
   1280x800      60.00  
   1280x720      60.61    60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
   720x400       70.08  
   1920x1080R    59.93  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
 

lspci

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] (rev c8)
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Root Port
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Host Bridge
00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Audio Controller
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 60h-6fh) Processor Function 5
01:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)

lshw -c video

 *-display                 
       description: VGA compatible controller
       product: Wani [Radeon R5/R6/R7 Graphics]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 1
       bus info: pci@0000:00:01.0
       version: c8
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:43 memory:e0000000-efffffff memory:f0000000-f07fffff ioport:2000(size=256) memory:f0d00000-f0d3ffff memory:c0000-dffff

Offline

#2 2018-10-11 04:58:57

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Video issue after kernel update

Have you tried to roll back kernel?
Have you tried to set resolution via xrandr? What is the output?

Offline

#3 2018-10-11 05:40:35

waldoe_arch
Member
Registered: 2018-06-27
Posts: 9

Re: Video issue after kernel update

Yes I have tried to roll back kernel. Issue does not happen with 4.18.7 . I have attempted to set resolution with xrandr. No errors or output, screen just goes blank.....

Offline

#4 2018-10-11 07:10:51

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: Video issue after kernel update

What exactly did you try about "something I seen in a forum about adding xrandr newmod"?
It seems to be a reduced blanking modeline, but did you also try to select it?

Offline

#5 2018-10-11 18:57:32

waldoe_arch
Member
Registered: 2018-06-27
Posts: 9

Re: Video issue after kernel update

seth wrote:

What exactly did you try about "something I seen in a forum about adding xrandr newmod"?
It seems to be a reduced blanking modeline, but did you also try to select it?

Yes, I added the 1920x1080R  modeline. And tried it also. No luck. But after reading your post I added

 Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

It worked. My second screen is now displaying 1920x1080. I followed https://wiki.archlinux.org/index.php/xr … esolutions
and made a 10-monitor.conf

Section "Monitor"
    Identifier "HDMI-A-0"
    Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
     Option "PreferredMode" "1920x1080_60.00"
EndSection

Section "Screen"
    Identifier "Screen0"
    Monitor "eDP"
    DefaultDepth 24
    SubSection "Display"
        Modes "1366x768 60.00"
    EndSubSection
EndSection

now xrandr looks like

 HDMI-A-0 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1920x1080     60.00 +  60.00    50.00    59.94    24.00    23.98  
   1920x1080_60.00  59.96* 
   1680x1050     60.00  
   1280x1024     60.02  
   1440x900      60.00  
   1280x800      60.00  
   1280x720      60.61    60.00    50.00    59.94  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
   720x400       70.08  
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
 

So, now it has the correct resolution and keeps it across reboots. Any Ideas why it's not able to use the original 1920x1080 settings? And how would I go about making 1920x1080_60.00 the default? I searched the topic but haven't found much in regards to changing xrandr defaults. Should I just put something in an .xinitrc like..

 xrandr --output DisplayPort-0 --off --output eDP --mode 1366x768 --pos 1366x0 --rotate normal --output HDMI-A-0 --mode 1920x1080_60.00 --pos 0x0 --rotate normal

Offline

#6 2018-10-11 19:02:16

seth
Member
Registered: 2012-09-03
Posts: 51,253

Re: Video issue after kernel update

Check the xorg log resp. "xrandr -q --verbose" for the original FullHD modelines.
It's kinda suspicious that there're two 60Hz modes…

Offline

#7 2018-10-11 19:58:37

waldoe_arch
Member
Registered: 2018-06-27
Posts: 9

Re: Video issue after kernel update

seth wrote:

Check the xorg log resp. "xrandr -q --verbose" for the original FullHD modelines.
It's kinda suspicious that there're two 60Hz modes…

I don't have much experience with xrandr, I've had arch on two systems and this monitor has always worked out of the box. Not too sure about the output but is there supposed to be so many entries for the 1920x1080 resolution? I'm counting 4 entries @60Hz

  HDMI-A-0 connected 1920x1080+1366+0 (0x5b) normal (normal left inverted right x axis y axis) 1600mm x 900mm
	Identifier: 0x53
	Timestamp:  84817
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       1
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff00216393330f000000
		1e17010380341d780a01c1a057479827
		124c4ca1080031404540614081800101
		010101010101023a801871382d40582c
		460040846300001e4c1d007251d01e20
		6e28550040846300001e000000fc004c
		434454560a20202020202020000000fd
		00303e0e440f000a2020202020200112
		02032570500102030405111213141f06
		0790151620230907078301000067030c
		001000b82d011d80d0721c1620102c25
		8040846300009f011d8018711c162058
		2c2500408463000099011d00bc52d01e
		20b828554040846300001e023a80d072
		382d40102c458040846300001e023a80
		1871382d40582c450040846300001efd
	GAMMA_LUT_SIZE: 4096 
		range: (0, -1)
	DEGAMMA_LUT_SIZE: 4096 
		range: (0, -1)
	GAMMA_LUT: 0 
		range: (0, 65535)
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	DEGAMMA_LUT: 0 
		range: (0, 65535)
	TearFree: auto 
		supported: off, on, auto
	underscan vborder: 0 
		range: (0, 128)
	underscan hborder: 0 
		range: (0, 128)
	underscan: off 
		supported: off, on, auto
	scaling mode: None 
		supported: None, Full, Center, Full aspect
	link-status: Good 
		supported: Good, Bad
	CONNECTOR_ID: 50 
		supported: 50
	non-desktop: 0 
		range: (0, 1)
  1920x1080_60.00 (0x5b) 173.000MHz -HSync +VSync *current +preferred
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock  67.16KHz
        v: height 1080 start 1083 end 1088 total 1120           clock  59.96Hz
  1920x1080 (0x5c) 148.500MHz +HSync +VSync +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1090 total 1125           clock  60.00Hz
  1920x1080 (0x5d) 148.500MHz +HSync +VSync
        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 (0x5e) 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 (0x5f) 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
  1920x1080 (0x60) 74.250MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  27.00KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  24.00Hz
  1920x1080 (0x61) 74.176MHz +HSync +VSync
        h: width  1920 start 2558 end 2602 total 2750 skew    0 clock  26.97KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  23.98Hz
  1680x1050 (0x62) 148.500MHz +HSync +VSync
        h: width  1680 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1050 start 1084 end 1090 total 1125           clock  60.00Hz
  1280x1024 (0x63) 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 (0x64) 148.500MHz +HSync +VSync
        h: width  1440 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height  900 start 1084 end 1090 total 1125           clock  60.00Hz
  1280x800 (0x65) 148.500MHz +HSync +VSync
        h: width  1280 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height  800 start 1084 end 1090 total 1125           clock  60.00Hz
  1280x720 (0x66) 75.000MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.45KHz
        v: height  720 start  725 end  730 total  750           clock  60.61Hz
  1280x720 (0x67) 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 (0x68) 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 (0x69) 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 (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
  800x600 (0x6b) 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
  720x576 (0x6c) 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 (0x6d) 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 (0x6e) 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 (0x6f) 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 (0x70) 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 (0x71) 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

Offline

Board footer

Powered by FluxBB