Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread John Paul Adrian Glaubitz


> On Mar 6, 2017, at 8:36 AM, Michel Dänzer  wrote:
> 
>> On 06/03/17 04:20 PM, John Paul Adrian Glaubitz wrote:
>> Correct me if I'm wrong, but in order to use atyfb you have to use
>> the fbdev xorg driver. That's my main point.
> 
> If you mean for Xorg to use atyfb, that's technically correct, but I'm
> not sure how it's relevant.

It's relevant because using the FB driver is always a working fallback solution.

>> I was talking about the missing DRM module as explained in the linked
>> article on the X.Org wiki.
> 
> The kernel module is only needed for DRI 3D hardware acceleration, for
> which the needed Mesa driver isn't available in Debian (or even current
> upstream Mesa) anyway.

I know DRM is required for 3D acceleration. I was not sure if the driver would 
allow to be loaded with the DRM module missing.

>> But in any case, using fbdev should always work. The "mach64" driver
>> may be broken because it's more or less orphaned.
> 
> Except for the part where Riccardo says that the same userspace works
> with an older kernel.

I missed that part completely.

> Anyway, I looked at Riccardo's original post again and noticed that his
> xorg.conf has options disabling all hardware acceleration of
> xserver-xorg-video-mach64 anyway. In that case there's no benefit in
> using that vs xserver-xorg-video-fbdev.

On a sidenote: Please be more polite on this list. There is no need to be that 
rude and condescending.

Thank you!

Adrian


Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Michel Dänzer
On 06/03/17 04:59 PM, John Paul Adrian Glaubitz wrote:
>> On Mar 6, 2017, at 8:36 AM, Michel Dänzer  wrote:
>>
>> Anyway, I looked at Riccardo's original post again and noticed that his
>> xorg.conf has options disabling all hardware acceleration of
>> xserver-xorg-video-mach64 anyway. In that case there's no benefit in
>> using that vs xserver-xorg-video-fbdev.
> 
> On a sidenote: Please be more polite on this list. There is no need to
> be that rude and condescending.

What specifically did you find rude and condescending? It's an honest
question. I know my writing tends to be too concise, but I'm honestly
always trying to be respectful and stick to technical facts, certainly
not to be rude and condescending.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Re: Newbie trying to install Debian PPC into an old 15" PowerBook G4...

2017-03-06 Thread Martin Hřebec


On 03/06/2017 08:37 AM, PhiLLip Pi wrote:
> ...
>> OK, I went back to Debian's net-installer. I installed into the ext4 
>> partition that was made by Ubuntu's installer. Everything went good from 
>> here. I was able to boot up Debian (froze at its text login screen 
>> though) and Mac OS X. Now, I need to install X and all that GUI stuff. 
>> ;)
> 
> Hmm, I must be blind. I can't seem to find any X11, XFree86, Xwhatever, 
> etc. packages for GUI stuff. Also, is this net installer really limited 
> compared to regular Debian installer for 64-bit non-Mac PCs? Am I 
> expecting too much from an old PowerBook G4? :(
> 

As I remember, there is software components selection during Debian net
install. I recomend you select lxde desktop during installation.

If you are installed system without X and now you need it, do:
apt-get install task-lxde-desktop( for complete desktop environment )
or
apt-get install lxde  ( for less complete )

lxde is best for slow machines.



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread John Paul Adrian Glaubitz
On 03/06/2017 09:06 AM, Michel Dänzer wrote:
>> On a sidenote: Please be more polite on this list. There is no need to
>> be that rude and condescending.
> 
> What specifically did you find rude and condescending? It's an honest
> question. I know my writing tends to be too concise, but I'm honestly
> always trying to be respectful and stick to technical facts, certainly
> not to be rude and condescending.

You are constantly implying ignorance instead of mistakes.

I know that mach64 doesn't support KMS, but I missed the part where
Riccardo said it was working on an older kernel. That was a mistake
on my side, but that doesn't mean you have to assume I don't know
the difference between UMS, KMS and the FB driver.

I have installed Debian's PowerPC port on almost identical hardware
in the past and I have debugged similar X.Org issues on these machines.

You, being MESA and X upstream, have certainly more in-depth knowledge
than I do. But it doesn't automatically invalidate my suggestions
like using FB as a fallback driver.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Riccardo Mottola

Hi guys,

don't fight over kernel modules :) le'ts just get the thing working again.

Michel Dänzer wrote:

But in any case, using fbdev should always work. The "mach64" driver
>may be broken because it's more or less orphaned.

Except for the part where Riccardo says that the same userspace works
with an older kernel.


Exactly, that "proof" means that the changes comes from the kernel or 
that the driver needs updating to work with the new kernel.


Compiling kernels is a bit tight on this iBook. What road can i follow 
to help you track down changes? Can I get easily a dpkg package of 
intermediate kernel versions to bisect things?


Are there changes in the kernel configuration itself? We go from 4.7.0-1 
to 4.9.0-2


If you can point me to an intermediate version I'd like to try it!


Anyway, I looked at Riccardo's original post again and noticed that his
xorg.conf has options disabling all hardware acceleration of
xserver-xorg-video-mach64 anyway. In that case there's no benefit in
using that vs xserver-xorg-video-fbdev.


Not all acceleration, but most of it - that is the best I could get 
about a year ago withotu having very strange display issues.
I remember this was quite a still  bette than "accel off" or fbdev which 
is quite horribly slow. I'd love to nable some of it again and gain 
again some speed which was usable about 2 years ago.


Of course the goal is to get most features and acceleration working (again),


Riccardo



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Riccardo Mottola

Hi,

John Paul Adrian Glaubitz wrote:

Your machine is loading the framebuffer kernel driver which will only work
when you configure X.Org to use the "fbdev" driver. You can either set your
display driver to "fbdev" (see further below) or disable the framebuffer driver
on the kernel command line with:

video=atyfb:off


If it is not something added in the kernel update, it was most probably 
working before. However, a try might be worth it.
How can I test it ? I know my moves in Lilo and grub, however the PPC 
loader is a bit harder for me.

Can I modify the parameters for just a single boot to test it?

It might be good to know if the framebuffer driver is interfering with X 
right now.


Riccardo



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread John Paul Adrian Glaubitz
On 03/06/2017 11:04 AM, Riccardo Mottola wrote:
> Exactly, that "proof" means that the changes comes from the kernel or
> that the driver needs updating to work with the new kernel.

Or the kernel needs to be fixed in case it's a regression.

> Compiling kernels is a bit tight on this iBook. What road can i follow
> to help you track down changes? Can I get easily a dpkg package of 
> intermediate kernel
> versions to bisect things?

You can just cross-compile the kernel from a fast amd64 machine. If you
are on Stretch or Unstable, you can install a cross-compiler for PowerPC
with:

# apt install gcc-6-powerpc-linux-gnu

and you will most likely also need things like the ncurses development
headers if you want to use things like "make menuconfig". So, I'd just
install the build dependencies for the Linux kernel:

# apt build-dep --arch-only linux

> Are there changes in the kernel configuration itself? We go from 4.7.0-1 to 
> 4.9.0-2

Check for changes here:

> https://anonscm.debian.org/cgit/kernel/linux.git/tree/debian/config

and in the Debian changelog:

> 
http://metadata.ftp-master.debian.org/changelogs/main/l/linux/unstable_changelog

> If you can point me to an intermediate version I'd like to try it!

You will find these versions on:

> http://snapshot.debian.org/

Follow the instructions on the webpage on how to add a sources list entry for
a certain snapshot date. Then run "apt update" with verification disabled
and install the kernel version of your choice.

> Not all acceleration, but most of it - that is the best I could get about a 
> year ago withotu having very strange display issues.
> I remember this was quite a still  bette than "accel off" or fbdev which is 
> quite horribly slow. I'd love to nable some of it again and gain again some 
> speed
> which was usable about 2 years ago.
> 
> Of course the goal is to get most features and acceleration working (again),

Then you need to provide as many datapoints as possible. Trying to bisect the
kernel version which broke the driver is already the right idea.

I would start working with snapshot.debian.org to find the Debian kernel
version which broke the driver. Then we can inspect the changes for the
first bad version and possibly continue with "git bisect" if we cannot find
any obvious change.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Wolfgang Pfeiffer
On Mon, 2017-03-06 at 08:59 +0100, John Paul Adrian Glaubitz wrote:
> 
> > 
> > On Mar 6, 2017, at 8:36 AM, Michel Dänzer 
> > wrote:
> > 
> > > 
> > > On 06/03/17 04:20 PM, John Paul Adrian Glaubitz wrote:
> > > Correct me if I'm wrong, but in order to use atyfb you have to
> > > use
> > > the fbdev xorg driver. That's my main point.
> > 
> > If you mean for Xorg to use atyfb, that's technically correct, but
> > I'm
> > not sure how it's relevant.
> 
> It's relevant because using the FB driver is always a working
> fallback solution.
> 
> > 
> > > 
> > > I was talking about the missing DRM module as explained in the
> > > linked
> > > article on the X.Org wiki.
> > 
> > The kernel module is only needed for DRI 3D hardware acceleration,
> > for
> > which the needed Mesa driver isn't available in Debian (or even
> > current
> > upstream Mesa) anyway.
> 
> I know DRM is required for 3D acceleration. I was not sure if the
> driver would allow to be loaded with the DRM module missing.
> 
> > 
> > > 
> > > But in any case, using fbdev should always work. The "mach64"
> > > driver
> > > may be broken because it's more or less orphaned.
> > 
> > Except for the part where Riccardo says that the same userspace
> > works
> > with an older kernel.
> 
> I missed that part completely.
> 
> > 
> > Anyway, I looked at Riccardo's original post again and noticed that
> > his
> > xorg.conf has options disabling all hardware acceleration of
> > xserver-xorg-video-mach64 anyway. In that case there's no benefit
> > in
> > using that vs xserver-xorg-video-fbdev.
> 
> On a sidenote: Please be more polite on this list. There is no need
> to be that rude and condescending.

