Bug#622606: xserver-xorg-video-r128: [regression] [powerpc] X dies with SIGBUS if I tell it UseFBDev false

2012-03-24 Thread Tormod Volden
Rogério and James,

Would you be willing to test this patch:
http://alioth.debian.org/~tormod-guest/0001-Do-not-use-VBE-on-powerpc-in-R128ProbeDDC.patch

It should avoid the SIGBUS error when running without an xorg.conf or
with -configure. It does not change much more, but my hope is that X
will start and fall back to some low screen resolution instead of
simply crashing.

Thanks in advance,
Tormod



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622606: xserver-xorg-video-r128: [regression] [powerpc] X dies with SIGBUS if I tell it UseFBDev false

2012-03-24 Thread Julien Cristau
[adding Rogério and James to the recipients, otherwise they most likely
 won't see this]

On Sat, Mar 24, 2012 at 13:24:28 +0100, Tormod Volden wrote:

 Rogério and James,
 
 Would you be willing to test this patch:
 http://alioth.debian.org/~tormod-guest/0001-Do-not-use-VBE-on-powerpc-in-R128ProbeDDC.patch
 
 It should avoid the SIGBUS error when running without an xorg.conf or
 with -configure. It does not change much more, but my hope is that X
 will start and fall back to some low screen resolution instead of
 simply crashing.
 
 Thanks in advance,
 Tormod


signature.asc
Description: Digital signature


Bug#622606: xserver-xorg-video-r128: [regression] [powerpc] X dies with SIGBUS if I tell it UseFBDev false

2011-04-15 Thread James Tappin
On Wed, 13 Apr 2011 08:08:00 -0300
Rogério Brito rbr...@ime.usp.br wrote:

RB X-Debbugs-CC: debian-powe...@lists.debian.org
RB Package: xserver-xorg-video-r128
RB Version: 6.8.1-5
RB Severity: important
RB 
RB Hi there.
RB 
RB This is a PowerPC (iBook G3), with a R128 video card and with a very
RB recent kernel (2.6.38), all from Debian, none compiled by me.
RB 
RB As per bug #484015 (see my comments there), I have to provide an
RB xorg.conf file or I get a completely screwed X.
RB 
RB When I use the file attached below by the bug script, I get a SIGBUS
RB when I tell the X server that I want to disable UseFBDev. This is a
RB regression of, at least, version 1:6.8.0-1 of the driver.
RB 
RB I am attaching the last log from X here. If any further information
RB is desired, please let me know.
RB 
RB 
RB Regards.

I've got a similar machine that I just resurrected to test for
endian-ness issues in a project I'm working on. I'm using the xorg.conf
that was recommened to me a couple of weeks ago:
http://mac.linux.be/content/xorgconf-ibook-g3-500-dual-usb-0

Changing UseFBDev to false with that configuration does not cause a
problem, though I think (I've not done any detailed comparison) that it
is a little slower (maybe 5%).

As for needing an xorg.conf -- I think that the problem is that the
screen does not send valid EDID information (presumably Apple were
cutting corners and built OSX to know the screen capability from the
machine's identity). IMHO -- Xorg needs to have a manual fallback that
asks for information if there is neither an xorg.conf nor valid EDID and
then creates an xorg.conf.

-- 
++---+-+
| James Tappin   | School of Physics  Astronomy |  O__|
| s...@star.sr.bham.ac.uk | University of Birmingham  | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722  | |
++-+



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#622606: xserver-xorg-video-r128: [regression] [powerpc] X dies with SIGBUS if I tell it UseFBDev false

2011-04-13 Thread Rogério Brito
X-Debbugs-CC: debian-powe...@lists.debian.org
Package: xserver-xorg-video-r128
Version: 6.8.1-5
Severity: important

Hi there.

This is a PowerPC (iBook G3), with a R128 video card and with a very recent
kernel (2.6.38), all from Debian, none compiled by me.

As per bug #484015 (see my comments there), I have to provide an xorg.conf
file or I get a completely screwed X.

When I use the file attached below by the bug script, I get a SIGBUS when I
tell the X server that I want to disable UseFBDev. This is a regression of,
at least, version 1:6.8.0-1 of the driver.

I am attaching the last log from X here. If any further information is
desired, please let me know.


Regards.


-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Jun 27  2010 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1981840 Mar 26 05:04 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
:00:10.0 VGA compatible controller [0300]: ATI Technologies Inc Rage 
Mobility M3 AGP 2x [1002:4c46] (rev 02)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 1156 Apr 13 07:39 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
Section ServerLayout
Identifier  X.org Configured
Screen  0   Screen0   0   0
InputDevice Mouse0CorePointer
InputDevice Keyboard0 CoreKeyboard
EndSection


Section ServerFlags
Option  DontZap   false
EndSection


Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection


Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol  auto
Option  Device/dev/input/mice
Option  ZAxisMapping  4 5 6 7
EndSection


Section Monitor
Identifier  Monitor0
VendorName  Monitor Vendor
ModelName   Monitor Model
Option  DPMS
HorizSync   28-49
VertRefresh 43-72
EndSection

Section Device
Identifier  Card0
VendorName  ATI Technologies Inc
BoardName   Rage Mobility M3 AGP 2x
BusID   PCI:0:16:0
Driver  r128

Option  DMAForXv  true
Option  AGPMode   2
Option  UseFBDev  false
EndSection

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0

DefaultDepth16
SubSection  Display
Modes   1024x768  800x600   640x480
Depth   16
EndSubSection

SubSection  Display
Modes   1024x768  800x600   640x480
Depth   24
EndSubSection
EndSection

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 2.6.38-2-powerpc (Debian 2.6.38-3) (b...@decadent.org.uk) (gcc 
version 4.4.5 (Debian 4.4.5-15) ) #1 Thu Apr 7 05:23:43 UTC 2011

No Xorg X server log files found.

udev information:
-
P: /devices/pci0001:10/0001:10:17.0/input/input4/event4
N: input/event4
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0001:10/0001:10:17.0/input/input4/event4
E: MAJOR=13
E: MINOR=68
E: DEVNAME=/dev/input/event4
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=pci-0001:10:17.0

P: /devices/virtual/input/input0/event0
N: input/event0
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input0/event0
E: MAJOR=13
E: MINOR=64
E: DEVNAME=/dev/input/event0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: XKBMODEL=pc105
E: XKBLAYOUT=us
E: XKBVARIANT=intl
E: XKBOPTIONS=terminate:ctrl_alt_bksp
E: BACKSPACE=guess

P: /devices/virtual/input/input1/event1
N: input/event1
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input1/event1
E: MAJOR=13
E: MINOR=65
E: DEVNAME=/dev/input/event1
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=us
E: XKBVARIANT=intl
E: XKBOPTIONS=terminate:ctrl_alt_bksp
E: BACKSPACE=guess

P: /devices/virtual/input/input2/event2
N: input/event2
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input2/event2
E: MAJOR=13
E: MINOR=66
E: DEVNAME=/dev/input/event2
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial

P: /devices/virtual/input/input2/mouse0
N: input/mouse0
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input2/mouse0
E: MAJOR=13
E: MINOR=32
E: DEVNAME=/dev/input/mouse0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial

P: /devices/virtual/input/input3/event3
N: input/event3
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input3/event3
E: MAJOR=13
E: MINOR=67
E: DEVNAME=/dev/input/event3
E: SUBSYSTEM=input
E: ID_INPUT=1
E: