Bug 132676

Summary: Unable to run X or SaX2 on ATI hardware
Product: [openSUSE] SUSE Linux 10.1 Reporter: Bart Whiteley <bwhiteley>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED DUPLICATE QA Contact: Stefan Dirsch <sndirsch>
Severity: Blocker    
Priority: P5 - None CC: tonyj
Version: Alpha 2plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/gdm/:0.log
hwinfo file for one box with this problem.
hwinfo file for the other box with this problem (generated from 10.0 system, not 10.1)
Another system with this problem: toshiba tecra 9000 laptop

Description Bart Whiteley 2005-11-08 00:53:17 UTC
I've tried both alpha2 and alpha2plus in multiple boxes, and I can't get a graphical login to work after installing 10.1 with gnome.  When switching to runlevel 5, the monitor goes into powersave mode because it is no longer getting a signal from the vid. card.  

When I switch to runlevel 3 and attempt to run SaX2 as root, I get an error: 
"SaX: can't find an unused tty... abort"
Comment 1 Rodrigo Moya 2005-11-08 10:08:03 UTC
Do the GDM logs (/var/log/gdm/*) show any meaningful message?
Comment 2 JP Rosevear 2005-11-08 12:51:06 UTC
This sounds like the broken fontconfig problem.

*** This bug has been marked as a duplicate of 128080 ***
Comment 3 Bart Whiteley 2005-11-08 14:49:37 UTC
Then should not "fc-cache --force" fix the problem? (it does not)
Comment 4 JP Rosevear 2005-11-08 15:11:19 UTC
I would have thought so, perhaps its a different issue
Comment 5 JP Rosevear 2005-11-08 15:13:06 UTC
the sax warning implies it can't find a virtual terminal
Comment 6 JP Rosevear 2005-11-08 15:19:49 UTC
Moving to the X guys for review of the Sax error.
Comment 7 Marcus Schaefer 2005-11-08 15:47:43 UTC
this is not a sax error. The message:

  can't find an unused tty... abort

was thrown by the server and means there is no tty free to become
opened by the X-Server. The X-Server requires a tty to operate.
I don't know why your system is using so many tty's

please check your environment first. How many mingetty processes are
running ? in normal mode there are only 6 and the server choose the
tty7 for its operations
Comment 8 Bart Whiteley 2005-11-08 18:39:05 UTC
There are only six mingetty processes running.  
Note that if I select KDE instead of Gnome during install, all is well. 
Comment 9 Bart Whiteley 2005-11-08 18:40:08 UTC
Created attachment 56714 [details]
/var/log/gdm/:0.log

gdm log file.
Comment 10 Cameron Meadors 2005-11-09 17:58:16 UTC
I have only seen this error when I tried to used a cvs radeon driver that was backported to the xorg packages for SL 10.0.  I was using the xorg packages from STABLE at the time.  That was not the intended use and it was not a surprise that it didn't work.

Have you made sure that all X servers are shutdown when you run sax2 in init level 3?  If you switch to VT7 or VT8 is there anything displayed?
Comment 11 Bart Whiteley 2005-11-09 18:11:39 UTC
I'm experiencing this on another box now.  Maybe it's not related to gnome.
On the new box, I selected a kde system, but in software selection selected gnome also.  The box has a ATI FireGL X1.  This new box behaves the same.  X thinks it is running, but the display says it cannot display the video mode, even though the mode is precicely the display's recommended setting.  When I try to run SaX2 from runlevel3, I get the same error: "SaX: can't find an unused tty... abort". 

I switched the default runlevel in inittab to 3, rebooted, and tried again.  Same thing.  So, there is certainly not another X server running, and there is nothing on VT7 or VT8. 
Comment 12 Bart Whiteley 2005-11-09 19:05:05 UTC
Maybe it's an ATI problem.  I have seen this problem on two boxes, both ATI, 
Another box is Nvidia and it works.  

I'll adjust the bug to go to the X folks. 
Comment 13 Bart Whiteley 2005-11-09 19:25:39 UTC
*** Bug 133014 has been marked as a duplicate of this bug. ***
Comment 14 Bart Whiteley 2005-11-09 19:50:48 UTC
Created attachment 56879 [details]
hwinfo file for one box with this problem.
Comment 15 Bart Whiteley 2005-11-09 19:53:36 UTC
Created attachment 56880 [details]
hwinfo file for the other box with this problem (generated from 10.0 system, not 10.1)
Comment 16 JP Rosevear 2005-11-09 20:11:04 UTC
It could be related to bug 127757
Comment 17 Bart Whiteley 2005-11-09 20:19:30 UTC
could be related I guess.  The behavior I see is different.  That bug describes logging into X and it locks up later.  I can't even get X to display. 
Comment 18 Stefan Dirsch 2005-11-09 22:41:03 UTC
Could this be reproduced when using xdm as displaymanager?

--> /etc/sysconfig/displaymanager
DISPLAYMANAGER="xdm"
Comment 19 Bart Whiteley 2005-11-11 23:59:58 UTC
I've tried gdm, xdm, kdm as DISPLAYMANAGER.  None work. 
Comment 20 Bart Whiteley 2005-11-12 00:02:06 UTC
Created attachment 57166 [details]
Another system with this problem: toshiba tecra 9000 laptop

This laptop also has the problem.  This time I tried a KDE install.  May be related to 133572
Comment 21 Stefan Dirsch 2005-11-12 08:20:07 UTC
Please try again with Alpha3 (released this week). Alpha2(plus) was broken WRT X11 in many aspects. :-(
Comment 22 Gerald Pfeifer 2005-11-14 00:00:28 UTC
Tony, this also matches what you reported to me.  Seems it wasn't
ia64-specific at all, but a more general problem.
Comment 23 JP Rosevear 2005-11-15 13:33:55 UTC
For #7 sax throws this in /usr/share/sax/modules/CheckServer.pm.  It uses fuser there, see bug 132180.

Looks like a dupe.
Comment 24 Stefan Dirsch 2005-11-15 13:44:28 UTC
Indeed. Thanks.

*** This bug has been marked as a duplicate of 132180 ***
Comment 25 JP Rosevear 2005-11-15 13:50:33 UTC
psmisc 21.8 did indeed solve the sax2 startup under init 3 part of the problem for me.  In combination with that and the backported X driver from bug 127757, I have a working X under alpha2plus.

Next stop, alpha3.