No. He wasn't rude. Not a bit. He simply was - as most of the time here
- very specific, terse and up to the relevant technical points. And
yes: I miss Michel's postings here a little bit. He's a pro, and I
definitively trust him a lot when he's commenting here or elsewhere.

Here's an example of what might be understood as rude. It was written
by me, years ago, on this list:

"Situations like that is why I say that Debian-Linux does not work for
people with a girl-friend or a family, or for folks who need to get a
job done on a computer in a reasonable amount of time. Or for folks who
simply like watching shadows on the wall (John Lennon :) or the stars
above them.

I'd guess it's a system for folks not knowing what to do with their
lives if they had a working OS on their computer."

Whole message:
https://lists.debian.org/debian-powerpc/2003/08/msg00559.html


I admit: I miss postings like that previous one a bit ... :)

> 
> Thank you!

No worries, Adrian: I'm immensely grateful to all Debian developers,
maintainers etc. for their work  - and to every single one of them. I'd
suggest to not destroy the fun of working on it by being too sensitive
about what people *might* have had in their minds when posting here ..

Love you all  :)

Wolfgang

> 
> Adrian



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread John Paul Adrian Glaubitz
On Mon, Mar 06, 2017 at 02:00:03PM +0100, Wolfgang Pfeiffer wrote:
> No. He wasn't rude. Not a bit.

Yes, *I* perceived that as rude.

> He simply was - as most of the time here
> - very specific, terse and up to the relevant technical points.

