Author Topic: TV1 out in my i915 freezes (GNU/Linux) [SOLVED]  (Read 3647 times)

arielenter

  • Newbie
  • *
  • Posts: 4
    • View Profile
TV1 out in my i915 freezes (GNU/Linux) [SOLVED]
« on: January 03, 2017, 10:38:42 PM »
Hello:

I'm using:

"Attract-Mode v2.2.0-3-dirty (Linux, SFML 2.3 +FontConfig +Xinerama +SWF +7z)

Using FFmpeg for Audio and Video.
avcodec 56.60.100 / avformat 56.40.101 / swscale 3.1.101 / swresample 1.2.101

Shaders are available."

On my GNU/Linux system base on Ubuntu, and when ever I try to use it on my TV1 out through s-video attract mode always frizzes.

I'm using the i915 driver at 640x480 59.94*+ in NTSC-M mode. All modes are 59.94 and I was thinking it might have something to do with it? Sorry I'm don't know much.

Advmame runs fine in TV1. I had a similar problem with wine, but updating it to a newer version solved the problem.

When I run attract mode in window mode, I can make it work on TV1 by leaving part of the window on LVDS1 in an extended desktop dual monitor configuration. However, if I move the window completely to TV1 the game stops working.

As I said, I had a similar problem with wine, where I had the problem with both MATE and gnome-fallback, so I'm pretty sure it doesn't have anything to do with the GUI being use.

Sorry I'm not an expert, if someone could help me I would really appreciate it. Thank you.

P.S. If there is a log I could look for or a debug mode I can run to help please let me now. Thank you.
« Last Edit: January 07, 2017, 10:53:16 AM by arielenter »

arielenter

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: TV1 out in my i915 freezes (GNU/Linux)
« Reply #1 on: January 03, 2017, 10:41:45 PM »
Here is my xrandr --verbose about TV1, I thought that maybe it could be of a help:

TV1 connected primary 640x480+640+0 (0xb0) normal (normal left inverted right x axis y axis) 0mm x 0mm
   Identifier: 0x43
   Timestamp:  4550992
   Subpixel:   unknown
   Gamma:      1.0:1.0:1.0
   Brightness: 1.0
   Clones:   
   CRTC:       0
   CRTCs:      1 0
   Transform:  1.000000 0.000000 0.000000
               0.000000 1.000000 0.000000
               0.000000 0.000000 1.000000
              filter:
   bottom margin: 37
      range: (0, 100)
   right margin: 46
      range: (0, 100)
   top margin: 36
      range: (0, 100)
   left margin: 54
      range: (0, 100)
   mode: NTSC-M
      supported: NTSC-M, NTSC-443, NTSC-J, PAL-M, PAL-N, PAL, 480p, 576p, 720p@60Hz, 720p@50Hz, 1080i@50Hz, 1080i@60Hz
  848x480 (0xaf) 29.027MHz +preferred
        h: width   848 start  849 end  912 total  944 skew    0 clock  30.75KHz
        v: height  480 start  481 end  512 total  513           clock  59.94Hz
  640x480 (0xb0) 22.631MHz *current +preferred
        h: width   640 start  641 end  704 total  736 skew    0 clock  30.75KHz
        v: height  480 start  481 end  512 total  513           clock  59.94Hz
  1024x768 (0xb1) 53.773MHz
        h: width  1024 start 1025 end 1088 total 1120 skew    0 clock  48.01KHz
        v: height  768 start  769 end  800 total  801           clock  59.94Hz
  800x600 (0xb2) 33.996MHz
        h: width   800 start  801 end  864 total  896 skew    0 clock  37.94KHz
        v: height  600 start  601 end  632 total  633           clock  59.94Hz
  640x448_59.94 (0xbe) 22.250MHz -HSync +VSync
        h: width   640 start  656 end  720 total  800 skew    0 clock  27.81KHz
        v: height  448 start  449 end  452 total  464           clock  59.94Hz

Thank you

NOTE: I'm using one of those old CRT TV from before the flat TV hit the market. I have two of those and I still use them for old school games :P
« Last Edit: January 03, 2017, 10:45:40 PM by arielenter »

nitrogen_widget

  • Sr. Member
  • ****
  • Posts: 307
    • View Profile
Re: TV1 out in my i915 freezes (GNU/Linux)
« Reply #2 on: January 06, 2017, 08:59:57 AM »
What is the actual graphics card?
the Intel driver I believe requires a kernel update on ubuntu to work right.
Have you tried the opensource driver?

arielenter

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: TV1 out in my i915 freezes (GNU/Linux)
« Reply #3 on: January 06, 2017, 03:46:33 PM »
lspci | grep VGA shows:

Code: [Select]
VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03)
glxinfo | grep -i vendor shows:

Code: [Select]
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
    Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center

I believe I'm using the open source driver. I tried Intel's driver too when I had the problem with wine but it gave me the same problems. It my not be the same issue thought.

arielenter

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: TV1 out in my i915 freezes (GNU/Linux)
« Reply #4 on: January 07, 2017, 10:52:56 AM »
I downgraded from Trisquel Flidas (base on xenia)l to Trisquel Belenos (trusty) and now attract works great. I notice that the is a package called xserver-xorg-video-intel which I'm guessing made the difference.

Flidas was using 2:2.99.917+git20160325-1ubuntu1.1
and Belenos 2:2.99.910-0ubuntu1.6

Hope it helps some one out there too.