USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor <SOLVED>

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

What is the output of prime-select query

If it not nvidia, then use this command: sudo prime-select nvidia

After rebooting, post the output of inxi -Gx
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

Alright, I did as you said and I think now looks good, right?

Code: Select all

Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia v: 470.63.01 bus ID: 01:00.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0 
           Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 1920x1080~144Hz 
           OpenGL: renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01 direct render: Yes 
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

MahaRav wrote: Sun Sep 26, 2021 9:43 am Alright, I did as you said and I think now looks good, right?
The Nvidia GPU is now doing the graphics rendering.

However, your original problem was getting the external monitor connected to the USB-C port to work. Is it working now?

I assume that port is connected internally to the AMD GPU, so the Nvidia driver should not need to load to make it work.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

I will have to try it later, note that I am connecting the monitor through a usb c to DP cable. Do you think it will work or needs aditional tweaks?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

MahaRav wrote: I will have to try it later, note that I am connecting the monitor through a usb c to DP cable. Do you think it will work or needs aditional tweaks?
You said in your first post that the monitor worked in Windows with that setup, so it probably should work in Linux, but not always.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

Perfect I will try it tomorrow morning.

Regarding switching between the amd and nvidia, should I use teh NVIDIA Optimus panel, there is also an on demand option, should I use it?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

MahaRav wrote: Sun Sep 26, 2021 11:20 am Regarding switching between the amd and nvidia, should I use teh NVIDIA Optimus panel, there is also an on demand option, should I use it?
Yes use the nvidia-prime applet on the panel to switch GPUs. Reboot after switching. First test if the monitor works in Nvidia Performance mode and then in On-Demand mode.

If the monitor doesn’t work, then post the output of these commands:
xrandr --verbose and ls /sys/class/drm/
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

It worked, thank you so much! Although in on demand it doesnt work, it stays with the amd even when connected

Code: Select all

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (0x56) normal (normal left inverted right x axis y axis) 344mm x 194mm
	Identifier: 0x53
	Timestamp:  20164
	Subpixel:   unknown
	Gamma:      1.0:1.0:1.0
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0038704d0000000000
		331d0104a5221378036850985c588e28
		1b505400000001010101010101010101
		010101010101918a8004713832403020
		350058c21000001abd39800471383240
		3020350058c21000001a000000fd0030
		90a3a323010a202020202020000000fe
		004c4d3135364c462d324630330a0035
	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
	HDCP Content Type: HDCP Type0 
		supported: HDCP Type0, HDCP Type1
	Content Protection: Undesired 
		supported: Undesired, Desired, Enabled
	vrr_capable: 1 
		range: (0, 1)
	abm level: 0 
		range: (0, 4)
	max bpc: 16 
		range: (8, 16)
	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: 78 
		supported: 78
	non-desktop: 0 
		range: (0, 1)
  1920x1080 (0x56) 354.730MHz +HSync -VSync *current +preferred
        h: width  1920 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height 1080 start 1083 end 1088 total 1130           clock 144.00Hz
  1920x1080 (0x57) 147.810MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2180 skew    0 clock  67.80KHz
        v: height 1080 start 1083 end 1088 total 1130           clock  60.00Hz
  1680x1050 (0x58) 354.730MHz +HSync -VSync
        h: width  1680 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height 1050 start 1083 end 1088 total 1130           clock 144.00Hz
  1280x1024 (0x59) 354.730MHz +HSync -VSync
        h: width  1280 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height 1024 start 1083 end 1088 total 1130           clock 144.00Hz
  1440x900 (0x5a) 354.730MHz +HSync -VSync
        h: width  1440 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  900 start 1083 end 1088 total 1130           clock 144.00Hz
  1280x800 (0x5b) 354.730MHz +HSync -VSync
        h: width  1280 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  800 start 1083 end 1088 total 1130           clock 144.00Hz
  1280x720 (0x5c) 354.730MHz +HSync -VSync
        h: width  1280 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  720 start 1083 end 1088 total 1130           clock 144.00Hz
  1024x768 (0x5d) 354.730MHz +HSync -VSync
        h: width  1024 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  768 start 1083 end 1088 total 1130           clock 144.00Hz
  800x600 (0x5e) 354.730MHz +HSync -VSync
        h: width   800 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  600 start 1083 end 1088 total 1130           clock 144.00Hz
  640x480 (0x5f) 354.730MHz +HSync -VSync
        h: width   640 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  480 start 1083 end 1088 total 1130           clock 144.00Hz
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x54
	Timestamp:  20164
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2 3
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	GAMMA_LUT_SIZE: 4096 
		range: (0, -1)
	DEGAMMA_LUT_SIZE: 4096 
		range: (0, -1)
	GAMMA_LUT: 0 
		range: (0, 65535)
	CTM: 0 
	DEGAMMA_LUT: 0 
		range: (0, 65535)
	TearFree: auto 
		supported: off, on, auto
	HDCP Content Type: HDCP Type0 
		supported: HDCP Type0, HDCP Type1
	Content Protection: Undesired 
		supported: Undesired, Desired, Enabled
	vrr_capable: 0 
		range: (0, 1)
	max bpc: 8 
		range: (8, 16)
	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: 85 
		supported: 85
	non-desktop: 0 
		range: (0, 1)
