Change:
My current gnome setup is detecting an additional monitor that does not exist. Essentially the same as described in but on current nixos-unstable. The symptoms are exactly the same for me: <details<summaryOutput</summary<preScreen 0: minimum 16 x 16, current 7680 x 1440, maximum x DP-2 connected 2560x1440+0+0 (0x27) normal (normal left inverted right x axis y axis) 600mm x 340mm Identifier: 0x21 Timestamp: 7754 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 0.0 Clones: CRTC: 1 CRTCs: 1 Transform: 1. 0. 0. 0. 1. 0. 0. 0. 1. filter: RANDR Emulation: 1 non-desktop: 0 supported: 0, 1 2560x1440 (0x27) 808.750MHz -HSync +VSync current +preferred h: width 2560 start 2792 end 3072 total 3584 skew 0 clock 225.66KHz v: height 1440 start 1443 end 1448 total 1568 clock 143.91Hz 1920x1440 (0x28) 606.500MHz -HSync +VSync h: width 1920 start 2096 end 2304 total 2688 skew 0 clock 225.63KHz v: height 1440 start 1443 end 1447 total 1568 clock 143.90Hz 1600x1200 (0x29) 418.250MHz -HSync +VSync h: width 1600 start 1736 end 1912 total 2224 skew 0 clock 188.06KHz v: height 1200 start 1203 end 1207 total 1307 clock 143.89Hz 1440x1080 (0x2a) 338.500MHz -HSync +VSync h: width 1440 start 1568 end 1720 total 2000 skew 0 clock 169.25KHz v: height 1080 start 1083 end 1087 total 1177 clock 143.80Hz 1400x1050 (0x2b) 320.000MHz -HSync +VSync h: width 1400 start 1520 end 1672 total 1944 skew 0 clock 164.61KHz v: height 1050 start 1053 end 1057 total 1144 clock 143.89Hz 1280x1024 (0x2c) 285.000MHz -HSync +VSync h: width 1280 start 1392 end 1528 total 1776 skew 0 clock 160.47KHz v: height 1024 start 1027 end 1034 total 1116 clock 143.79Hz 1280x960 (0x2d) 267.250MHz -HSync +VSync h: width 1280 start 1392 end 1528 total 1776 skew 0 clock 150.48KHz v: height 960 start 963 end 967 total 1046 clock 143.86Hz 1152x864 (0x2e) 214.750MHz -HSync +VSync h: width 1152 start 1248 end 1368 total 1584 skew 0 clock 135.57KHz v: height 864 start 867 end 871 total 942 clock 143.92Hz 1024x768 (0x2f) 169.750MHz -HSync +VSync h: width 1024 start 1112 end 1216 total 1408 skew 0 clock 120.56KHz v: height 768 start 771 end 775 total 838 clock 143.87Hz 800x600 (0x30) 102.500MHz -HSync +VSync h: width 800 start 864 end 944 total 1088 skew 0 clock 94.21KHz v: height 600 start 603 end 607 total 655 clock 143.83Hz 640x480 (0x31) 65.250MHz -HSync +VSync h: width 640 start 688 end 752 total 864 skew 0 clock 75.52KHz v: height 480 start 483 end 487 total 525 clock 143.85Hz 320x240 (0x32) 15.000MHz -HSync +VSync h: width 320 start 336 end 360 total 400 skew 0 clock 37.50KHz v: height 240 start 243 end 247 total 264 clock 142.05Hz 1920x1200 (0x33) 502.500MHz -HSync +VSync h: width 1920 start 2088 end 2296 total 2672 skew 0 clock 188.06KHz v: height 1200 start 1203 end 1209 total 1307 clock 143.89Hz 1680x1050 (0x34) 384.500MHz -HSync +VSync h: width 1680 start 1824 end 2008 total 2336 skew 0 clock 164.60KHz v: height 1050 start 1053 end 1059 total 1144 clock 143.88Hz 1440x900 (0x35) 280.000MHz -HSync +VSync h: width 1440 start 1560 end 1712 total 1984 skew 0 clock 141.13KHz v: height 900 start 903 end 909 total 981 clock 143.86Hz 1280x800 (0x36) 221.000MHz -HSync +VSync h: width 1280 start 1384 end 1520 total 1760 skew 0 clock 125.57KHz v: height 800 start 803 end 809 total 873 clock 143.84Hz 1152x720 (0x37) 179.000MHz -HSync +VSync h: width 1152 start 1248 end 1368 total 1584 skew 0 clock 113.01KHz v: height 720 start 723 end 729 total 786 clock 143.77Hz 960x600 (0x38) 122.000MHz -HSync +VSync h: width 960 start 1032 end 1128 total 1296 skew 0 clock 94.14KHz v: height 600 start 603 end 609 total 655 clock 143.72Hz 928x580 (0x39) 115.000MHz -HSync +VSync h: width 928 start 1000 end 1096 total 1264 skew 0 clock 90.98KHz v: height 580 start 583 end 589 total 634 clock 143.50Hz 800x500 (0x3a) 84.250MHz -HSync +VSync h: width 800 start 856 end 936 total 1072 skew 0 clock 78.59KHz v: height 500 start 503 end 509 total 547 clock 143.68Hz 768x480 (0x3b) 77.250MHz -HSync +VSync h: width 768 start 816 end 896 total 1024 skew 0 clock 75.44KHz v: height 480 start 483 end 489 total 525 clock 143.69Hz 720x480 (0x3c) 72.500MHz -HSync +VSync h: width 720 start 768 end 840 total 960 skew 0 clock 75.52KHz v: height 480 start 483 end 493 total 525 clock 143.85Hz 640x400 (0x3d) 53.250MHz -HSync +VSync h: width 640 start 680 end 744 total 848 skew 0 clock 62.79KHz v: height 400 start 403 end 409 total 438 clock 143.37Hz 320x200 (0x3e) 12.500MHz -HSync +VSync h: width 320 start 336 end 360 total 400 skew 0 clock 31.25KHz v: height 200 start 203 end 209 total 221 clock 141.40Hz 2048x1152 (0x3f) 514.250MHz -HSync +VSync h: width 2048 start 2224 end 2448 total 2848 skew 0 clock 180.57KHz v: height 1152 start 1155 end 1160 total 1255 clock 143.88Hz 1920x1080 (0x40) 452.500MHz -HSync +VSync h: width 1920 start 2088 end 2296 total 2672 skew 0 clock 169.35KHz v: height 1080 start 1083 end 1088 total 1177 clock 143.88Hz 1600x900 (0x41) 311.750MHz -HSync +VSync h: width 1600 start 1736 end 1904 total 2208 skew 0 clock 141.19KHz v: height 900 start 903 end 908 total 981 clock 143.93Hz 1368x768 (0x42) 226.500MHz -HSync +VSync h: width 1368 start 1480 end 1624 total 1880 skew 0 clock 120.48KHz v: height 768 start 771 end 781 total 838 clock 143.77Hz 1280x720 (0x43) 198.750MHz -HSync +VSync h: width 1280 start 1384 end 1520 total 1760 skew 0 clock 112.93KHz v: height 720 start 723 end 728 total 786 clock 143.67Hz 1024x576 (0x44) 126.000MHz -HSync +VSync h: width 1024 start 1104 end 1208 total 1392 skew 0 clock 90.52KHz v: height 576 start 579 end 584 total 629 clock 143.91Hz 864x486 (0x45) 89.250MHz -HSync +VSync h: width 864 start 928 end 1016 total 1168 skew 0 clock 76.41KHz v: height 486 start 489 end 494 total 532 clock 143.63Hz 720x400 (0x46) 60.500MHz -HSync +VSync h: width 720 start 768 end 840 total 960 skew 0 clock 63.02KHz v: height 400 start 403 end 413 total 438 clock 143.88Hz 640x350 (0x47) 46.750MHz -HSync +VSync h: width 640 start 680 end 744 total 848 skew 0 clock 55.13KHz v: height 350 start 353 end 363 total 384 clock 143.57Hz DP-3 connected primary 2560x1440+2560+0 (0x27) normal (normal left inverted right x axis y axis) 600mm x 340mm Identifier: 0x23 Timestamp: 7754 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 0.0 Clones: CRTC: 0 CRTCs: 0 Transform: 1. 0. 0. 0. 1. 0. 0. 0. 1. filter: RANDR Emulation: 1 non-desktop: 0 supported: 0, 1 2560x1440 (0x27) 808.750MHz -HSync +VSync current +preferred h: width 2560 start 2792 end 3072 total 3584 skew 0 clock 225.66KHz v: height 1440 start 1443 end 1448 total 1568 clock 143.91Hz 1920x1440 (0x28) 606.500MHz -HSync +VSync h: width 1920 start 2096 end 2304 total 2688 skew 0 clock 225.63KHz v: height 1440 start 1443 end 1447 total 1568 clock 143.90Hz 1600x1200 (0x29) 418.250MHz -HSync +VSync h: width 1600 start 1736 end 1912 total 2224 skew 0 clock 188.06KHz v: height 1200 start 1203 end 1207 total 1307 clock 143.89Hz 1440x1080 (0x2a) 338.500MHz -HSync +VSync h: width 1440 start 1568 end 1720 total 2000 skew 0 clock 169.25KHz v: height 1080 start 1083 end 1087 total 1177 clock 143.80Hz 1400x1050 (0x2b) 320.000MHz -HSync +VSync h: width 1400 start 1520 end 1672 total 1944 skew 0 clock 164.61KHz v: height 1050 start 1053 end 1057 total 1144 clock 143.89Hz 1280x1024 (0x2c) 285.000MHz -HSync +VSync h: width 1280 start 1392 end 1528 total 1776 skew 0 clock 160.47KHz v: height 1024 start 1027 end 1034 total 1116 clock 143.79Hz 1280x960 (0x2d) 267.250MHz -HSync +VSync h: width 1280 start 1392 end 1528 total 1776 skew 0 clock 150.48KHz v: height 960 start 963 end 967 total 1046 clock 143.86Hz 1152x864 (0x2e) 214.750MHz -HSync +VSync h: width 1152 start 1248 end 1368 total 1584 skew 0 clock 135.57KHz v: height 864 start 867 end 871 total 942 clock 143.92Hz 1024x768 (0x2f) 169.750MHz -HSync +VSync h: width 1024 start 1112 end 1216 total 1408 skew 0 clock 120.56KHz v: height 768 start 771 end 775 total 838 clock 143.87Hz 800x600 (0x30) 102.500MHz -HSync +VSync h: width 800 start 864 end 944 total 1088 skew 0 clock 94.21KHz v: height 600 start 603 end 607 total 655 clock 143.83Hz 640x480 (0x31) 65.250MHz -HSync +VSync h: width 640 start 688 end 752 total 864 skew 0 clock 75.52KHz v: height 480 start 483 end 487 total 525 clock 143.85Hz 320x240 (0x32) 15.000MHz -HSync +VSync h: width 320 start 336 end 360 total 400 skew 0 clock 37.50KHz v: height 240 start 243 end 247 total 264 clock 142.05Hz 1920x1200 (0x33) 502.500MHz -HSync +VSync h: width 1920 start 2088 end 2296 total 2672 skew 0 clock 188.06KHz v: height 1200 start 1203 end 1209 total 1307 clock 143.89Hz 1680x1050 (0x34) 384.500MHz -HSync +VSync h: width 1680 start 1824 end 2008 total 2336 skew 0 clock 164.60KHz v: height 1050 start 1053 end 1059 total 1144 clock 143.88Hz 1440x900 (0x35) 280.000MHz -HSync +VSync h: width 1440 start 1560 end 1712 total 1984 skew 0 clock 141.13KHz v: height 900 start 903 end 909 total 981 clock 143.86Hz 1280x800 (0x36) 221.000MHz -HSync +VSync h: width 1280 start 1384 end 1520 total 1760 skew 0 clock 125.57KHz v: height 800 start 803 end 809 total 873 clock 143.84Hz 1152x720 (0x37) 179.000MHz -HSync +VSync h: width 1152 start 1248 end 1368 total 1584 skew 0 clock 113.01KHz v: height 720 start 723 end 729 total 786 clock 143.77Hz 960x600 (0x38) 122.000MHz -HSync +VSync h: width 960 start 1032 end 1128 total 1296 skew 0 clock 94.14KHz v: height 600 start 603 end 609 total 655 clock 143.72Hz 928x580 (0x39) 115.000MHz -HSync +VSync h: width 928 start 1000 end 1096 total 1264 skew 0 clock 90.98KHz v: height 580 start 583 end 589 total 634 clock 143.50Hz 800x500 (0x3a) 84.250MHz -HSync +VSync h: width 800 start 856 end 936 total 1072 skew 0 clock 78.59KHz v: height 500 start 503 end 509 total 547 clock 143.68Hz 768x480 (0x3b) 77.250MHz -HSync +VSync h: width 768 start 816 end 896 total 1024 skew 0 clock 75.44KHz v: height 480 start 483 end 489 total 525 clock 143.69Hz 720x480 (0x3c) 72.500MHz -HSync +VSync h: width 720 start 768 end 840 total 960 skew 0 clock 75.52KHz v: height 480 start 483 end 493 total 525 clock 143.85Hz 640x400 (0x3d) 53.250MHz -HSync +VSync h: width 640 start 680 end 744 total 848 skew 0 clock 62.79KHz v: height 400 start 403 end 409 total 438 clock 143.37Hz 320x200 (0x3e) 12.500MHz -HSync +VSync h: width 320 start 336 end 360 total 400 skew 0 clock 31.25KHz v: height 200 start 203 end 209 total 221 clock 141.40Hz 2048x1152 (0x3f) 514.250MHz -HSync +VSync h: width 2048 start 2224 end 2448 total 2848 skew 0 clock 180.57KHz v: height 1152 start 1155 end 1160 total 1255 clock 143.88Hz 1920x1080 (0x40) 452.500MHz -HSync +VSync h: width 1920 start 2088 end 2296 total 2672 skew 0 clock 169.35KHz v: height 1080 start 1083 end 1088 total 1177 clock 143.88Hz 1600x900 (0x41) 311.750MHz -HSync +VSync h: width 1600 start 1736 end 1904 total 2208 skew 0 clock 141.19KHz v: height 900 start 903 end 908 total 981 clock 143.93Hz 1368x768 (0x42) 226.500MHz -HSync +VSync h: width 1368 start 1480 end 1624 total 1880 skew 0 clock 120.48KHz v: height 768 start 771 end 781 total 838 clock 143.77Hz 1280x720 (0x43) 198.750MHz -HSync +VSync h: width 1280 start 1384 end 1520 total 1760 skew 0 clock 112.93KHz v: height 720 start 723 end 728 total 786 clock 143.67Hz 1024x576 (0x44) 126.000MHz -HSync +VSync h: width 1024 start 1104 end 1208 total 1392 skew 0 clock 90.52KHz v: height 576 start 579 end 584 total 629 clock 143.91Hz 864x486 (0x45) 89.250MHz -HSync +VSync h: width 864 start 928 end 1016 total 1168 skew 0 clock 76.41KHz v: height 486 start 489 end 494 total 532 clock 143.63Hz 720x400 (0x46) 60.500MHz -HSync +VSync h: width 720 start 768 end 840 total 960 skew 0 clock 63.02KHz v: height 400 start 403 end 413 total 438 clock 143.88Hz 640x350 (0x47) 46.750MHz -HSync +VSync h: width 640 start 680 end 744 total 848 skew 0 clock 55.13KHz v: height 350 start 353 end 363 total 384 clock 143.57Hz None-1 connected 2560x1440+5120+0 (0x48) normal (normal left inverted right x axis y axis) 677mm x 381mm Identifier: 0x25 Timestamp: 7754 Subpixel: unknown Gamma: 1.0:1.0:1.0 Brightness: 0.0 Clones: CRTC: 2 CRTCs: 2 Transform: 1. 0. 0. 0. 1. 0. 0. 0. 1. filter: RANDR Emulation: 1 non-desktop: 0 supported: 0, 1 2560x1440 (0x48) 312.250MHz -HSync +VSync *current +preferred h: width 2560 start 2752 end 3024 total 3488 skew 0 clock 89.52KHz v: height 1440 start 1443 end 1448 total 1493 clock 59.96Hz 1920x1440 (0x49) 233.500MHz -HSync +VSync h: width 1920 start 2064 end 2264 total 2608 skew 0 clock 89.53KHz v: height 1440 start 1443 end 1447 total 1493 clock 59.97Hz 1600x1200 (0x4a) 161.000MHz -HSync +VSync h: width 1600 start 1712 end 1880 total 2160 skew 0 clock 74.54KHz v: height 1200 start 1203 end 1207 total 1245 clock 59.87Hz 1440x1080 (0x4b) 129.000MHz -HSync +VSync h: width 1440 start 1528 end 1680 total 1920 skew 0 clock 67.19KHz v: height 1080 start 1083 end 1087 total 1120 clock 59.99Hz 1400x1050 (0x4c) 121.750MHz -HSync +VSync h: width 1400 start 1488 end 1632 total 1864 skew 0 clock 65.32KHz v: height 1050 start 1053 end 1057 total 1089 clock 59.98Hz 1280x1024 (0x4d) 109.000MHz -HSync +VSync h: width 1280 start 1368 end 1496 total 1712 skew 0 clock 63.67KHz v: height 1024 start 1027 end 1034 total 1063 clock 59.89Hz 1280x960 (0x4e) 101.250MHz -HSync +VSync h: width 1280 start 1360 end 1488 total 1696 skew 0 clock 59.70KHz v: height 960 start 963 end 967 total 996 clock 59.94Hz 1152x864 (0x4f) 81.750MHz -HSync +VSync h: width 1152 start 1216 end 1336 total 1520 skew 0 clock 53.78KHz v: height 864 start 867 end 871 total 897 clock 59.96Hz 1024x768 (0x50) 63.500MHz -HSync +VSync h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.82KHz v: height 768 start 771 end 775 total 798 clock 59.92Hz 800x600 (0x51) 38.250MHz -HSync +VSync h: width 800 start 832 end 912 total 1024 skew 0 clock 37.35KHz v: height 600 start 603 end 607 total 624 clock 59.86Hz 640x480 (0x52) 23.750MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 29.69KHz v: height 480 start 483 end 487 total 500 clock 59.38Hz 320x240 (0x53) 6.000MHz -HSync +VSync h: width 320 start 336 end 360 total 400 skew 0 clock 15.00KHz v: height 240 start 243 end 247 total 252 clock 59.52Hz 1920x1200 (0x54) 193.250MHz -HSync +VSync h: width 1920 start 2056 end 2256 total 2592 skew 0 clock 74.56KHz v: height 1200 start 1203 end 1209 total 1245 clock 59.88Hz 1680x1050 (0x55) 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 (0x56) 106.500MHz -HSync +VSync h: width 1440 start 1528 end 1672 total 1904 skew 0 clock 55.93KHz v: height 900 start 903 end 909 total 934 clock 59.89Hz 1280x800 (0x57) 83.500MHz -HSync +VSync h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.70KHz v: height 800 start 803 end 809 total 831 clock 59.81Hz 1152x720 (0x58) 66.750MHz -HSync +VSync h: width 1152 start 1208 end 1320 total 1488 skew 0 clock 44.86KHz v: height 720 start 723 end 729 total 748 clock 59.97Hz 960x600 (0x59) 45.250MHz -HSync +VSync h: width 960 start 992 end 1088 total 1216 skew 0 clock 37.21KHz v: height 600 start 603 end 609 total 624 clock 59.63Hz 928x580 (0x5a) 42.750MHz -HSync +VSync h: width 928 start 968 end 1056 total 1184 skew 0 clock 36.11KHz v: height 580 start 583 end 589 total 603 clock 59.88Hz 800x500 (0x5b) 30.750MHz -HSync +VSync h: width 800 start 824 end 896 total 992 skew 0 clock 31.00KHz v: height 500 start 503 end 509 total 521 clock 59.50Hz 768x480 (0x5c) 28.750MHz -HSync +VSync h: width 768 start 792 end 864 total 960 skew 0 clock 29.95KHz v: height 480 start 483 end 489 total 500 clock 59.90Hz 720x480 (0x5d) 26.750MHz -HSync +VSync h: width 720 start 744 end 808 total 896 skew 0 clock 29.85KHz v: height 480 start 483 end 493 total 500 clock 59.71Hz 640x400 (0x5e) 20.000MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 25.00KHz v: height 400 start 403 end 409 total 417 clock 59.95Hz 320x200 (0x5f) 5.000MHz -HSync +VSync h: width 320 start 336 end 360 total 400 skew 0 clock 12.50KHz v: height 200 start 203 end 209 total 212 clock 58.96Hz 2048x1152 (0x60) 197.000MHz -HSync +VSync h: width 2048 start 2184 end 2400 total 2752 skew 0 clock 71.58KHz v: height 1152 start 1155 end 1160 total 1195 clock 59.90Hz 1920x1080 (0x61) 173.000MHz -HSync +VSync 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 1600x900 (0x62) 118.250MHz -HSync +VSync h: width 1600 start 1696 end 1856 total 2112 skew 0 clock 55.99KHz v: height 900 start 903 end 908 total 934 clock 59.95Hz 1368x768 (0x63) 85.250MHz -HSync +VSync h: width 1368 start 1440 end 1576 total 1784 skew 0 clock 47.79KHz v: height 768 start 771 end 781 total 798 clock 59.88Hz 1280x720 (0x64) 74.500MHz -HSync +VSync h: width 1280 start 1344 end 1472 total 1664 skew 0 clock 44.77KHz v: height 720 start 723 end 728 total 748 clock 59.86Hz 1024x576 (0x65) 46.500MHz -HSync +VSync h: width 1024 start 1064 end 1160 total 1296 skew 0 clock 35.88KHz v: height 576 start 579 end 584 total 599 clock 59.90Hz 864x486 (0x66) 32.500MHz -HSync +VSync h: width 864 start 888 end 968 total 1072 skew 0 clock 30.32KHz v: height 486 start 489 end 494 total 506 clock 59.92Hz 720x400 (0x67) 22.250MHz -HSync +VSync h: width 720 start 744 end 808 total 896 skew 0 clock 24.83KHz v: height 400 start 403 end 413 total 417 clock 59.55Hz 640x350 (0x68) 17.500MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 21.88KHz v: height 350 start 353 end 363 total 366 clock 59.77Hz </pre</detailsAnd shows two cards: My configuration can be found here: ! The linked issue mentions the kernel param as a solution for this issue. I haven't tried that out yet. <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Please run and paste the result. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]:
Update: I tried out the following, as mentioned in the linked issue: And this seems to solve it. Although this way I didn't see any kernel logs on boot, which had me concerned for a second.
The linked issue also provides a link to a patch that supposedly fixes the issue in another way, but the link is broken as it points to master where the file does not exist anymore,
The patches were introduced in this commit and went away in this commit I don't see any reasoning or rationale for either their addition or their removal. Unfortunate!
Update on this: I had to revert to an older generation because Helldivers 2 did not start through steam. May be unrelated, but without this param the kernel logs were showing up again on boot. Not sure what's going on there
today everything worked fine with the settings, may have been an unrelated nixpkgs update tha caused the issues and not the kernel param
I'm at a loss to think what could be done in general for this case. Let's leave this open to see if there's something others think of, or if you wish, close it resolved with the workaround you found.
I had a chance to play around with this some more. I do think we should find a solution for this that just works OOTB. If the kernel param is the solution then it should be set automatically. Users of other distros similar issues, that are all solved by the kernel param mentioned above: PopOS: fedora: Nvidia forums: Arch linux: All of the links point out the same thing: the nvidia drivers don't work with simpledrm, which is a new kernel feature that replaced an old framebuffer. I searched nixpkgs and found the following commit that introduced simpledrm in NixOS: by (maybe you can help with this issue?) The timeline seems to match, I created this issue a couple of days after the commit. (I suspect that this is the time it took to get merged into nixos-unstable)
In the rpmfusion nvidia kmod () they are patching the C files to "Enable atomic kernel modesetting" and "Create a framebuffer device", <swhile nvidiafb is in my blacklisted kernel params after evaluation: </sThe rpmfusion nvidia kmod references the following lines in the open nvidia kernel module: Edit: nvidiafb is outdated
I would add a PR that adds the mentioned kernel param, since I tested it for a couple of weeks now. The only issues that I have with this is that I do not have any TTYs and I don't see any kernel logs on boot. For myself these are minor issues, but I think the solution in nixpkgs should not have these issues.
I started having this problem since I changed to unstable branch. The kernel param initcallblacklist=simpledrmplatformdriverinit is the only thing that solved it for me. I would prefer it to work oob without any drawbacks tho.
can you please confirm that when setting this param no TTYs are visible (accessible through strg+alt+number) and that no kernel log is visible on boot?
I confirm, there is no kernel log only two lines of text and TTY shows the same thing. !
I have same issue since recently update, and I need to put both below in kernelparams to remove unknown display. Also, same two line of panic messages after grub as above.
& Pinging you since you are the release managers for 24.05 and I think you should be aware of this before releasing Uakari. This seems to be a fundamental issue with the current Nvidia package and the Linux kernel in nixos unstable. I have not tested it in other DMs, but I don't think that this is gnome specific. I will test other kernel versions later today (aka pin nixpkgs to the parent of the commit that introduced simple drm, aka: )
Does it happen with the wayland of Gnome as well?
For me it happes only on Wayland, either Gnome or KDE Plasma 6. This doesn't happen in the stable branch.
I tried but I could not find the commit that introduced this. This is a bit hard to do because my current config does not work against this "old" nixpkgs, as some properties were renamed. And also the nvidia drivers are special when it comes to kernel version matching...
Zen Kernel doesn't have this problem for me and doesn't break TTY.
I can confirm that the zen kernel works fine. With the zen kernel the monitor is not detected, even when not using the kernel param.
Since you are the maintainers of the zen kernel in nixpkgs, do you have any insight on this?
That's a weird issue you got there. Unfortunately, I can't tell you what's happening or why that happens. First time for me hearing that. I will follow along. It's interesting. Maybe the maintainers of the latest one can say something about it?
I found a fedora kernel patch that skips simpledrm if nvidia-modeset=1 is set. I don't know if this could help fixing this issue:
Ahem, apparently I'd forgotten I've been using , so there was probably a recent-ish change there. I think it only happens on wayland because by default an X11 setup probably doesn't try to render with the second card. Blacklisting simpledrm with the is a no-go - it makes disk encryption prompts disappear, which will net us a lot of confusion at best.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
It seems to boil down to these two nvidia bugs: As per the upstream issues, rather than just disabling simpledrm (which will break the framebuffer), we should get nvidia to actually do that job: Then disabling simpledrm is no longer necessary either, as the hand-off seems to happen correctly. It's supposed to have been fixed in the kernel, but for some reason we're still hitting it. Would be interesting to know what kinds of kernels people are running?
I ran the nixpkgs latest kernel at the time of writing this issue. After a while I switched to the zen kernel where this issue doesn't occur. If you are interested in the exact output of uname -a then I will change my configuration again later.
I did a system update yesterday and found that the new version KWIN + kernel + nvidia will fallback to a very slow software renderer or just doesn't work. is needed to fix that.
Is there something actionable we can add to nixos-hardware to fix it?
this () also seems to have fixed it for me :slightlysmilingface:
This also fixed the issue for me. I tested it with the latest kernel of nixpkgs () and the following kernel parameters are set automatically: I close this issue as completed then
This issue has been mentioned on NixOS Discourse. There might be relevant details there:

Discussion:
Enabling this and using version 545 or newer of the proprietary NVIDIA driver causes it to provide its own framebuffer device, which can cause Wayland compositors to work when they otherwise wouldn't. <del> ''; </del> <ins> '' // { default = lib.versionAtLeast nvidia_x11.version "535"; defaultText = lib.literalExpression "lib.versionAtLeast nvidia_x11.version "535""; }; </ins> prime.nvidiaBusId = lib.mkOption { type = busIDType;