Bug 132367

Summary: fullscreen games kill X session, exit lockups - SGI 1600SW LCD, i128 driver
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Bryce Nesbitt <bryce2>
Component: SaX2Assignee: Stefan Dirsch <sndirsch>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: PC   
OS: SuSE Linux 10.0   
URL: http://www.sharpertechnology.com/1600adapter.html
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bryce Nesbitt 2005-11-04 18:26:12 UTC
This report is meant to document this issue, I don't expect SUSE to find a solution:

I've found that the SGI 1600SW flatpanel LCD works great with SUSE Linux 10.0. I have a Number Nine Revolution IV-FP AGP video card (the direct digital connection). It works great at 1600x1024, bright and beautiful.

However, I find that all "fullscreen" games destroy the X session: the LCD display fades, flashes, and the power button starts flashing.  I've been disabling fullscreen in many applications (for example KDE starts "frozen-bubbles" as "frozen-bubbles --fullscreen". "enigma" can be started as "enigma --window". the same applications work fine if started from a framebuffer console window).

Note: for the record, the official documentation and modelines for X on the SGI 1600SW can be found here: http://www.xfree86.org/4.5.0/I1284.html and here http://www.sgi.com/products/legacy/1600sw_faq/os.html .  SUSE's mode lines are slightly off, at a slightly different frequency.

And note for SUSE users: if only 3/4 of the pixels show up on your screen, simply select the other driver entry (use "FLATPANEL-1600FP" not "FLATPANEL-1600SW").  These driver entries have confusing names.

SGI 1600SW owners may also be interested in a adapter that lets you use any Linux supported DVI graphics card with the 1600SW, without the need for the  Multi-Link adapter: http://www.sharpertechnology.com/1600adapter.html . They will also replace aging backlights in the monitor.
Comment 1 Marcus Schaefer 2005-11-07 09:37:14 UTC
In the past I made two profiles for this displays:

  /usr/share/sax/profile/SGI_Flatpanel_1600FP
  /usr/share/sax/profile/SGI_Flatpanel_1600SW

Could you please try to call:

   sax2 -r -b <path-to-profile>

does it work for you ?

The information from:

  hwinfo --monitor

would be usefull as well

Thanks
Comment 2 Bryce Nesbitt 2005-11-08 23:09:52 UTC
bryce@linux:~> /usr/sbin/hwinfo --monitor
22: None 00.0: 10000 Monitor
  [Created at fb.70]
  Unique ID: rdCR.EY_qmtb9YY0
  Hardware Class: monitor
  Model: "Generic Monitor"
  Vendor: "Generic"
  Device: "Monitor"
  Resolution: 1024x768@76Hz
  Driver Info #0:
    Max. Resolution: 1024x768
    Vert. Sync Range: 50-90 Hz
    Hor. Sync Range: 31-61 kHz
  Config Status: cfg=new, avail=yes, need=no, active=unknown
Comment 3 Bryce Nesbitt 2005-11-08 23:12:55 UTC
I used the /usr/share/sax/profile/SGI_Flatpanel_1600FP , and it works for the KDE desktop, but fails as described for any 'fullscreen' applications.  It is also shifted by a pixel or two from the ideal centering on the monitor.
Comment 4 Marcus Schaefer 2005-11-09 16:45:37 UTC
Ah I see the monitor wasn't detected by hwinfo. It's only listed as
generic model which means there is no DDC-ID to apply profiles automatically.
Well we cannot fix this one.

You told me the profile works for you. The profile adds the following
modeline to the configuration:

    Modeline "1600x1024" 103.125 1600 1600 1656 1664 1024 1024 1029 1030
             +Hsync +Vsync

this is exactly the same line as mentioned in:
 
    http://www.xfree86.org/4.5.0/I1284.html
   
so if this line doesn't put the picture into the center position I assume
this can be fixed with the displays position keys.

The last remaining question is why a fullscreen application causes the
display to behave like it does. Well I'm clueless about this one and I
cannot reproduce it here because we don't have that piece of hardware.
Comment 5 Marcus Schaefer 2005-11-09 16:48:53 UTC
by the way are you using the SGI Multilink adapter ? if yes have
you tried the modeline:

  Modeline "1600x1024" 108.0 1600 1616 1656 1704 1024 1027 1030 1056 -Hsync -Vsync

and the option 

  Option "OverridePolarity" "1"

set in the Device section ?
Comment 6 Bryce Nesbitt 2005-11-09 18:10:40 UTC
As it says above:
"I have a Number Nine Revolution IV-FP AGP video card (the direct digital
connection)."

I'm also clueless about the fullscreen issue.  But perhaps someone else will solve the problem, and ammend this bug report.

As I said above "This report is meant to document this issue, I don't expect SUSE to find a solution".  Thanks for your comments on the problem.
Comment 7 Marcus Schaefer 2005-11-10 11:49:18 UTC
ok, sorry I didn't read your initial message very carefully
Thanks for testing the profile
Comment 8 Bryce Nesbitt 2005-11-26 23:20:10 UTC
Also: under Gnome, but not under KDE, pressing "CTRL-ALT-F1" instantly locks up the machine.  It is a hard lockup: remote ssh sessions are dead also, ctrl-alt-del is ineffective.  The same happens about 50% of the time when ending the X session normally.

Obviously, no log is created, because the lockup is instant.
Comment 9 Bryce Nesbitt 2005-11-28 06:47:57 UTC
It is more complicated than that.  If auto-login is enabled, the problem does not occur.

Anything that causes the blue SUSE login/session switch screen to show up triggers the vulnerability.  So if you auto-login to Gnome, end the session, the blue login/session switcher screen shows up.  At this point you're dead.  CTRL-ALT-F1 will black the screen and hang.  Login to Gnome will be fine, but exiting X in any way will hang (CTRL-ALT-F1, ctrl-backspace-backspace, X crashing, or logout).

The workaround is: auto-login, and always shut down.  Avoid the SUSE login screen at all costs.
Comment 10 Marcus Schaefer 2005-11-28 09:26:03 UTC
If the server crashed could you provide the XOrg log file:

  /var/log/Xorg.0.log

Thanks
Comment 11 Bryce Nesbitt 2005-11-28 18:30:24 UTC
Please note, as it says above, no server crash is required.  Exiting X blacks the screen and hangs.  Nothing is logged.
Comment 12 Stefan Dirsch 2006-01-27 11:44:16 UTC
Since we neither have this gfx board nor this monitor I'm closing this one now as WONTFIX. I'm sorry!