DP-1-0 connected (normal left inverted right x axis y axis)
	Identifier: 0x1dd
	Timestamp:  20111
	Subpixel:   unknown
	Clones:    
	CRTCs:      4 5 6 7
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 0 
		supported: 0, 1
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	EDID: 
		00ffffffffffff0006b3e02711530300
		261e0104b53c22783bb3e5ac5048a426
		115054bfcf00d1c0714f81c081408180
		9500b3000101e6f90050a0a01e500820
		080455502100001a695e00a0a0a02950
		3020b80455502100001a000000fd0030
		a5fafa41010a202020202020000000fc
		00415355532056473237570a2020017a
		020333714d0102031112130f1d1e0e90
		1f0423091707830100006d1a00000201
		30a5000000000000e305e000e6060701
		4a4a745aa000a0a0a046503020350055
		502100001a6fc200a0a0a05550302035
		0055502100001a59e7006aa0a0675015
		20350055502100001efa7e8088703812
		401820350055502100001e0000000028
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 4 
	_ConnectorLocation: 4 
	non-desktop: 0 
		supported: 0, 1
  2560x1440 (0x1de) 639.740MHz +HSync -VSync +preferred
        h: width  2560 start 2568 end 2600 total 2640 skew    0 clock 242.33KHz
        v: height 1440 start 1456 end 1464 total 1470           clock 164.85Hz
  2560x1440 (0x1df) 592.250MHz +HSync +VSync
        h: width  2560 start 2581 end 2613 total 2666 skew    0 clock 222.15KHz
        v: height 1440 start 1443 end 1448 total 1543           clock 143.97Hz
  2560x1440 (0x1e0) 497.750MHz +HSync -VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock 183.00KHz
        v: height 1440 start 1443 end 1448 total 1525           clock 120.00Hz
  2560x1440 (0x1e1) 410.500MHz +HSync -VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock 150.92KHz
        v: height 1440 start 1443 end 1448 total 1510           clock  99.95Hz
  2560x1440 (0x1e2) 241.690MHz +HSync -VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock  88.86KHz
        v: height 1440 start 1467 end 1475 total 1481           clock  60.00Hz
  1920x1080 (0x1e3) 325.060MHz +HSync +VSync
        h: width  1920 start 1944 end 1976 total 2056 skew    0 clock 158.10KHz
        v: height 1080 start 1083 end 1088 total 1098           clock 143.99Hz
  1920x1080 (0x1e4) 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 (0x1e5) 148.350MHz +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 (0x1e6) 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
  1680x1050 (0x1e7) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1440x900 (0x1e8) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1440x576 (0x1e9) 54.000MHz -HSync +VSync
        h: width  1440 start 1464 end 1592 total 1728 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  1440x480 (0x1ea) 54.000MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  1280x1024 (0x1eb) 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 (0x1ec) 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
  1280x960 (0x1ed) 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 (0x1ee) 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 (0x1ef) 74.180MHz +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
  1280x720 (0x1f0) 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
  1152x864 (0x1f1) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x1f2) 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 (0x1f3) 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 (0x1f4) 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 (0x1f5) 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 (0x1f6) 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 (0x1f7) 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 (0x1f8) 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 (0x1f9) 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 (0x1fa) 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 (0x1fb) 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 (0x1fc) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  696 total  832 skew    0 clock  37.86KHz
        v: height  480 start  481 end  484 total  520           clock  72.81Hz
  640x480 (0x1fd) 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
  640x480 (0x1fe) 25.170MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.46KHz
        v: height  480 start  490 end  492 total  525           clock  59.93Hz
DP-1-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x1ff
	Timestamp:  20111
	Subpixel:   unknown
	Clones:    
	CRTCs:      4 5 6 7
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: TMDS 
		supported: TMDS
	ConnectorType: DisplayPort 
	ConnectorNumber: 4 
	_ConnectorLocation: 4 
	non-desktop: 0 
		supported: 0, 1

Code: Select all

card0  card0-eDP-1  card0-HDMI-A-1  card1  card1-DP-1  renderD128  renderD129  ttm  version
Update: the fans started to work heavily and the the computer to heat up and there was no way to bring it down so I had to turn it off and restart it on windows, after a while the system went back to normal. What do you think is wrong?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

Surprisingly, the info you posted indicates the USB-C port is connected to the Nvidia GPU.

MahaRav wrote: Update: the fans started to work heavily and the the computer to heat up and there was no way to bring it down so I had to turn it off and restart it on windows, after a while the system went back to normal. What do you think is wrong?
Open the Nvidia Settings utility to the PowerMizer page. Watch if the Performance level drops to level 0 after a period of idle. Wait at least 2 minutes.

If not, then try changing the refresh rate of the ASUS monitor to 60 Hz, if you are now using 120, 144, or 165.

If that doesn’t help, then try installing the Nvidia-460 driver.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

OK, will try, what about the on demand not working, is there anything we can do to make it work?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

This is the first time I’ve seen your particular hardware setup in the Mint forums. Using On-Demand mode through a USB-C connection may still need better Linux support.

Your laptop should have an HDMI port. Does the monitor have an HDMI port? If yes, then test if both Nvidia Performance mode and On-Demand mode work with that connection.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

roblm wrote: Wed Sep 29, 2021 1:54 pm Surprisingly, the info you posted indicates the USB-C port is connected to the Nvidia GPU.

MahaRav wrote: Update: the fans started to work heavily and the the computer to heat up and there was no way to bring it down so I had to turn it off and restart it on windows, after a while the system went back to normal. What do you think is wrong?
Open the Nvidia Settings utility to the PowerMizer page. Watch if the Performance level drops to level 0 after a period of idle. Wait at least 2 minutes.

If not, then try changing the refresh rate of the ASUS monitor to 60 Hz, if you are now using 120, 144, or 165.

If that doesn’t help, then try installing the Nvidia-460 driver.
So I finally change the driver to 460 an it seems ti work.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

So when I use the USB C in on demand nothing is detected, when I use the HDMI in on demand, the second screen activates and works perfectly, but it seems that it is using the AMD and not chanign to nvidia
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

With the monitor connected to the HDMI port, post the output of xrandr --verbose to check if that port is connected internally to the AMD or Nvidia GPU.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

Code: Select all

Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x1bd
	Timestamp:  9066273
	Subpixel:   unknown
	Clones:    
	CRTCs:      1 2 3 4
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: DisplayPort 
		supported: DisplayPort
	ConnectorType: DisplayPort 
	ConnectorNumber: 4 
	_ConnectorLocation: 4 
	non-desktop: 0 
		supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x1df
	Timestamp:  9066273
	Subpixel:   unknown
	Clones:    
	CRTCs:      1 2 3 4
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
		0 1 
	CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
	BorderDimensions: 4 
		supported: 4
	Border: 0 0 0 0 
		range: (0, 65535)
	SignalFormat: TMDS 
		supported: TMDS
	ConnectorType: DisplayPort 
	ConnectorNumber: 4 
	_ConnectorLocation: 4 
	non-desktop: 0 
		supported: 0, 1
