Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Powermac G4 with 17 (LCD) ADC connected to Radeon rv250 card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed Jul 22, 2009 4:29 pm    Post subject: Powermac G4 with 17 (LCD) ADC connected to Radeon rv250 card Reply with quote

The old xorg.conf no longer works and the new one shows a blank screen then simply locked up the system when attempting to change to a console including killing ssh.

I installed Debian Lenny to see if the problems were any different and was only able to get a display using default xorg.conf generated by 'Xorg -configure' with fbdev instead of radeon. Screen garbled and largely unusable. When manually editing the xorg.conf, adding a HorizSync and VertRefresh line resulted in a sharp display but with an incorrect resolution with the radeon driver, did not try fbdev. About 10% of the screen was off to the right. Changing back and forth to a tty worked. Changing the resolution caused a hard lock.

The resolution used seems to be 1280x800 instead of 1280x1024 or 1024x768. I'm basing that on the size of the fonts in the portion of the screen that is visible, they are similar to those when the display is set to 1024x768. The only modelines that I see in Xorg.0.log are for 1280x1024.

If I add the option 'MacModel' 'mini-external' that results in a hard lock. I only mention that because none of the other options for MacModel resulted in a hard lock and I tried that before adding lines to the Monitor section.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed Jul 22, 2009 7:57 pm    Post subject: Reply with quote

Continuation:
Changing to a tty crashes the system as does shutting down or logging out. So once the system has booted into a GUI there is no way to turn the system off, change user or go to a tty.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Jul 23, 2009 2:11 am    Post subject: Reply with quote

Can you install xac and use "xac --dump" to see what the EDID reported by the monitor is? If it's wrong, that could explain some of the trouble you're having. Turning off EDID support and using fixed settings may help.

You also didn't mention which kernel it was last working with, which kernel you're using now, which version of X.org, which version of the radeon driver, etc. which would be helpful to know.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Thu Jul 23, 2009 1:17 pm    Post subject: Reply with quote

The last time I had updated before now was when the 2.6.22.10 kernel came out, I believe I was using xorg-server 1.2 or 1.1 and had changed from the monolithic version in the past year. I updated system + world and removed defunct packages and in the process xorg was updated. That rendered the previous xorg.conf useless.

I attempted a clean install with the 2009 & 2008 CDs but both failed to mount the live system image, dropping into busybox. Instead of trying to figure out what was happening there, I decided to install Debian Lenny. I've used Debian many times and had no problem with the boot & install as both were text based. Certainly faster than Gentoo but the problems after the install were identical.

Lenny is using kernel 2.6.26 and xorg-server 1.4.2 with ati driver 6.9.0. The problems seem identical to those in Gentoo. I never got a working xorg.conf before trying Lenny, but the system would hard lock upon the xserver starting with keyboard dead and ssh not responding. In Lenny with the addition of HorizSync and VertRefresh there is a working screen. Changing to a shell with Ctrl+Alt+F* causes a hard lock as does closing the xserver by either logging off or shutting down.

I'll be going away for two weeks and will try to follow your suggestion when I return, thank you.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Tue Aug 04, 2009 1:22 pm    Post subject: Reply with quote

The current system is running Debian Lenny and I haven't gotten xac to build there yet. I have been able to use other tools. With xrandr I noticed that DVI-1 is using an initial mode of 1600x1024. That seems to match with what I'm seeing as the pixels are correct. I'm seeing the leftmost 1280x1024 and the rest is off to the right. Would that cause the hard locks when restarting X or shutting down?

Using xrandr
Code:
 xrandr --dryrun --fb 1280x1024
xrandr: specified screen 1280x1024 not large enough for output DVI-1 (1600x1024+0+0)
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Wed Aug 05, 2009 8:19 am    Post subject: Reply with quote

Just stabbing at the dark, but could you try to attach another monitor via VGA and see if it works?
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Sat Aug 08, 2009 6:45 pm    Post subject: Reply with quote

The monitor and video card work fine. I can try attaching a dvi monitor to the other port in the future, after this is resolved. The problem is Xorg and the video driver. There is no issue in osx. For some reason xorg requires a random vertrefresh & horizsync line (random because I haven't found any halfway reasonable values that cause an issue yet) and detects the monitor as 1600x1024, crashing if told otherwise. Changing to a virtual terminal is like playing russian roulette, you never know when there will be a bang. I also have issues with xorg on intel graphics hardware. Perhaps that is a good enough reason to install xfree86-4.8.0 and see if that works.
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Thu Aug 13, 2009 9:53 am    Post subject: Reply with quote

I don't doubt that the monitor and graphics adaptor work; I was more thinking along the lines of narrowing down the problem and finding out whether this is related to ADC.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed Oct 28, 2009 2:18 am    Post subject: Reply with quote

I think it's related to kernel mode setting. I've seen issues with every graphics chipset on the new mesa,xorg,drm and kernels. Older versions of these don't build unless everything is older. Perhaps there should be a wayback overlay for systems that used to work and no longer do.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum