RE: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread luigi burdo
work on mate 15,10 too with nouveau on 7800gtx 512mb Quad g5no 3d but work
ah no snd-powermac module (forget about? ;-))
Luigi
> Subject: Re: Debian 8 on Late 2005 G5, Graphics Issues
> From: rbtho...@pobox.com
> Date: Sat, 6 Feb 2016 23:06:18 -0800
> CC: csae2...@uibk.ac.at; psaisa...@gmail.com
> To: debian-powerpc@lists.debian.org
> 
> 
> On Feb 6, 2016, at 2:11 PM, Peter Saisanas  wrote:
> 
> > Hi Richard,
> > 
> > In my opinion, the best way to install Debian would be to just install 
> > using a Jessie release.
> > When installing, ensure you install an SSH server in addition to be able to 
> > login via another computer if you happen to have display issues (which you 
> > probably will).
> > 
> > I believe the stretch release currently has issues with the included 
> > default installed kernel (probably due to the version of binutils it has 
> > been built with). So personally I would just install Jessie, then install a 
> > kernel perhaps from ones that I have available.
> > 
> > Afterwards you can upgrade to stretch by changing repositories, but just 
> > keep booting with the kernel I have provided.
> > 
> > If you happen to still have the nVidia FX5200 installed, I can step through 
> > the procedure for you.
> > 
> > Install Jessie and ensure you can ssh in to the G5.
> > 
> > Specifically Install the 4.5.0-rc2 kernel I have configured for you.
> > (Actually this kernel config should work for most Powermac G5's (11.2 or 
> > 7.3 or 7.2), i.e.  AGP or PCIe with nVidia GPU's with the bare minimum of 
> > tinkering required). If all goes well that is!
> > 
> > I have set it up so it should hopefully require NO kernel parameters or 
> > tinkering, i.e. fans should automatically work, nouveau should 
> > automatically work, sound should automatically work. The required modules 
> > that previously needed to be forced to be loaded are built in to the 
> > kernel, msi interrupts are disabled in the kernel and kernel is built with 
> > 4kB pagesize as currently needed by nouveau.
> > 
> > Link for kernel image (no need to install the kernel headers in your case):
> > https://drive.google.com/open?id=0B8pqd5Ots1vfdlNtUFh6dGhiR1U
> > 
> > copy the kernel image deb file to your hdd.
> > 
> > install the kernel using the command:
> > sudo dpkg -i linux-image-4.5.0-rc2-powerpc64_2_powerpc.deb
> > 
> > Once installed you need to edit yaboot.conf
> > 
> > Use the following command:
> > sudo nano /etc/yaboot.conf
> > 
> > Append the following text exactly as listed at the end of the file:
> > 
> > image=/boot/vmlinux-4.5.0-rc2-powerpc64
> >label=test
> >read-only
> >initrd=/boot/initrd.img-4.5.0-rc2-powerpc64
> >append=""
> > 
> > Save yaboot.conf
> > 
> > Apply yaboot config with following command:
> > 
> > sudo ybin -v
> > 
> > Reboot your G5 and when prompted, ensure you enter "test" for the label in 
> > yaboot bootloader.
> > 
> > I have tried to make this as simple as possible.
> > Hopefully if all goes well, it should just work without ANY tinkering 
> > afterwards!
> > 
> > If any issues or tweaks are required, please let me know and I and others 
> > will try our best to help you out!
> > 
> > Good Luck!
> > 
> > Regards,
> > Peter
> 
> Don't forget:  If you want to boot the 4.5 kernel every time by default, you 
> have to add a line to /etc/yaboot.conf
> default=test
> following the line
> enablecdboot
> 
> And don’t forget to do
> sudo ybin -v
> to apply the new config
> 
> Also, if you want to know what kernel is running, you can type
> uname -r
> 
> HTH!
> Rick
> 
  

Re: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread Clive Menzies

On 07/02/16 02:50, Clive Menzies wrote:

On 07/02/16 02:32, Brock Wittrock wrote:
I downloaded Peter's 4.5.0-rc2 kernel, installed it, and updated my 
yaboot.conf but still the same issue. But honestly I could have 
missed something when configuring my system to boot from his newer 
kernel. Planning to look at that again here this evening and peruse 
some logs to see what pops out at me.


If nothing else I will re-install Jessie, download and install 
Peter's 4.5.0-rc2 kernel, and then complete the upgrade to stretch 
and continue booting from that same kernel. Will post my results when 
I can.



Thanks Brock