eDP-1-0 connected primary 1920x1080+2560+0 (0x206) normal (normal left inverted right x axis y axis) 344mm x 194mm
	Identifier: 0x203
	Timestamp:  9066273
	Subpixel:   unknown
	Gamma:      1.0:1.1:1.2
	Brightness: 1.0
	Clones:    
	CRTC:       0
	CRTCs:      0 5 6 7
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0038704d0000000000
		331d0104a5221378036850985c588e28
		1b505400000001010101010101010101
		010101010101918a8004713832403020
		350058c21000001abd39800471383240
		3020350058c21000001a000000fd0030
		90a3a323010a202020202020000000fe
		004c4d3135364c462d324630330a0035
	PRIME Synchronization: 0 
		supported: 0, 1
	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
	HDCP Content Type: HDCP Type0 
		supported: HDCP Type0, HDCP Type1
	Content Protection: Undesired 
		supported: Undesired, Desired, Enabled
	vrr_capable: 1 
		range: (0, 1)
	abm level: 0 
		range: (0, 4)
	max bpc: 16 
		range: (8, 16)
	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: 78 
		supported: 78
	non-desktop: 0 
		range: (0, 1)
  1920x1080 (0x206) 354.730MHz +HSync -VSync *current +preferred
        h: width  1920 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height 1080 start 1083 end 1088 total 1130           clock 144.00Hz
  1920x1080 (0x207) 147.810MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2180 skew    0 clock  67.80KHz
        v: height 1080 start 1083 end 1088 total 1130           clock  60.00Hz
  1680x1050 (0x208) 354.730MHz +HSync -VSync
        h: width  1680 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height 1050 start 1083 end 1088 total 1130           clock 144.00Hz
  1280x1024 (0x209) 354.730MHz +HSync -VSync
        h: width  1280 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height 1024 start 1083 end 1088 total 1130           clock 144.00Hz
  1440x900 (0x20a) 354.730MHz +HSync -VSync
        h: width  1440 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  900 start 1083 end 1088 total 1130           clock 144.00Hz
  1280x800 (0x20b) 354.730MHz +HSync -VSync
        h: width  1280 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  800 start 1083 end 1088 total 1130           clock 144.00Hz
  1280x720 (0x20c) 354.730MHz +HSync -VSync
        h: width  1280 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  720 start 1083 end 1088 total 1130           clock 144.00Hz
  1024x768 (0x20d) 354.730MHz +HSync -VSync
        h: width  1024 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  768 start 1083 end 1088 total 1130           clock 144.00Hz
  800x600 (0x20e) 354.730MHz +HSync -VSync
        h: width   800 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  600 start 1083 end 1088 total 1130           clock 144.00Hz
  640x480 (0x20f) 354.730MHz +HSync -VSync
        h: width   640 start 1968 end 2000 total 2180 skew    0 clock 162.72KHz
        v: height  480 start 1083 end 1088 total 1130           clock 144.00Hz
HDMI-A-1-0 connected 2560x1440+0+0 (0x2df) normal (normal left inverted right x axis y axis) 597mm x 336mm
	Identifier: 0x204
	Timestamp:  9066273
	Subpixel:   unknown
	Gamma:      1.0:1.1:1.2
	Brightness: 1.0
	Clones:    
	CRTC:       5
	CRTCs:      0 5 6 7
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0006b3e02711530300
		261e0103803c22782ab3e5ac5048a426
		115054bfcf00d1c0714f81c081408180
		9500b3000101565e00a0a0a029503020
		350055502100001e59e7006aa0a06750
		1520350055502100001e000000fd0030
		901ede3c000a202020202020000000fc
		00415355532056473237570a2020016c
		02034871520102031112130f1d1e0e1f
		044b4c3f406190230917078301000067
		030c002000303c67d85dc4017888006d
		1a000002013090e20000000000e305e0
		00e60607014a4a745aa000a0a0a04650
		3020350055502100001a6fc200a0a0a0
		55503020350055502100001afa7e8088
		703812401820350055502100001e0056
	PRIME Synchronization: 0 
		supported: 0, 1
	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
	HDCP Content Type: HDCP Type0 
		supported: HDCP Type0, HDCP Type1
	Content Protection: Undesired 
		supported: Undesired, Desired, Enabled
	vrr_capable: 0 
		range: (0, 1)
	max bpc: 8 
		range: (8, 16)
	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: 85 
		supported: 85
	non-desktop: 0 
		range: (0, 1)
  2560x1440 (0x2df) 241.500MHz +HSync +VSync *current +preferred
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock  88.79KHz
        v: height 1440 start 1443 end 1448 total 1481           clock  59.95Hz
  3840x2160 (0x2e0) 594.000MHz +HSync +VSync
        h: width  3840 start 4016 end 4104 total 4400 skew    0 clock 135.00KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  60.00Hz
  3840x2160 (0x2e1) 593.407MHz +HSync +VSync
        h: width  3840 start 4016 end 4104 total 4400 skew    0 clock 134.87KHz
        v: height 2160 start 2168 end 2178 total 2250           clock  59.94Hz
  2560x1440 (0x1bf) 592.250MHz +HSync +VSync
        h: width  2560 start 2581 end 2613 total 2666 skew    0 clock 222.15KHz
        v: height 1440 start 1443 end 1448 total 1543           clock 143.97Hz
  2560x1440 (0x1c0) 497.750MHz +HSync -VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock 183.00KHz
        v: height 1440 start 1443 end 1448 total 1525           clock 120.00Hz
  2560x1440 (0x1c1) 410.500MHz +HSync -VSync
        h: width  2560 start 2608 end 2640 total 2720 skew    0 clock 150.92KHz
        v: height 1440 start 1443 end 1448 total 1510           clock  99.95Hz
  1920x1200 (0x2e2) 241.500MHz +HSync +VSync
        h: width  1920 start 2608 end 2640 total 2720 skew    0 clock  88.79KHz
        v: height 1200 start 1443 end 1448 total 1481           clock  59.95Hz
  1920x1080 (0x1c3) 325.060MHz +HSync +VSync
        h: width  1920 start 1944 end 1976 total 2056 skew    0 clock 158.10KHz
        v: height 1080 start 1083 end 1088 total 1098           clock 143.99Hz
  1920x1080 (0x2e3) 297.000MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock 135.00KHz
        v: height 1080 start 1084 end 1089 total 1125           clock 120.00Hz
  1920x1080 (0x2e4) 297.000MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock 112.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock 100.00Hz
  1920x1080 (0x2e5) 296.703MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock 134.87KHz
        v: height 1080 start 1084 end 1089 total 1125           clock 119.88Hz
  1920x1080 (0x2e6) 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 (0x1c4) 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 (0x1c6) 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 (0x2e7) 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
  1600x1200 (0x2e8) 241.500MHz +HSync +VSync
        h: width  1600 start 2608 end 2640 total 2720 skew    0 clock  88.79KHz
        v: height 1200 start 1443 end 1448 total 1481           clock  59.95Hz
  1680x1050 (0x2e9) 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 (0x1cb) 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 (0x1cc) 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 (0x2ea) 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 (0x1cd) 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
  1280x800 (0x2eb) 241.500MHz +HSync +VSync
        h: width  1280 start 2608 end 2640 total 2720 skew    0 clock  88.79KHz
        v: height  800 start 1443 end 1448 total 1481           clock  59.95Hz
  1152x864 (0x1d1) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1280x720 (0x1ce) 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 (0x1d0) 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 (0x2ec) 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
  1440x576 (0x2ed) 54.000MHz -HSync -VSync
        h: width  1440 start 1464 end 1592 total 1728 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  1024x768 (0x1d2) 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 (0x1d3) 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 (0x1d4) 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
  1440x480 (0x2ee) 54.054MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.50KHz
        v: height  480 start  489 end  495 total  525           clock  60.00Hz
  1440x480 (0x1ca) 54.000MHz -HSync -VSync
        h: width  1440 start 1472 end 1596 total 1716 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  800x600 (0x1d6) 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 (0x1d5) 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 (0x1d7) 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 (0x1d8) 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 (0x1d9) 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 (0x2ef) 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 (0x1da) 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 (0x1db) 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 (0x2f0) 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 (0x2f1) 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 (0x2f2) 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 (0x1dd) 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 (0x2f3) 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
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