He was talking to me as if I was an idiot. It is alright to correct
someone if they make a mistake. It's not to okay to automatically
assume they're ignorant.

> Here's an example of what might be understood as rude. It was written
> by me, years ago, on this list:
> (...)

I don't think you can justify that by proving that people can behave
even worse. I also don't think it's good idea to continue the
discussion in this direction. That never ends well.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: PowerMac G5 and KMS

2017-03-06 Thread 小野寛生
Thank you.

Just unconditionally disabling AGP in R300 initialization made
radeonkms to load successfully.
It seems that no tunables for FreeBSD are described instead of
MODULE_PARM_DESC and module_param_named.
So, I have to learn how to add them to the source code.
(/usr/src/sys/dev/drm2/os_freebsd.c seem to help.)

Anyway, it worked. thank you.

Some problems remain. The virtual screen is larger than the real one and
I cannot see the command line I am inputting, and I did not yet test X  as
there seem to be problems in building them from ports, but that are
other things.


2017-03-06 13:03 GMT+09:00 Herminio Hernandez, Jr.
:
> Per the radeon man page here. However this option has been removed after
> 10.2. Under Linux the you set it in yaboot bootloader by using
> 'radeon.agpmode=-1'. I do not know if this will work in loader.conf
>
>
>
>   Option "BusType""string"
> Used  to  replace  previous ForcePCIMode option.  Should only be
> used when driver's bus detection is incorrect  or  you  want  to
> force an AGP card to PCI mode. You should NEVER force a PCI card
> to AGP bus.
> PCI-- PCI bus
> AGP-- AGP bus
> PCIE   -- PCI Express bus
> (used only when DRI is enabled)
> The default is auto detect.
>
>
>
> On Sun, Mar 5, 2017 at 3:35 PM, Hiroo Ono (小野寛生)
>  wrote:
>>
>> Thank you. I see the point.
>>
>> 2017-03-05 17:20 GMT+09:00 Herminio Hernandez Jr.
>> :
>> > Try to force the Radeon driver into PCI mode. Under Linux doing this
>> > stops
>> > the blank screen and locks.
>>
>> Could anyone tell me how to do it? Can it be done from FreeBSD?
>> I googled a little but could not find anything useful (maybe search
>> words were not
>> appropriate), so how to do it on Linux helps me also.
>>
>> pciconf -lc says:
>> vgapci0@pci0:0:16:0: class=0x3 card=0x41501002 chip=0x41501002
>> rev=0x00 hdr=0x00
>>   cap 02[58] = AGP v3 8x 4x SBA disabled]
>>   cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
>
>



Re: Fwd: Re: Newbie trying to install Debian PPC into an old 15" PowerBook G4...