I decided to bite the bullet and do a fresh jessie install; I was 
thinking of doing the same as you. If I make progress before you, I'll 
let you know.



Hi Brock

Upgrading to stretch from a fresh jessie install with 4.5.0-rc2 kernel 
installed worked fine. :-)


xfce4 display settings is recognising both monitors but the second 
(which is different resolution to the mac screen) still won't come up. 
But at least the non-booting problem is solved.


I'm going to mess around with xrandr to try to get dual head working.

Regards

Clive

--
Clive Menzies
Political Economist
+44 (0) 7836 601378



Re: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread Rick Thomas

On Feb 7, 2016, at 6:49 AM, Clive Menzies  wrote:

> Upgrading to stretch from a fresh jessie install with 4.5.0-rc2 kernel 
> installed worked fine. :-)
> 
> xfce4 display settings is recognising both monitors but the second (which is 
> different resolution to the mac screen) still won't come up. But at least the 
> non-booting problem is solved.
> 
> I'm going to mess around with xrandr to try to get dual head working.

Hi Clive,   That's great to hear!

Just out of curiosity, does the non-mac monitor work when it's the only one 
plugged in? I.e. remove the mac monitor and see what happens.

Enjoy!
Rick


Re: RE: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread Peter Saisanas

snd-powermac is not built in for a reason..

snd-aoa is the newer driver and supports the G5's better.
snd-aoa and snd-powermac modules conflict and to save from people 
blacklisting modules, i removed the older snd-powermac from the build 
config.
snd-aoa should work straight away. if it doesn't, check if something has 
been blacklisted previously.


Regards,
Peter



Re: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread Clive Menzies

On 07/02/16 17:45, Rick Thomas wrote:

On Feb 7, 2016, at 6:49 AM, Clive Menzies  wrote:


Upgrading to stretch from a fresh jessie install with 4.5.0-rc2 kernel 
installed worked fine. :-)

xfce4 display settings is recognising both monitors but the second (which is 
different resolution to the mac screen) still won't come up. But at least the 
non-booting problem is solved.

I'm going to mess around with xrandr to try to get dual head working.

Hi Clive,   That's great to hear!

Just out of curiosity, does the non-mac monitor work when it's the only one 
plugged in? I.e. remove the mac monitor and see what happens.


Hi Rick

It seems to be related to the DVI port; DVI-I-1 works but DVI-I-2 
doesn't. When I swap the monitors around it's the non-mac one which works.


$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x 
axis y axis) 433mm x 270mm

   1680x1050 59.88*+
DVI-I-2 connected 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm

   1280x1024 60.02*+
   1152x864  75.00
   1024x768  85.0075.0860.00
   832x624   74.55
   800x600   85.0675.0060.32
   640x480   85.0175.0060.00
   720x400   70.08

So xrandr sees both but no signal gets to DVI-I-2

I'm trying out various xrandr settings but I suspect it's something 
kernel related. Maybe there's a boot parameter that needs to be passed.


Regards

Clive

--
Clive Menzies
Political Economist
+44 (0) 7836 601378



Re: Re: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread Peter Saisanas

Hi Rick

It seems to be related to the DVI port; DVI-I-1 works but DVI-I-2 
doesn't. When I swap the monitors around it's the non-mac one which 
works.

$ xrandr
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 4096 x 4096
DVI-I-1 connected primary 1680x1050+0+0 (normal left inverted right x 
axis y axis) 433mm x 270mm

1680x1050 59.88*+
DVI-I-2 connected 1280x1024+0+0 (normal left inverted right x axis y 
axis) 338mm x 270mm

1280x1024 60.02*+
1152x864  75.00
1024x768  85.0075.0860.00
832x624   74.55
800x600   85.0675.0060.32
640x480   85.0175.0060.00
720x400   70.08

So xrandr sees both but no signal gets to DVI-I-2

I'm trying out various xrandr settings but I suspect it's something 
kernel related. Maybe there's a boot parameter that needs to be passed.

Regards

Clive

--
Clive Menzies
Political Economist
+44 (0) 7836 601378




Hi Clive,
Do you happen to have an xorg.conf? if so, please remove it.
Xorg should probe for your screens and not need an xorg.conf.
It shouldn't need any kernel parameters passed But stranger things 
have happened!


Please post your xorg.0.log, just curious to see if the edid is read 
correctly.


FYI, I tried it with a Quadro FX4500 and a flashed GeForce 7800 and D.H. 
seemed to work.


I used a Dell 24" LCD @ 1900x1200 together with an old Philips 20" @ 
1680x1050 and it worked... For me anyway


