Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Arcade monitor 15khz linux patch kernel i915  (Read 3059 times)

0 Members and 1 Guest are viewing this topic.

mjnman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 18, 2022, 10:41:22 am
  • I want to build my own arcade controls!
Arcade monitor 15khz linux patch kernel i915
« on: July 02, 2020, 04:39:10 pm »
I patched a debian stretch with 15khz patch on https://github.com/D0023R/linux_kernel_15khz in kernel 5.4 and 5.6. My hardware is intel i3-8100 with integrated i915 graphics card and Asrock H310CM-HDV/M.2 main board.
I builded the cable from VGA to CGA arcade monitor with picture in attachment but I did not obtain an image.I edited the grub boot options with:

kernel 5.4 -> vga=785 video=DP-1:640x480ec
kernel 5.6 -> vga=785 video=DP-1:640x480ieS

and generate the xorg modeline with:

/usr/local/bin/lrmc 640 480 60 -cga -i
    # 640x480x60.00 @ 15.750kHz
    Modeline "640x480x30.00"  12.096000  640 656 720 768  480 488 494 525  -HSync -VSync interlace

but after boot I connected in ssh and obtain in dmes with output below and without

[    2.976458] [drm] Found a low dotclock mode for 640x480 (interlace: 1)
[    2.976460] ------------[ cut here ]------------
[    2.976464] WARN_ON(len <= 0)
[    2.976521] WARNING: CPU: 3 PID: 8 at drivers/gpu/drm/i915/display/intel_dp.c:1839 intel_dp_max_link_rate+0x5a/0x70 [i915]
[    2.976523] Modules linked in: intel_rapl_msr intel_rapl_common snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal ledtrig_audio intel_powerclamp msr coretemp kvm_intel i915 kvm irqbypass crc32_pclmul nls_ascii ghash_clmulni_intel nls_cp437 drm_kms_helper vfat aesni_intel fat cec snd_hda_intel libaes crypto_simd snd_intel_dspcfg snd_hda_codec drm cryptd snd_hda_core glue_helper snd_hwdep snd_pcm intel_cstate iTCO_wdt snd_timer intel_uncore i2c_algo_bit evdev mei_me serio_raw iTCO_vendor_support efi_pstore snd intel_rapl_perf mei pcspkr efivars soundcore watchdog ie31200_edac acpi_pad button parport_pc ppdev lp parport efivarfs ip_tables x_tables autofs4 ext4 hid_generic crc16 mbcache usbhid jbd2 hid crc32c_generic xhci_pci nvme crc32c_intel xhci_hcd psmouse nvme_core t10_pi crc_t10dif e1000e crct10dif_generic usbcore crct10dif_pclmul crct10dif_common ptp i2c_i801 pps_core usb_common video
[    2.976547] CPU: 3 PID: 8 Comm: kworker/u8:0 Not tainted 5.6.14-15khzpatch #1
[    2.976548] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H310CM-HDV/M.2, BIOS P4.20 05/14/2019
[    2.976552] Workqueue: events_unbound async_run_entry_fn
[    2.976589] RIP: 0010:intel_dp_max_link_rate+0x5a/0x70 [i915]
[    2.976591] Code: 00 eb 10 8b 32 89 c1 48 83 ea 04 83 e8 01 41 39 f0 7d 1f 85 c0 75 ec 48 c7 c6 3b d4 a5 c0 48 c7 c7 a8 d0 a5 c0 e8 01 3f ad e9 <0f> 0b b8 d0 78 02 00 c3 83 e9 01 48 63 c9 8b 84 8f 84 00 00 00 c3
[    2.976593] RSP: 0018:ffffaf53c008fbd0 EFLAGS: 00010286
[    2.976595] RAX: 0000000000000000 RBX: ffff8a04212ef000 RCX: 0000000000000000
[    2.976596] RDX: 0000000000000011 RSI: ffffffffaba3e391 RDI: 0000000000000246
[    2.976597] RBP: ffff8a0421397f00 R08: ffffffffaba3e380 R09: 000000000002c480
[    2.976598] R10: 0000000e058f4a34 R11: 0000000000000008 R12: ffff8a04212f0000
[    2.976599] R13: 00000000000a4cb8 R14: ffff8a04212ef120 R15: 0000000000003330
[    2.976601] FS:  0000000000000000(0000) GS:ffff8a0427d80000(0000) knlGS:0000000000000000
[    2.976602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.976603] CR2: 000055d077ac3008 CR3: 00000002620a4002 CR4: 00000000003606e0
[    2.976605] Call Trace:
[    2.976641]  intel_dp_mode_valid+0xa5/0x270 [i915]
[    2.976650]  drm_helper_probe_single_connector_modes+0x4e8/0x7b0 [drm_kms_helper]
[    2.976669]  drm_client_modeset_probe+0x275/0x1370 [drm]
[    2.976673]  ? __switch_to_asm+0x34/0x70
[    2.976674]  ? __switch_to_asm+0x40/0x70
[    2.976676]  ? __switch_to_asm+0x34/0x70
[    2.976677]  ? __switch_to_asm+0x40/0x70
[    2.976679]  ? __switch_to_asm+0x34/0x70
[    2.976680]  ? __switch_to_asm+0x40/0x70
[    2.976682]  ? __switch_to_asm+0x34/0x70
[    2.976683]  ? __switch_to_asm+0x40/0x70
[    2.976685]  ? __switch_to_asm+0x34/0x70
[    2.976686]  ? __switch_to_asm+0x40/0x70
[    2.976688]  ? __switch_to_asm+0x34/0x70
[    2.976694]  __drm_fb_helper_initial_config_and_unlock+0x44/0x490 [drm_kms_helper]
[    2.976697]  ? __switch_to_xtra+0x125/0x4d0
[    2.976698]  ? __switch_to_asm+0x34/0x70
[    2.976733]  intel_fbdev_initial_config+0x14/0x30 [i915]
[    2.976736]  async_run_entry_fn+0x39/0x160
[    2.976738]  process_one_work+0x1ad/0x370
[    2.976740]  worker_thread+0x30/0x390
[    2.976741]  ? create_worker+0x1a0/0x1a0
[    2.976743]  kthread+0x112/0x130
[    2.976744]  ? kthread_park+0x80/0x80
[    2.976746]  ret_from_fork+0x35/0x40
[    2.976748] ---[ end trace 4ee384bcf4edecc1 ]---

from remote ssh session with xrandr i saw these output:

$ xrandr -q
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
DP1 connected primary (normal left inverted right x axis y axis)
   1368x768      59.88 
   1360x768      59.80 
   1280x800      59.81 
   1152x864      60.00 
   1280x720      59.86 
   1024x768      60.00 
   1024x576      59.90 
   960x540       59.63 
   800x600       60.32 
   640x480       59.94 
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

but:

$ xrandr --output DP1 --mode 640x480
xrandr: Configure crtc 0 failed

I generated the modeline for xorg.conf with switchres and forced with xrandr or configuration but always "xrandr: Configure crtc 0 failed":

$ switchres 640 480 60 --edid
SwitchRes: Monitor type not specified. Using "generic_15"
#  640x480@60.00 15.6300Khz
   ModeLine          "640x480x60.00" 13.004160 640 664 728 832 480 482 488 521 -HSync -VSync interlace

$ xrandr --newmode "TEST" 13.004160 640 664 728 832 480 482 488 521 -HSync -VSync interlace
$ xrandr --addmode DP1 "TEST"
$ xrandr --output DP1 --mode "TEST"
xrandr: Configure crtc 0 failed

I tried to use an edid from "https://github.com/Ansa89/linux-15khz-patch/tree/master/edid" but xrand didn't find any video connection and always "Cannot find any crtc or sizes":

GRUB_CMDLINE_LINUX_DEFAULT="video=DP-1:e drm.edid_firmware=DP-1:edid/edid_arcade15.bin"

$ xrandr -q
xrandr: Output DP1 is not disconnected but has no modes
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
DP1 connected primary (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


[    3.488208] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    5.489351] platform DP-1: firmware: direct-loading firmware edid/edid_arcade15.bin
[    5.489410] [drm] Got external EDID base block and 0 extensions from "edid/edid_arcade15.bin" for connector "DP-1"
[    5.756359] ------------[ cut here ]------------
[    5.756360] WARN_ON(len <= 0)
[    5.756407] WARNING: CPU: 3 PID: 491 at drivers/gpu/drm/i915/display/intel_dp.c:1839 intel_dp_max_link_rate+0x5a/0x70 [i915]
[    5.756408] Modules linked in: intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel kvm snd_hda_codec_realtek irqbypass snd_hda_codec_generic crc32_pclmul ledtrig_audio msr ghash_clmulni_intel snd_hda_intel aesni_intel snd_intel_dspcfg nls_ascii libaes nls_cp437 snd_hda_codec crypto_simd cryptd i915 snd_hda_core vfat glue_helper snd_hwdep fat snd_pcm intel_cstate efi_pstore intel_uncore snd_timer drm_kms_helper snd iTCO_wdt cec evdev iTCO_vendor_support serio_raw efivars pcspkr watchdog intel_rapl_perf soundcore drm mei_me mei i2c_algo_bit ie31200_edac acpi_pad button parport_pc ppdev lp parport efivarfs ip_tables x_tables autofs4 hid_generic ext4 usbhid hid crc16 mbcache jbd2 crc32c_generic xhci_pci xhci_hcd crc32c_intel nvme e1000e psmouse nvme_core usbcore t10_pi ptp crc_t10dif pps_core crct10dif_generic i2c_i801 crct10dif_pclmul crct10dif_common usb_common video
[    5.756427] CPU: 3 PID: 491 Comm: Xorg Tainted: G        W         5.6.14-15khzpatch #1
[    5.756428] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H310CM-HDV/M.2, BIOS P4.20 05/14/2019
[    5.756455] RIP: 0010:intel_dp_max_link_rate+0x5a/0x70 [i915]
[    5.756456] Code: 00 eb 10 8b 32 89 c1 48 83 ea 04 83 e8 01 41 39 f0 7d 1f 85 c0 75 ec 48 c7 c6 3b 34 bc c0 48 c7 c7 a8 30 bc c0 e8 01 df b6 c8 <0f> 0b b8 d0 78 02 00 c3 83 e9 01 48 63 c9 8b 84 8f 84 00 00 00 c3
[    5.756457] RSP: 0018:ffffae3e4038fc08 EFLAGS: 00010286
[    5.756458] RAX: 0000000000000000 RBX: ffff953623a23000 RCX: 0000000000000000
[    5.756459] RDX: 0000000000000011 RSI: ffffffff8ac3e391 RDI: 0000000000000246
[    5.756460] RBP: ffff953624158900 R08: ffffffff8ac3e380 R09: 000000000002c480
[    5.756460] R10: 0000001055f2ecc6 R11: 00000000000001eb R12: ffff953626540000
[    5.756461] R13: 00000000000a4cb8 R14: ffff953623a23120 R15: 00000000000032c8
[    5.756462] FS:  00007f9d04200f00(0000) GS:ffff953627d80000(0000) knlGS:0000000000000000
[    5.756463] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    5.756463] CR2: 000055dd67c13910 CR3: 0000000263bbe006 CR4: 00000000003606e0
[    5.756464] Call Trace:
[    5.756492]  intel_dp_mode_valid+0xa5/0x270 [i915]
[    5.756500]  drm_helper_probe_single_connector_modes+0x4e8/0x7b0 [drm_kms_helper]
[    5.756518]  drm_mode_getconnector+0x3de/0x400 [drm]
[    5.756533]  ? drm_connector_property_set_ioctl+0x60/0x60 [drm]
[    5.756542]  drm_ioctl_kernel+0xac/0xf0 [drm]
[    5.756552]  drm_ioctl+0x201/0x3a0 [drm]
[    5.756565]  ? drm_connector_property_set_ioctl+0x60/0x60 [drm]
[    5.756569]  ksys_ioctl+0x86/0xc0
[    5.756571]  __x64_sys_ioctl+0x16/0x20
[    5.756573]  do_syscall_64+0x52/0x170
[    5.756575]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    5.756577] RIP: 0033:0x7f9d04930427
[    5.756578] Code: 00 00 90 48 8b 05 69 aa 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 aa 0c 00 f7 d8 64 89 01 48
[    5.756579] RSP: 002b:00007fffeb9cb7d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[    5.756580] RAX: ffffffffffffffda RBX: 000055dd67c13980 RCX: 00007f9d04930427
[    5.756581] RDX: 00007fffeb9cb860 RSI: 00000000c05064a7 RDI: 000000000000000d
[    5.756581] RBP: 00007fffeb9cb860 R08: 00007fffeb9e4090 R09: 0000000000000000
[    5.756582] R10: 0000000000000a8a R11: 0000000000000246 R12: 00000000c05064a7
[    5.756582] R13: 000000000000000d R14: 000000000000000b R15: 000055dd67c13880
[    5.756584] ---[ end trace 924cf694da40839c ]---

I tried one live linux with "GroovyArcade live-CD New Release 2020" option in line 16 ([DP-1 15khz]) but without output!! I heard the sound change and I watched keyboard blinking

Only a question...but the integrated i915 graphics card (i3 processor 8th serires) is supported with 15khz kernel patch?

Please, someone, save me from this madness. :badmood:
« Last Edit: July 02, 2020, 04:46:12 pm by mjnman »

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 846
  • Last login:July 11, 2025, 01:21:36 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #1 on: July 03, 2020, 11:31:31 am »
Use 5.6 kernel but with 1280x480ieS. Intel GPUs will reject any resolution which pixel clock is below 25MHz

mjnman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 18, 2022, 10:41:22 am
  • I want to build my own arcade controls!
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #2 on: July 03, 2020, 03:08:13 pm »
azz :dizzy: :dizzy: :dizzy:...I have only 20" arcade monitors with 15khz boards..i.e mtc9000, mtc 900-e ecc

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 846
  • Last login:July 11, 2025, 01:21:36 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #3 on: July 03, 2020, 03:22:34 pm »
I'm talking about pixel clock, not horizontal frequency ;) 1280x480i is a 15kHz, as strange as it may seem ;)

mjnman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 18, 2022, 10:41:22 am
  • I want to build my own arcade controls!
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #4 on: July 03, 2020, 03:55:10 pm »
I'm sorry  :notworthy:...I'll try with resolution. Thanks

mjnman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 18, 2022, 10:41:22 am
  • I want to build my own arcade controls!
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #5 on: July 08, 2020, 03:04:40 pm »
Same errors with 1280x480ieS:

[    0.000000] microcode: microcode updated early to revision 0xd6, date = 2020-04-23
[    0.000000] Linux version 5.6.14-15khzpatch (root@mediacenter) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Tue Jun 30 22:43:25 CEST 2020
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.6.14-15khzpatch root=UUID=11e6695c-78e4-4746-b84a-182cd4eecf15 ro video=DP-1:1280x480ieS
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
......
......
[    3.053245] [drm] Found a low dotclock mode for 1280x480 (interlace: 1)
[    3.053246] ------------[ cut here ]------------
[    3.053250] WARN_ON(len <= 0)
[    3.053307] WARNING: CPU: 3 PID: 8 at drivers/gpu/drm/i915/display/intel_dp.c:1839 intel_dp_max_link_rate+0x5a/0x70 [i915]
[    3.053309] Modules linked in: x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_realtek kvm_intel snd_hda_codec_generic ledtrig_audio kvm msr irqbypass crc32_pclmul snd_hda_inte
l nls_ascii snd_intel_dspcfg ghash_clmulni_intel snd_hda_codec nls_cp437 aesni_intel vfat i915 snd_hda_core fat libaes crypto_simd cryptd glue_helper snd_hwdep snd_pcm drm_kms_helper intel_cstate snd_timer cec i
TCO_wdt efi_pstore iTCO_vendor_support intel_uncore drm serio_raw watchdog intel_rapl_perf snd evdev soundcore mei_me pcspkr efivars mei i2c_algo_bit ie31200_edac acpi_pad button parport_pc ppdev lp parport efiv
arfs ip_tables x_tables autofs4 ext4 hid_generic crc16 mbcache jbd2 usbhid hid crc32c_generic nvme nvme_core t10_pi crc_t10dif crct10dif_generic xhci_pci xhci_hcd e1000e psmouse usbcore ptp pps_core crc32c_intel
 i2c_i801 crct10dif_pclmul crct10dif_common usb_common video
[    3.053332] CPU: 3 PID: 8 Comm: kworker/u8:0 Not tainted 5.6.14-15khzpatch #1
[    3.053333] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H310CM-HDV/M.2, BIOS P4.20 05/14/2019
[    3.053337] Workqueue: events_unbound async_run_entry_fn
[    3.053375] RIP: 0010:intel_dp_max_link_rate+0x5a/0x70 [i915]
[    3.053377] Code: 00 eb 10 8b 32 89 c1 48 83 ea 04 83 e8 01 41 39 f0 7d 1f 85 c0 75 ec 48 c7 c6 3b 64 94 c0 48 c7 c7 a8 60 94 c0 e8 01 af fe f1 <0f> 0b b8 d0 78 02 00 c3 83 e9 01 48 63 c9 8b 84 8f 84 00 00 00
 c3
[    3.053380] RSP: 0018:ffffc02c8008fbd0 EFLAGS: 00010286
[    3.053381] RAX: 0000000000000000 RBX: ffff9963620c0000 RCX: 0000000000000000
[    3.053382] RDX: 0000000000000011 RSI: ffffffffb3e3e391 RDI: 0000000000000246
[    3.053384] RBP: ffff996218b24100 R08: ffffffffb3e3e380 R09: 000000000002c480
[    3.053385] R10: 0000000ff54751c2 R11: 0000000000000008 R12: ffff996365600000
[    3.053386] R13: 00000000000a4cb8 R14: ffff9963620c0120 R15: 000000000000657f
[    3.053387] FS:  0000000000000000(0000) GS:ffff996367180000(0000) knlGS:0000000000000000
[    3.053389] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.053390] CR2: 00007fd19c9d9e77 CR3: 00000002651ca002 CR4: 00000000003606e0
[    3.053391] Call Trace:
[    3.053428]  intel_dp_mode_valid+0xa5/0x270 [i915]
[    3.053437]  drm_helper_probe_single_connector_modes+0x4e8/0x7b0 [drm_kms_helper]
[    3.053454]  drm_client_modeset_probe+0x275/0x1370 [drm]
[    3.053458]  ? __switch_to_asm+0x34/0x70
[    3.053460]  ? __switch_to_asm+0x40/0x70
[    3.053461]  ? __switch_to_asm+0x34/0x70
[    3.053463]  ? __switch_to_asm+0x40/0x70
[    3.053464]  ? __switch_to_asm+0x34/0x70
[    3.053466]  ? __switch_to_asm+0x40/0x70
[    3.053467]  ? __switch_to_asm+0x34/0x70
[    3.053469]  ? __switch_to_asm+0x40/0x70
[    3.053470]  ? __switch_to_asm+0x34/0x70
[    3.053471]  ? __switch_to_asm+0x40/0x70
[    3.053473]  ? __switch_to_asm+0x34/0x70
[    3.053479]  __drm_fb_helper_initial_config_and_unlock+0x44/0x490 [drm_kms_helper]
[    3.053481]  ? __switch_to_asm+0x40/0x70
[    3.053483]  ? __switch_to_asm+0x34/0x70
[    3.053484]  ? __switch_to_asm+0x34/0x70
[    3.053486]  ? __switch_to_asm+0x40/0x70
[    3.053487]  ? __switch_to_asm+0x34/0x70
[    3.053489]  ? __switch_to_asm+0x40/0x70
[    3.053490]  ? __switch_to_asm+0x34/0x70
[    3.053525]  intel_fbdev_initial_config+0x14/0x30 [i915]
[    3.053528]  async_run_entry_fn+0x39/0x160
[    3.053530]  process_one_work+0x1ad/0x370
[    3.053532]  worker_thread+0x30/0x390
[    3.053533]  ? create_worker+0x1a0/0x1a0
[    3.053535]  kthread+0x112/0x130
[    3.053537]  ? kthread_park+0x80/0x80
[    3.053538]  ret_from_fork+0x35/0x40
[    3.053540] ---[ end trace b5ae875bb5884862 ]---
[    3.053545] [drm] Found a low dotclock mode for 1280x480 (interlace: 1)
[    3.053749] fbcon: i915drmfb (fb0) is primary device
[    3.053802] ------------[ cut here ]------------

$ /contents/software/switchres 1280 480 60 --edid
SwitchRes: Monitor type not specified. Using "generic_15"
#  1280x480@60.00 15.6300Khz
   ModeLine          "1280x480x60.00" 25.883280 1280 1328 1448 1656 480 482 488 521 -HSync -VSync interlace


$ xrandr --newmode "TEST1" 25.883280 1280 1328 1448 1656 480 482 488 521 -HSync -VSync interlace
$ xrandr --addmode DP1 "TEST1"
$ xrandr --output DP1 --mode "TEST1"
xrandr: Configure crtc 0 failed

/var/log/messages:

Jul  7 17:44:40 mycab kernel: [  234.005672] drm_dp_i2c_do_msg: 30 callbacks suppressed
Jul  7 17:44:41 mycab kernel: [  234.347267] [drm] Found a low dotclock mode for 1280x480 (interlace: 1)
Jul  7 17:44:41 mycab kernel: [  234.347269] ------------[ cut here ]------------
Jul  7 17:44:41 mycab kernel: [  234.347271] WARN_ON(len <= 0)
Jul  7 17:44:41 mycab kernel: [  234.347316] WARNING: CPU: 2 PID: 530 at drivers/gpu/drm/i915/display/intel_dp.c:1839 intel_dp_max_link_rate+0x5a/0x70 [i915]
Jul  7 17:44:41 mycab kernel: [  234.347317] Modules linked in: intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp snd_hda_codec_hdmi coretemp snd_hda_codec_realtek kvm_intel snd_hda_codec_generic ledtrig_audio kvm msr irqbypass crc32_pclmul snd_hda_intel nls_ascii snd_intel_dspcfg ghash_clmulni_intel snd_hda_codec nls_cp437 aesni_intel vfat i915 snd_hda_core fat libaes crypto_simd cryptd glue_helper snd_hwdep snd_pcm drm_kms_helper intel_cstate snd_timer cec iTCO_wdt efi_pstore iTCO_vendor_support intel_uncore drm serio_raw watchdog intel_rapl_perf snd evdev soundcore mei_me pcspkr efivars mei i2c_algo_bit ie31200_edac acpi_pad button parport_pc ppdev lp parport efivarfs ip_tables x_tables autofs4 ext4 hid_generic crc16 mbcache jbd2 usbhid hid crc32c_generic nvme nvme_core t10_pi crc_t10dif crct10dif_generic xhci_pci xhci_hcd e1000e psmouse usbcore ptp pps_core crc32c_intel i2c_i801 crct10dif_pclmul crct10dif_common usb_common video
Jul  7 17:44:41 mycab kernel: [  234.347337] CPU: 2 PID: 530 Comm: Xorg Tainted: G        W         5.6.14-15khzpatch #1
Jul  7 17:44:41 mycab kernel: [  234.347337] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./H310CM-HDV/M.2, BIOS P4.20 05/14/2019
Jul  7 17:44:41 mycab kernel: [  234.347365] RIP: 0010:intel_dp_max_link_rate+0x5a/0x70 [i915]
Jul  7 17:44:41 mycab kernel: [  234.347367] Code: 00 eb 10 8b 32 89 c1 48 83 ea 04 83 e8 01 41 39 f0 7d 1f 85 c0 75 ec 48 c7 c6 3b 64 94 c0 48 c7 c7 a8 60 94 c0 e8 01 af fe f1 <0f> 0b b8 d0 78 02 00 c3 83 e9 01 48 63 c9 8b 84 8f 84 00 00 00 c3
Jul  7 17:44:41 mycab kernel: [  234.347368] RSP: 0018:ffffc02c808a7c08 EFLAGS: 00010286
Jul  7 17:44:41 mycab kernel: [  234.347369] RAX: 0000000000000000 RBX: ffff9963620c0000 RCX: 0000000000000000
Jul  7 17:44:41 mycab kernel: [  234.347369] RDX: 0000000000000011 RSI: ffffffffb3e3e391 RDI: 0000000000000246
Jul  7 17:44:41 mycab kernel: [  234.347370] RBP: ffff9963611b4600 R08: ffffffffb3e3e380 R09: 000000000002c480
Jul  7 17:44:41 mycab kernel: [  234.347371] R10: 000000d1d3904890 R11: 0000000000000212 R12: ffff996365600000
Jul  7 17:44:41 mycab kernel: [  234.347371] R13: 00000000000a4cb8 R14: ffff9963620c0120 R15: 000000000000657f
Jul  7 17:44:41 mycab kernel: [  234.347372] FS:  00007f7d71d6ef00(0000) GS:ffff996367100000(0000) knlGS:0000000000000000
Jul  7 17:44:41 mycab kernel: [  234.347373] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul  7 17:44:41 mycab kernel: [  234.347374] CR2: 00007f803030d358 CR3: 0000000263be0003 CR4: 00000000003606e0
Jul  7 17:44:41 mycab kernel: [  234.347374] Call Trace:
Jul  7 17:44:41 mycab kernel: [  234.347402]  intel_dp_mode_valid+0xa5/0x270 [i915]
Jul  7 17:44:41 mycab kernel: [  234.347411]  drm_helper_probe_single_connector_modes+0x4e8/0x7b0 [drm_kms_helper]
Jul  7 17:44:41 mycab kernel: [  234.347428]  drm_mode_getconnector+0x3de/0x400 [drm]
Jul  7 17:44:41 mycab kernel: [  234.347443]  ? drm_connector_property_set_ioctl+0x60/0x60 [drm]
Jul  7 17:44:41 mycab kernel: [  234.347452]  drm_ioctl_kernel+0xac/0xf0 [drm]
Jul  7 17:44:41 mycab kernel: [  234.347462]  drm_ioctl+0x201/0x3a0 [drm]
Jul  7 17:44:41 mycab kernel: [  234.347475]  ? drm_connector_property_set_ioctl+0x60/0x60 [drm]
Jul  7 17:44:41 mycab kernel: [  234.347478]  ? __do_sys_newfstat+0x5a/0x70
Jul  7 17:44:41 mycab kernel: [  234.347480]  ksys_ioctl+0x86/0xc0
Jul  7 17:44:41 mycab kernel: [  234.347482]  __x64_sys_ioctl+0x16/0x20
Jul  7 17:44:41 mycab kernel: [  234.347484]  do_syscall_64+0x52/0x170
Jul  7 17:44:41 mycab kernel: [  234.347486]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul  7 17:44:41 mycab kernel: [  234.347488] RIP: 0033:0x7f7d7249e427
Jul  7 17:44:41 mycab kernel: [  234.347489] Code: 00 00 90 48 8b 05 69 aa 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 aa 0c 00 f7 d8 64 89 01 48
Jul  7 17:44:41 mycab kernel: [  234.347490] RSP: 002b:00007ffd096ea078 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jul  7 17:44:41 mycab kernel: [  234.347491] RAX: ffffffffffffffda RBX: 000056089e986980 RCX: 00007f7d7249e427
Jul  7 17:44:41 mycab kernel: [  234.347491] RDX: 00007ffd096ea100 RSI: 00000000c05064a7 RDI: 000000000000000d
Jul  7 17:44:41 mycab kernel: [  234.347492] RBP: 00007ffd096ea100 R08: 00007ffd0972b090 R09: 0000000000000000
Jul  7 17:44:41 mycab kernel: [  234.347493] R10: 000000000000cd1a R11: 0000000000000246 R12: 00000000c05064a7
Jul  7 17:44:41 mycab kernel: [  234.347493] R13: 000000000000000d R14: 000056089eee3be0 R15: 000056089e986880
Jul  7 17:44:41 mycab kernel: [  234.347495] ---[ end trace b5ae875bb588486f ]---