2017-03-06 Thread Lennart Sorensen
On Fri, Mar 03, 2017 at 07:38:47PM -0800, PhiLLip Pi wrote:
> On Fri, Mar 03, 2017 at 11:07:23AM -0500, Lennart Sorensen wrote:
> 
> > > I downloaded, burned, and booted 
> > > http://cdimage.ubuntu.com/releases/precise/release/ubuntu-12.04-desktop-powerpc.iso
> > >  
> > > since I didn't have a blank DVD to use for the bigger and newer 
> > > http://cdimage.ubuntu.com/lubuntu/releases/trusty/release/lubuntu-14.04.5-desktop-powerpc.iso
> > >  
> > > file. Maybe that's a good thing because v12.04 was SOO 
> > > slow as to be expected. :(
> > > 
> > > Anyways, it took me a while to navigate since I don't use Ubuntu. I 
> > > managed to find Terminal with its Unity's hotkeys (ctrl+alt+T). I ran 
> > > "sudo gparted" command. I resized the free drive space in half. Now, we 
> > > wait...
> > 
> > I hope it works.
> 
> Nope, it failed pretty fast but I didn't have free time to research, 
> screen capture, upload, etc. for you guys due to a family emergency 
> (nothing serious). Now, I have time for now! GParted's details showed:
> 
> GParted 0.11.0 --enable-libparted-dmraid
> 
> Libparted 2.3
> 
> Shrink /dev/sda5 from 55.89 GiB to 36.11 GiB  00:15:57( ERROR )
> 
>  calibrate /dev/sda5  00:00:04( SUCCESS )
> 
>   path: /dev/sda5
>   start: 704
>   end: 117,209,529
>   size: 117,208,826 (55.89 GiB)
> 
>  check file system on /dev/sda5 for errors and (if possible) fix 
> them( N/A )
> 
>   checking is not available for this file system
> 
>  shrink file system  00:15:44( ERROR )
> 
>   using libparted
> 
>  libparted messages( INFO )
> 
>   Input/output error during read on /dev/sda
> 
>   An error occurred during extent relocation.
> 
>   Data relocation has failed.
> 
>   Resizing the HFS+ volume has failed.
> 
> 
> 
> Create Primary Partition #1 (unformatted, 19.78 GiB) on /dev/sda
> 
> 
> I also managed to get a screen capture to share of the whole desktop 
> screen: https://i.imgur.com/vD5a7L7.png ... I hope those help? As you 
> can see, it failed in step 0! :( Maybe I am doing it wrong?
> 
> Maybe I should try installing Ubuntu instead of Debian from this 
> bootable CD to see if it lets me resize and install if it comes with a 
> fancy GUI installer?
> 
> Uh oh. I wonder if my HDD got hosed during this attempt. Scary! :/

That input/output error message makes me wonder if your disk has bad
sectors.

That could be a problem.

-- 
Len Sorensen



Re: Newbie trying to install Debian PPC into an old 15" PowerBook G4...

2017-03-06 Thread Lennart Sorensen
On Sun, Mar 05, 2017 at 11:37:36PM -0800, PhiLLip Pi wrote:
> Hmm, I must be blind. I can't seem to find any X11, XFree86, Xwhatever, 
> etc. packages for GUI stuff. Also, is this net installer really limited 
> compared to regular Debian installer for 64-bit non-Mac PCs? Am I 
> expecting too much from an old PowerBook G4? :(

X11 is called xorg.

Could try 'tasksel' to select graphical desktop install.

Or install task-xfce-desktop or similar.

The netinstall will have access to everything in debian over the internet.

-- 
Len Sorensen



Re: Newbie trying to install Debian PPC into an old 15" PowerBook G4...

2017-03-06 Thread PhiLLip Pi

On Mon, Mar 06, 2017 at 10:53:01AM -0500, Lennart Sorensen wrote:
> On Sun, Mar 05, 2017 at 11:37:36PM -0800, PhiLLip Pi wrote:
> > Hmm, I must be blind. I can't seem to find any X11, XFree86, Xwhatever, 
> > etc. packages for GUI stuff. Also, is this net installer really limited 
> > compared to regular Debian installer for 64-bit non-Mac PCs? Am I 
> > expecting too much from an old PowerBook G4? :(
> 
> X11 is called xorg.

Interesting. apt didn't find any. I am using the default 
/etc/apt/sources.list. I noticed it commented out the servers so I had 
to remove them so it could find the servers.
> 
> Could try 'tasksel' to select graphical desktop install.

 
> Or install task-xfce-desktop or similar.

OK, I will try those later.

 
> The netinstall will have access to everything in debian over the internet.

Yeah, that was what I was expecting too and updated compared to full ISO 
files.
-- 
Quote of the Week: "The great companies did not know that the line 
between hunger and anger is a thin line. And money that might have gone 
to wages went for gas, for guns, for agents and spies, for blacklists, 
for drilling. On the highways the people moved like ants and searched 
for work, for food. And the anger began to ferment." --John Steinbeck's 
The Grapes of Wrath
Note: A fixed width font (Courier, Monospace, etc.) is required to see this 
signature correctly.
  /\___/\Phil./Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o   o| | E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /  If crediting, then please kindly use Ant nickname
( )  and AQFL URL/link.



Re: Newbie trying to install Debian PPC into an old 15" PowerBook G4...

2017-03-06 Thread PhiLLip Pi
On Mon, Mar 06, 2017 at 09:36:55AM +0100, Martin Hřebec wrote:
> 
> 
> On 03/06/2017 08:37 AM, PhiLLip Pi wrote:
> > ...
> >> OK, I went back to Debian's net-installer. I installed into the ext4 
> >> partition that was made by Ubuntu's installer. Everything went good from 
> >> here. I was able to boot up Debian (froze at its text login screen 
> >> though) and Mac OS X. Now, I need to install X and all that GUI stuff. 
> >> ;)
> > 
> > Hmm, I must be blind. I can't seem to find any X11, XFree86, Xwhatever, 
> > etc. packages for GUI stuff. Also, is this net installer really limited 
> > compared to regular Debian installer for 64-bit non-Mac PCs? Am I 
> > expecting too much from an old PowerBook G4? :(
> > 
> 
> As I remember, there is software components selection during Debian net
> install. I recomend you select lxde desktop during installation.

Hmm, I don't remember debian-8.7.1-powerpc-netinst text based installer 
asking me which desktop manager to install. It only installed the base 
stuff. I will have to try again. :(

 
> If you are installed system without X and now you need it, do:
> apt-get install task-lxde-desktop( for complete desktop environment )
> or
> apt-get install lxde  ( for less complete )
> 
> lxde is best for slow machines.

Thanks.
-- 
Quote of the Week: "The great companies did not know that the line 
between hunger and anger is a thin line. And money that might have gone 
to wages went for gas, for guns, for agents and spies, for blacklists, 
for drilling. On the highways the people moved like ants and searched 
for work, for food. And the anger began to ferment." --John Steinbeck's 
The Grapes of Wrath
Note: A fixed width font (Courier, Monospace, etc.) is required to see this 
signature correctly.
  /\___/\Phil./Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o   o| | E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /  If crediting, then please kindly use Ant nickname
( )  and AQFL URL/link.



Re: Newbie trying to install Debian PPC into an old 15" PowerBook G4...

2017-03-06 Thread PhiLLip Pi
...
> > >> OK, I went back to Debian's net-installer. I installed into the ext4 
> > >> partition that was made by Ubuntu's installer. Everything went good from 
> > >> here. I was able to boot up Debian (froze at its text login screen 
> > >> though) and Mac OS X. Now, I need to install X and all that GUI stuff. 
> > >> ;)
> > > 
> > > Hmm, I must be blind. I can't seem to find any X11, XFree86, Xwhatever, 
> > > etc. packages for GUI stuff. Also, is this net installer really limited 
> > > compared to regular Debian installer for 64-bit non-Mac PCs? Am I 
> > > expecting too much from an old PowerBook G4? :(
> > > 
> > 
> > As I remember, there is software components selection during Debian net
> > install. I recomend you select lxde desktop during installation.
> 
> Hmm, I don't remember debian-8.7.1-powerpc-netinst.iso's text based 
> installer asking me which desktop manager or anything to download and 
> install. It only installed the base stuff. I will have to try again. :(

So, I just retried. It never asks me what to install with this net 
installer. After installing the base system, then I saw that 
customization of additional packages. Weird. I wonder why I didn't get 
those before.
-- 
Note: A fixed width font (Courier, Monospace, etc.) is required to see this 
signature correctly.
  /\___/\Phil./Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o   o| | E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /  If crediting, then please kindly use Ant nickname
( )  and AQFL URL/link.



Re: PowerMac G5 and KMS

2017-03-06 Thread Joe Nosay
Set up SSH tunneling with X11 forwarding.

On Mon, Mar 6, 2017 at 9:38 AM, Hiroo Ono (小野寛生) <
hiroo.ono+free...@gmail.com> wrote:

> Thank you.
>
> Just unconditionally disabling AGP in R300 initialization made
> radeonkms to load successfully.
> It seems that no tunables for FreeBSD are described instead of
> MODULE_PARM_DESC and module_param_named.
> So, I have to learn how to add them to the source code.
> (/usr/src/sys/dev/drm2/os_freebsd.c seem to help.)
>
> Anyway, it worked. thank you.
>
> Some problems remain. The virtual screen is larger than the real one and
> I cannot see the command line I am inputting, and I did not yet test X  as
> there seem to be problems in building them from ports, but that are
> other things.
>
>
> 2017-03-06 13:03 GMT+09:00 Herminio Hernandez, Jr.
> :
> > Per the radeon man page here. However this option has been removed after
> > 10.2. Under Linux the you set it in yaboot bootloader by using
> > 'radeon.agpmode=-1'. I do not know if this will work in loader.conf
> >
> >
> >
> >   Option "BusType""string"
> > Used  to  replace  previous ForcePCIMode option.  Should
> only be
> > used when driver's bus detection is incorrect  or  you
> want  to
> > force an AGP card to PCI mode. You should NEVER force a PCI
> card
> > to AGP bus.
> > PCI-- PCI bus
> > AGP-- AGP bus
> > PCIE   -- PCI Express bus
> > (used only when DRI is enabled)
> > The default is auto detect.
> >
> >
> >
> > On Sun, Mar 5, 2017 at 3:35 PM, Hiroo Ono (小野寛生)
> >  wrote:
> >>
> >> Thank you. I see the point.
> >>
> >> 2017-03-05 17:20 GMT+09:00 Herminio Hernandez Jr.
> >> :
> >> > Try to force the Radeon driver into PCI mode. Under Linux doing this
> >> > stops
> >> > the blank screen and locks.
> >>
> >> Could anyone tell me how to do it? Can it be done from FreeBSD?
> >> I googled a little but could not find anything useful (maybe search
> >> words were not
> >> appropriate), so how to do it on Linux helps me also.
> >>
> >> pciconf -lc says:
> >> vgapci0@pci0:0:16:0: class=0x3 card=0x41501002 chip=0x41501002
> >> rev=0x00 hdr=0x00
> >>   cap 02[58] = AGP v3 8x 4x SBA disabled]
> >>   cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
> >
> >
>


Unable to wake up PowerBook G4's display after closing and reopening its lid.

2017-03-06 Thread PhiLLip Pi
Hello.

Now, I have Debian PowerPC installed, updated, and running on the very 
old 2002 15" PowerBook G4. I noticed after closing (Apple's glowing logo 
light goes off, but the old fans still spin) and opening its lid, it 
won't wake up. I retried this in both LXDE, XFCE, and the GUI login 
screens. Mac OS X/Jaguar v10.2.8 and Yaboot (Apple's lid's logo light 
doesn't turn off though) had no problems.

Is there something I need to install and configure to make it this work 
correctly in Linux?

Thank you in advance. :)
-- 
Quote of the Week: "The great companies did not know that the line 
between hunger and anger is a thin line. And money that might have gone 
to wages went for gas, for guns, for agents and spies, for blacklists, 
for drilling. On the highways the people moved like ants and searched 
for work, for food. And the anger began to ferment." --John Steinbeck's 
The Grapes of Wrath
Note: A fixed width font (Courier, Monospace, etc.) is required to see this 
signature correctly.
  /\___/\Phil./Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o   o| | E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /  If crediting, then please kindly use Ant nickname
( )  and AQFL URL/link.



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Michel Dänzer
On 06/03/17 10:08 PM, John Paul Adrian Glaubitz wrote:
> On Mon, Mar 06, 2017 at 02:00:03PM +0100, Wolfgang Pfeiffer wrote:
>> No. He wasn't rude. Not a bit.
> 
> Yes, *I* perceived that as rude.
> 
>> He simply was - as most of the time here
>> - very specific, terse and up to the relevant technical points.
> 
> He was talking to me as if I was an idiot.

That's a pretty wild accusation. I pointed out that your knowledge about
constraints of KMS based drivers doesn't apply to mach64.


Anyway, I'm glad that the actual thread seems to be going in more
productive directions now.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Re: Xorg fails on ATI after update (mmio aperture)

2017-03-06 Thread Michel Dänzer
On 06/03/17 07:04 PM, Riccardo Mottola wrote:
> 
> don't fight over kernel modules :) le'ts just get the thing working again.

Right, that's always my intent. :)


>> Anyway, I looked at Riccardo's original post again and noticed that his
>> xorg.conf has options disabling all hardware acceleration of
>> xserver-xorg-video-mach64 anyway. In that case there's no benefit in
>> using that vs xserver-xorg-video-fbdev.
> 
> Not all acceleration, but most of it - that is the best I could get
> about a year ago withotu having very strange display issues.
> I remember this was quite a still  bette than "accel off" or fbdev which
> is quite horribly slow.

AFAICT Option "Noaccel" completely disables hardware acceleration.
Together with Option "shadow_fb", it should operate more or less the
same way the fbdev driver does. If you're still seeing a difference in
performance between the two drivers, having a more detailed description
of the difference and seeing the full Xorg log files corresponding to
both cases would be interesting.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Re: Unable to wake up PowerBook G4's display after closing and reopening its lid.

2017-03-06 Thread Mathieu Malaterre
On Tue, Mar 7, 2017 at 3:04 AM, PhiLLip Pi  wrote:
> Hello.
>
> Now, I have Debian PowerPC installed, updated, and running on the very
> old 2002 15" PowerBook G4. I noticed after closing (Apple's glowing logo
> light goes off, but the old fans still spin) and opening its lid, it
> won't wake up. I retried this in both LXDE, XFCE, and the GUI login
> screens. Mac OS X/Jaguar v10.2.8 and Yaboot (Apple's lid's logo light
> doesn't turn off though) had no problems.
>
> Is there something I need to install and configure to make it this work
> correctly in Linux?

I would install at minimum: pbbuttonsd

https://packages.qa.debian.org/p/pbbuttonsd.html

-M



Re: Unable to wake up PowerBook G4's display after closing and reopening its lid.

2017-03-06 Thread PhiLLip Pi

On Tue, Mar 07, 2017 at 07:52:56AM +0100, Mathieu Malaterre wrote:
> >
> > Now, I have Debian PowerPC installed, updated, and running on the very
> > old 2002 15" PowerBook G4. I noticed after closing (Apple's glowing logo
> > light goes off, but the old fans still spin) and opening its lid, it
> > won't wake up. I retried this in both LXDE, XFCE, and the GUI login
> > screens. Mac OS X/Jaguar v10.2.8 and Yaboot (Apple's lid's logo light
> > doesn't turn off though) had no problems.
> >
> > Is there something I need to install and configure to make it this work
> > correctly in Linux?
> 
> I would install at minimum: pbbuttonsd
> 
> https://packages.qa.debian.org/p/pbbuttonsd.html

I can't use the one from stable as shown in 
https://packages.debian.org/jessie/pbbuttonsd ? I am trying to avoid 
prereleases. :/
-- 
Quote of the Week: "The great companies did not know that the line 
between hunger and anger is a thin line. And money that might have gone 
to wages went for gas, for guns, for agents and spies, for blacklists, 
for drilling. On the highways the people moved like ants and searched 
for work, for food. And the anger began to ferment." --John Steinbeck's 
The Grapes of Wrath
Note: A fixed width font (Courier, Monospace, etc.) is required to see this 
signature correctly.
  /\___/\Phil./Ant(Dude) @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o   o| | E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /  If crediting, then please kindly use Ant nickname
( )  and AQFL URL/link.