Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] video card hacking and G4 (issue with Modeline)
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
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Wed Mar 07, 2007 11:41 pm    Post subject: [solved] video card hacking and G4 (issue with Modeline) Reply with quote

Hello,

I have a 20.1" LCD monitor that goes up to 1680x1050. When I had OSX on the system the resolution was supported just fine. Now that Gentoo is on it the resolution works but there are a lot of little grey lines that run horizontally up the monitor.

I have a similar xorg.conf on my x86 system and I had the same lines on the monitor. The x86 system has an nvidia FX 5200 in it. When I used the kernel drivers the lines appeared. When I use the nvidia drivers from nvidia (x11-drivers/nvidia-drivers) then the screen looks great! All of the lines disappear.

The card in the G4 Gigabit is the default (Rage 128 with 16 MB). So I am wondering if it's a problem with the drivers or with the video card. My guess is the drivers since OSX looked fine (no lines).

Is the only Rage 128 driver the one that comes with the kernel?

Has anyone upgraded their video card on their G4 machine with success in Linux? I don't see why it wouldn't work. I am thinking about either flashing a PC card (as they are much cheaper than mac cards) or doing something drastic like:
http://www.xlr8yourmac.com/Graphics/FX5200_Mods_for_G4/FX5200_G4mods.html

Any ideas/suggestions/recommendations? Am I the only one that sees these grey horizontal lines (the lines seem to disappear if I crank the brightness up on the monitor)?

The lines don't appear at a lower resolution, but X doesn't look quite as nice as it does on the x86.


Last edited by fuzion on Fri Mar 09, 2007 12:16 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Thu Mar 08, 2007 5:59 am    Post subject: Reply with quote

Try using xac to generate a working configuration. You may also want to try setting:
Code:

Option "UseFBDev" "True"


Or false, some setups can't detect the proper configuration. This goes in the Device subsection (where the driver is defined).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Mar 08, 2007 6:04 pm    Post subject: Reply with quote

Maybe adding this to the Device section helps:
Code:
Option      "PanelSize"      "1680x1050"
Option      "DDCMode"      "false"
Option      "MonitorLayout"      "TMDS"

found here
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
fuzion
n00b
n00b


Joined: 19 Feb 2003
Posts: 56

PostPosted: Fri Mar 09, 2007 12:16 am    Post subject: [solved] video card hacking and G4 (issue with Modeline) Reply with quote

Thanks for all of your suggestions but they didn't work for me. I'm still not completely sure how Modeline works but that's what the problem was for me.

I noticed that the x86 Modeline was different than the Modeline on the ppc.

Here are my results:

Produces lines on the ppc:
Modeline "1680x1050" 146.028 1680 1784 1960 2240 1050 1053 1059 1089 +HSync +VSync

Works on the x86 but causes an error on the monitor on the ppc "Out of Range 83.7 kHz / 60 Hz":
Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +VSync

Works on the ppc perfectly with no lines:
Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +VSync

My guess is that the _60.00 is a frequency that is too high for the old Rage 128. That's a completely uneducated guess :D

If it helps anyone else, my monitor is the LG L204WT (20.1" LCD that supports 1680x1050). I think the lines were caused because the screen was being squished by the Modeline to something smaller than what it should have been. The cursor also looked strange while moving on the screen, as if it had to cross over several 'vertical lanes' to move horizontally on the screen.

It sure is nice not having to buy a new video card (let alone cut the pins off of one to get it to fit in the motherboard :-).
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