could not set the configuration for CRTC 101
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
could not set the configuration for CRTC 101
Hi everyone! I got a new 3480x2160 monitor but can't get the resolution to stick higher than 1920x1080 on 18.3 MATE.
Originally, 1920x1080 was the highest resolution in the Monitor Preferences dialog, then I ran:
$ xrandr | grep maximum
Screen 0: minimum 8 x 8, current 3480 x 2160, maximum 32767 x 32767
$ gtf 3480 2160 60
# 3480x2160 @ 60.00 Hz (GTF) hsync: 134.10 kHz; pclk: 646.90 MHz
Modeline "3480x2160_60.00" 646.90 3480 3768 4152 4824 2160 2161 2164 2235 -HSync +Vsync
$ xrandr --newmode "3480x2160_60.00" 646.90 3480 3768 4152 4824 2160 2161 2164 2235 -HSync +Vsync
$ xrandr --addmode HDMI1 3480x2160_60.00
Then my new resolution appears in the Monitor Preferences drop-down, but when I select it and Apply, I get this box in the top right corner of the monitor for a few seconds:
The selected configuration for displays could not be applied
could not set the configuration for CRTC 101
I saw in another post someone asked for this information:
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: GK107M [GeForce GT 650M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: driver=nouveau latency=0
resources: irq:28 memory:f0000000-f0ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128)
*-display
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:29 memory:f1000000-f13fffff memory:e0000000-efffffff ioport:4000(size=64) memory:c0000-dffff
$
I don't know what to try next. Please help! Your assistance will be most appreciated.
Originally, 1920x1080 was the highest resolution in the Monitor Preferences dialog, then I ran:
$ xrandr | grep maximum
Screen 0: minimum 8 x 8, current 3480 x 2160, maximum 32767 x 32767
$ gtf 3480 2160 60
# 3480x2160 @ 60.00 Hz (GTF) hsync: 134.10 kHz; pclk: 646.90 MHz
Modeline "3480x2160_60.00" 646.90 3480 3768 4152 4824 2160 2161 2164 2235 -HSync +Vsync
$ xrandr --newmode "3480x2160_60.00" 646.90 3480 3768 4152 4824 2160 2161 2164 2235 -HSync +Vsync
$ xrandr --addmode HDMI1 3480x2160_60.00
Then my new resolution appears in the Monitor Preferences drop-down, but when I select it and Apply, I get this box in the top right corner of the monitor for a few seconds:
The selected configuration for displays could not be applied
could not set the configuration for CRTC 101
I saw in another post someone asked for this information:
$ sudo lshw -c video
*-display
description: VGA compatible controller
product: GK107M [GeForce GT 650M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: driver=nouveau latency=0
resources: irq:28 memory:f0000000-f0ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128)
*-display
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:29 memory:f1000000-f13fffff memory:e0000000-efffffff ioport:4000(size=64) memory:c0000-dffff
$
I don't know what to try next. Please help! Your assistance will be most appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: could not set the configuration for CRTC 101
Are you certain that that GPU even supports the kinds of resolutions you're attempting to get?
Please post the output of this terminal command:
Code: Select all
inxi -Fxz
[ⅽode]
and [/ⅽode]
code markers by selecting </>
from the mini toolbar above the textbox where you type your reply. Note that it's a capital F
in that command, followed by lower case xz
."There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: could not set the configuration for CRTC 101
Thanks for your reply catweazel! I'm not sure of anything, but I'm hopeful
Hmmm, the word "FAILED" is in red and that's pretty scary.
Does
Thanks in advance for your reply!
Code: Select all
$ inxi -Fxz
System: Host: slim Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3)
Distro: Linux Mint 18.3 Sylvia
Machine: System: SAMSUNG product: 700Z7C v: 0.1
Mobo: SAMSUNG model: NP700Z7C-S01UB v: FAB1
Bios: Phoenix v: P03ABP date: 09/18/2012
CPU: Quad core Intel Core i7-3635QM (-HT-MCP-) cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19156
clock speeds: max: 3400 MHz 1: 3263 MHz 2: 3276 MHz 3: 3262 MHz
4: 3296 MHz 5: 3199 MHz 6: 3199 MHz 7: 3199 MHz 8: 3199 MHz
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller
bus-ID: 00:02.0
Card-2: NVIDIA GK107M [GeForce GT 650M] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
Resolution: 1920x1080@60.00hz
GLX Renderer: Mesa DRI Intel Ivybridge Mobile
GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes
Audio: Card Intel 7 Series/C210 Series Family High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network: Card-1: Intel Centrino Advanced-N 6235
driver: iwlwifi bus-ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 1008.2GB (8.7% used)
ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB
ID-2: /dev/sdb model: SanDisk_SSD_i100 size: 8.0GB
Partition: ID-1: / size: 94G used: 8.5G (10%) fs: ext4 dev: /dev/sda3
ID-2: /home size: 188G used: 66G (37%) fs: ext4 dev: /dev/sda5
ID-3: swap-1 size: 8.19GB used: 0.41GB (5%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 69.0C mobo: 29.8C gpu: 51.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 257 Uptime: 14 days Memory: 3425.7/7604.9MB
Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.481) inxi: 2.2.35
$
Does
Resolution: 1920x1080@60.00hz
mean it won't go any higher than that, or is it because that's what it's set to currently?Thanks in advance for your reply!
Re: could not set the configuration for CRTC 101
No Nvidia expert but I'm not so sure a 2012 model will support HIDPI myself. I'm also a bit concerned about nouveau failing to load but perhaps someone who knows more about all their cards will pipe in.
Have you tried Driver Manager for that nvidia card? According to this ...
https://www.nvidia.com/Download/driverR ... 3709/en-us
... I suspect you'd juist get the nvidia legacy (304). You wouldn;t get an Intel card listed in Driver Manager.
Have you tried Driver Manager for that nvidia card? According to this ...
https://www.nvidia.com/Download/driverR ... 3709/en-us
... I suspect you'd juist get the nvidia legacy (304). You wouldn;t get an Intel card listed in Driver Manager.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Re: could not set the configuration for CRTC 101
Thank you for the reply, Hoser Rob!
I've been investigating this further and it seems that the NVIDIA drivers were either not installed or disabled. Among other things, I ran
Eventually I figured out that I'm specifically using a NVIDIA OPTIMUS card which apparently has some historical incompatibilities, leading to some bad advice that didn't solve the problem.
Then, I came upon the Mint 18.3 MATE release notes and, as instructed, ran the Driver Manager and rebooted. It says "a system tray icon should show up indicating which GPU is currently active" but that didn't happen. However, still searching for a solution I discovered that I do have the "NVIDIA X Server Settings" app and its PRIME Profiles screen shows that it is now using "NVIDIA (Performance Mode)".
Note that the NVIDIA driver version is 384 which is apparently more appropriate than the 304 legacy driver you mentioned, Hoser Rob. But I used the search feature on the NVIDIA page and, there, it seemed to recommend Linux x64 (AMD64/EM64T) Display Driver Version 410.78. So I downloaded it, booted to a root prompt and ran it, but it eventually gave this error:
And the aforementioned log file ends with half a dozen errors like:
The only thing that appears to be different between the errors is the decimal value after 199.
I can still
Which is the same as before except that "101" is now "64". When I turn the monitor back on in the dialog, the menu option is no longer there.
I appreciate any and all suggestions for resolving this issue. I want my 3480x2160!
I've been investigating this further and it seems that the NVIDIA drivers were either not installed or disabled. Among other things, I ran
sudo apt-get purge nvidia*
a while back, then edited the grub menu to include nomodeset
which resolved the FAILED: nouveau
problem.Eventually I figured out that I'm specifically using a NVIDIA OPTIMUS card which apparently has some historical incompatibilities, leading to some bad advice that didn't solve the problem.
Then, I came upon the Mint 18.3 MATE release notes and, as instructed, ran the Driver Manager and rebooted. It says "a system tray icon should show up indicating which GPU is currently active" but that didn't happen. However, still searching for a solution I discovered that I do have the "NVIDIA X Server Settings" app and its PRIME Profiles screen shows that it is now using "NVIDIA (Performance Mode)".
lsmod
shows nothing for nouveau and the following for nvidia:Code: Select all
nvidia_uvm 671744 0
nvidia_drm 45056 7
nvidia_modeset 860160 2 nvidia_drm
nvidia 13156352 145 nvidia_modeset,nvidia_uvm
drm_kms_helper 151552 2 i915,nvidia_drm
drm 352256 6 i915,nvidia_drm,drm_kms_helper
inxi -Fxz
shows this:
Code: Select all
Graphics: Card-1: Intel 3rd Gen Core processor Graphics Controller
bus-ID: 00:02.0
Card-2: NVIDIA GK107M [GeForce GT 650M] bus-ID: 01:00.0
Display Server: X.Org 1.18.4 driver: nvidia
Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
GLX Renderer: GeForce GT 650M/PCIe/SSE2
GLX Version: 4.5.0 NVIDIA 384.130 Direct Rendering: Yes
Code: Select all
ERROR: Unable to load the kernel module 'nvidia-modeset.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA GPU(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
Code: Select all
[ 199.364266] nvidia-modeset: Version mismatch: nvidia.ko(410.78) nvidia-modeset.ko(384.130)
[ 199.423892] NVRM: API mismatch: the client has the version 384.130, but
NVRM: this kernel module has the version 410.78. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
I can still
gtf
and xrandr --addmode
(although now I have to specify HDMI-1-1
!?) and the new option shows up in the Monitor Preferences dialog, but selecting it results in that monitor being turned off (in Monitor Preferences) with the error popup:Code: Select all
The selected configuration for displays could not be applied
could not set the configuration for CRTC 64
I appreciate any and all suggestions for resolving this issue. I want my 3480x2160!
Re: could not set the configuration for CRTC 101
Oops, sorry, the log file that I neglected to mention isAnd the aforementioned log file ends with half a dozen errors like:
/var/log/nvidia-installer.log
.Re: could not set the configuration for CRTC 101
More information...
My
After searching for that and coming across https://askubuntu.com/questions/462122/ ... 40-monitor, I started playing around trying to create different new modes and assign them.
I was able to create a puny 320x240@60 mode for the HDMI, but not some other imaginary modes larger than 1920x1080. Then I started to suspect that maybe the NVIDIA isn't actually being used at all, and I tried the modes mentioned in that article:
This does NOT work:
And THIS does NOT work:
But the following DOES work:
Which suggests to me that it's using the INTEL graphics adapter instead of the NVIDIA. Any thoughts?
Does anyone know how I can force it to use the NVIDIA driver instead of the Intel driver?
Thanks in advance,
Andrew
My
/var/log/Xorg.0.log
contains the following message when I try to set the resolution:Code: Select all
[ 1540.028] (EE) modeset(G0): failed to set mode: Invalid argument
I was able to create a puny 320x240@60 mode for the HDMI, but not some other imaginary modes larger than 1920x1080. Then I started to suspect that maybe the NVIDIA isn't actually being used at all, and I tried the modes mentioned in that article:
This does NOT work:
Code: Select all
$ xrandr --newmode "3480x2160_30.00" 307.40 3480 3696 4072 4664 2160 2161 2164 2197 -HSync +Vsync
$ xrandr --addmode HDMI-1-1 3480x2160_30.00
Code: Select all
$ xrandr --newmode "2560x1440_60.00" 311.83 2560 2744 3024 3488 1440 1441 1444 1490 -HSync +Vsync
$ xrandr --addmode HDMI-1-1 2560x1440_60.00
But the following DOES work:
Code: Select all
xrandr --newmode "2560x1440_30.00" 146.27 2560 2680 2944 3328 1440 1441 1444 1465 -HSync +Vsync
$ xrandr --addmode HDMI-1-1 2560x1440_30.00
Does anyone know how I can force it to use the NVIDIA driver instead of the Intel driver?
Thanks in advance,
Andrew
Re: could not set the configuration for CRTC 101
1. For Optimus systems, the Nvidia driver should not be downloaded from Nvidia’s website because the nvidia-installer will overwrite the OpenGL libraries used by the Intel GPU, resulting in software rendering when the Intel GPU is selected.
Did you remove that driver?
2. When you open the Nvidia Settings utility to the X Server Display Configuration page, does
3. Use this command and post the output, with the external monitor connected:
The GeForce GT 650M’s maximum supported resolution is 3480x2160.
According to this web page, your system has Intel® HD Graphics 4000 graphics:
https://ark.intel.com/products/71460/In ... -3-40-GHz-
Some further research shows the maximum supported resolution is 2560x1600. So it will depend on if the HDMI port is physically connected internally to the Intel or Nvidia GPU.
The info on this web page says the 3480x2160 resolution is possible with Intel® HD Graphics 4000 graphics with a
So a modeline would need to be generated that has a pixel clock under 225 MHz. Only a reduced blanking mode with a 24 Hz refresh rate would work.
Did you remove that driver?
2. When you open the Nvidia Settings utility to the X Server Display Configuration page, does
PRIME Display
appear on both the laptop and external monitor screens?3. Use this command and post the output, with the external monitor connected:
xrandr --verbose
The GeForce GT 650M’s maximum supported resolution is 3480x2160.
According to this web page, your system has Intel® HD Graphics 4000 graphics:
https://ark.intel.com/products/71460/In ... -3-40-GHz-
Some further research shows the maximum supported resolution is 2560x1600. So it will depend on if the HDMI port is physically connected internally to the Intel or Nvidia GPU.
The info on this web page says the 3480x2160 resolution is possible with Intel® HD Graphics 4000 graphics with a
24 Hz
refresh rate:
https://communities.intel.com/thread/56530The trick is to keep the pixel clock to less than the 225Mhz HDMI maximum for this hardware.
So a modeline would need to be generated that has a pixel clock under 225 MHz. Only a reduced blanking mode with a 24 Hz refresh rate would work.
Re: could not set the configuration for CRTC 101
Hi, roblm! Thank you very much, that all appears to be valuable information and I will definitely try it out... BUT now my hard disk is starting to throw errors like crazy so I have ordered a replacement (SSD) before I lose everything! Once I get the new drive installed and a clean copy of Mint on it, I will try your suggestions.
FWIW, I don't recall seeing "PRIME display" on either screen.
I think part of the problem, also, is that I was using HDMI... and from what I have read, HDMI itself can't support 3480x2160... so I have also ordered a DP-to-MiniDP cable so I can connect the monitor using DisplayPort instead of HDMI.
Thanks again for your message!
FWIW, I don't recall seeing "PRIME display" on either screen.
I think part of the problem, also, is that I was using HDMI... and from what I have read, HDMI itself can't support 3480x2160... so I have also ordered a DP-to-MiniDP cable so I can connect the monitor using DisplayPort instead of HDMI.
Thanks again for your message!
Re: could not set the configuration for CRTC 101
HDMI 1.4, which was released in June of 2009, supports 4K (3820x2160) but only up to 30 Hz.
HDMI 2.0, which was released in September of 2013, supports 4K at 60 Hz.
https://www.avadirect.com/blog/displayp ... vi-vs-vga/
https://www.hdmi.org/manufacturer/hdmi_1_4/
HDMI 2.0, which was released in September of 2013, supports 4K at 60 Hz.
https://www.avadirect.com/blog/displayp ... vi-vs-vga/
https://www.hdmi.org/manufacturer/hdmi_1_4/
Re: could not set the configuration for CRTC 101
Thanks again, roblm!
I did a clean install of Mint 18.3 MATE with 3rd party software on my new SSD and attached the new monitor via my new DisplayPort cable and it automatically used the correct (3480x2160) resolution (at 30Hz, which is the highest refresh rate listed for that resolution).
Prior to the reinstall w/DP-cable, the highest resolution I was able to get over HDMI was 2560x1600 @ 24Hz using this:
Based on what you said, I'm guessing maybe my HDMI port on the laptop didn't support HDMI 1.4 or later.
Thank you everyone!
I did a clean install of Mint 18.3 MATE with 3rd party software on my new SSD and attached the new monitor via my new DisplayPort cable and it automatically used the correct (3480x2160) resolution (at 30Hz, which is the highest refresh rate listed for that resolution).
Prior to the reinstall w/DP-cable, the highest resolution I was able to get over HDMI was 2560x1600 @ 24Hz using this:
Code: Select all
xrandr --newmode "2560x1600_24.00" 128.31 2560 2664 2928 3296 1600 1601 1604 1622 -HSync +Vsync
xrandr --addmode HDMI-1-1 2560x1600_24.00
xrandr --output HDMI-1-1 --mode 2560x1600_24.00
Thank you everyone!
Re: could not set the configuration for CRTC 101
The gtf tool was designed for older CRT monitors. The cvt tool can generate reduced blanking modes but only using refresh rates of 60 Hz or multiples of it.
Reduced blanking modes use a lower pixel clock and timings and is used by most LCD monitors today.
The umc tool (universal modeline calculator) can generate a reduced blanking mode at 24 Hz which is under the maximum 225 MHz pixel clock.
Reduced blanking modes use a lower pixel clock and timings and is used by most LCD monitors today.
The umc tool (universal modeline calculator) can generate a reduced blanking mode at 24 Hz which is under the maximum 225 MHz pixel clock.
umc 3840 2160 24 --rbt
# 3840x2160x24.00 @ 52.438kHz
Modeline "3840x2160x24.00" 209.75 3840 3888 3920 4000 2160 2163 2167 2185 +HSync -VSync