The HDMI port is connected to the AMD GPU.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

Ok, so back to one of the original questions.

Is there any way to make the "on demand" setting work as to make it use the nvidia when USB-C monitor is connected and the AMD when it is not?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

With the monitor connected to the laptop's HDMI port and set to On-Demand mode, post the output of inxi -Gx.
MahaRav
Level 1
Level 1
Posts: 42
Joined: Wed Sep 22, 2021 5:48 am

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by MahaRav »

Code: Select all

Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia v: 460.91.03 bus ID: 01:00.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0 
           Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 1920x1080~144Hz, 2560x1440~60Hz 
           OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.91.03 direct render: Yes 
So I randomly decided to take off the HDMI and plug the USB-C while on demand and it worked!

This is the output of that command when pluged in with USB-C and on demand

Code: Select all

Graphics:  Device-1: NVIDIA TU106 [GeForce RTX 2060] vendor: ASUSTeK driver: nvidia v: 460.91.03 bus ID: 01:00.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 05:00.0 
           Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati,nvidia unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 2560x1440~165Hz, 1920x1080~144Hz 
           OpenGL: renderer: GeForce RTX 2060/PCIe/SSE2 v: 4.6.0 NVIDIA 460.91.03 direct render: Yes 
Maybe now works because a couple of hours ago I installed TLP?
User avatar
roblm
Level 15
Level 15
Posts: 5939
Joined: Sun Feb 24, 2013 2:41 pm

Re: USB C to DP external monitor Asus tuf 15 laptop and Asus TUF gaming monitor

Post by roblm »

MahaRav wrote: Maybe now works because a couple of hours ago I installed TLP?
I would think that program would have no effect, but the only way to be sure is to remove it temporarily.

Also, I suggest shutting down the laptop and retesting both ports again with On-Demand.
Locked

Return to “Graphics Cards & Monitors”