I should have an old GeForce 6600 laying around. I believe you mentioned 
this is GPU you have?
If you like, I can try it out when i get a spare moment as well to see 
if it works on my end.


It may end up being something specific with the GeForce 6600.

Keep us posted.

Regards,
Peter



Re: Debian 8 on Late 2005 G5, Graphics Issues

2016-02-07 Thread Clive Menzies

On 07/02/16 21:34, Peter Saisanas wrote:

Do you happen to have an xorg.conf? if so, please remove it.
Xorg should probe for your screens and not need an xorg.conf.
It shouldn't need any kernel parameters passed But stranger things 
have happened!

Thanks for your help Peter

No. There's no xorg.conf

Please post your xorg.0.log, just curious to see if the edid is read 
correctly.

Attached as a text file


FYI, I tried it with a Quadro FX4500 and a flashed GeForce 7800 and 
D.H. seemed to work.


I used a Dell 24" LCD @ 1900x1200 together with an old Philips 20" @ 
1680x1050 and it worked... For me anyway


I should have an old GeForce 6600 laying around. I believe you 
mentioned this is GPU you have?
If you like, I can try it out when i get a spare moment as well to see 
if it works on my end.


It may end up being something specific with the GeForce 6600.

That would be great but it seems strange it wouldn't just work, 
particularly as both xfce and xrandr see both monitors. What is odd is 
that in the xfce display settings there are options to activate and make 
both monitors master and to discover monitors but the "apply" button is 
greyed out.


Regards

Clive
[24.194] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[24.194] X Protocol Version 11, Revision 0
[24.194] Build Operating System: Linux 3.16.0-4-powerpc64 ppc Debian
[24.194] Current Operating System: Linux Pandora 4.5.0-rc2-powerpc64 #1 SMP 
Sat Feb 6 18:32:12 AEDT 2016 ppc64
[24.195] Kernel command line: 
root=UUID=40729fbb-555a-4fa2-b035-00d8f0c0324e ro 
[24.195] Build Date: 27 January 2016  04:38:03PM
[24.195] xorg-server 2:1.18.0-3 (http://www.debian.org/support) 
[24.195] Current version of pixman: 0.33.6
[24.195]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[24.195] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[24.195] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb  7 21:34:11 
2016
[24.480] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[24.711] (==) No Layout section.  Using the first Screen section.
[24.711] (==) No screen section available. Using defaults.
[24.711] (**) |-->Screen "Default Screen Section" (0)
[24.711] (**) |   |-->Monitor ""
[24.712] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[24.712] (==) Automatically adding devices
[24.712] (==) Automatically enabling devices
[24.712] (==) Automatically adding GPU devices
[24.712] (==) Max clients allowed: 256, resource mask: 0x1f
[24.796] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[24.796]Entry deleted from font path.
[24.856] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[24.856] (==) ModulePath set to "/usr/lib/xorg/modules"
[24.856] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[24.875] (II) Loader magic: 0x208976e8
[24.875] (II) Module ABI versions:
[24.875]X.Org ANSI C Emulation: 0.4
[24.875]X.Org Video Driver: 20.0
[24.875]X.Org XInput driver : 22.1
[24.875]X.Org Server Extension : 9.0
[24.879] (++) using VT number 7

[24.879] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[24.881] (II) xfree86: Adding drm device (/dev/dri/card0)
[24.884] (--) PCI:*(0:10:0:0) 10de:0141:10de:0010 rev 162, Mem @ 
0xa100/16777216, 0x9000/268435456, 0xa000/16777216, BIOS @ 
0x/131072
[24.900] (II) LoadModule: "glx"
[24.918] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[25.190] (II) Module glx: vendor="X.Org Foundation"
[25.190]compiled for 1.18.0, module version = 1.0.0
[25.190]ABI class: X.Org Server Extension, version 9.0
[25.190] (==) AIGLX enabled
[25.190] (==) Matched nouveau as autoconfigured driver 0
[25.190] (==) Matched nv as autoconfigured driver 1
[25.191] (==) Matched nouveau as autoconfigured driver 2
[25.191] (==) Matched nv as autoconfigured driver 3
[25.191] (==) Matched modesetting as autoconfigured driver 4
[25.191] (==) Matched fbdev as autoconfigured driver 5
[25.191] (==) Assigned the driver to the xf86ConfigLayout
[25.191] (II) LoadModule: "nouveau"
[25.191] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[25.296] (II) Module nouveau: vendor="X.Org Found