/var/log/Xorg.conf

[   273.319] (II) intel(0): resizing framebuffer to 1280x480
[   273.321] (II) intel(0): switch to mode 1280x480@60.0 on DP1 using pipe 0, position (0, 0), rotation normal, reflection none
[   273.325] (EE) intel(0): failed to set mode: Invalid argument [22]
[   273.675] (II) intel(0): resizing framebuffer to 1024x768

I think it is not supported from intel UHD Graphics Built-in.  :banghead:

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 846
  • Last login:July 11, 2025, 01:21:36 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #6 on: July 09, 2020, 04:11:00 am »
Which connector is on your rear plate ? A VGA one ? So this would mean that this VGA connector is internally configured as a DP connector ... mmmhhhhhh ... The problem with Intel iGPU is that it all depends on manufacturers and how they wire the GPU on the mobo.

Can't you get a small PCIE card ? Maybe you're on NUC-like computer and had no other choice than using the integrated GPU ? Anyway, Intel GPU are really not recommended for 15kHz. One of the reasons is that there is some tearing with their GPUs.

You might eventually give a go to the "collaborative GroovyArcade" distro, it has a livecd mode so no need to install. Not sure it will look better.

mjnman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 18, 2022, 10:41:22 am
  • I want to build my own arcade controls!
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #7 on: July 09, 2020, 07:34:29 am »
yes. It's VGA connector and from xrand is DP1 output. I bought a Radeon HD5450 and now I can start attract and groovymame in 800x600 but I can hear only the sound because I have a problem with the VGA cable to CGA.
I think a voltage problem. I opened a new thread about it.

http://forum.arcadecontrols.com/index.php/topic,163171.0.html

After that i'll retry with intel graphics card again.  :dizzy:

Substring

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 846
  • Last login:July 11, 2025, 01:21:36 pm
  • Forking GroovyArcade
    • forum.arcadecontrols.com/index.php/topic,160023.0.html
    • GroovyArcade active fork
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #8 on: July 09, 2020, 07:37:01 am »
Intel GPU results are random, honnestly, they are too dependant on the hardware around the GPU. This doesn't happen with real VGA cards (well hardly happens) as long as they are still able to output analog video.

800x600 is probably not a good idea on CGA ;)

mjnman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:November 18, 2022, 10:41:22 am
  • I want to build my own arcade controls!
Re: Arcade monitor 15khz linux patch kernel i915
« Reply #9 on: July 09, 2020, 07:52:06 am »
Yes, i know that 800x600 is a not good resolution but the frontend (attract) theme it's ok. Groovymame and switchres makes the rest.   ;)