Bug#533450: Some success

2009-07-13 Thread Kushal Koolwal

I have got X working now, but only by force-overwriting files in the
libdrm2 package and deleting a libdrm.so.2.4*-file by hand, adding a
symlink in /lib/ to the libdrm from the libdrm-poulsbo1 package.

So I spend a good chunk of my weekend getting up Xorg driver running. I was 
able to compile the packages
and install them on my Debian unstable (2.6.30-1-686) system after following 
Adam's instructions (thanks).

Now upon rebooting, the psb framebuffer driver kicks in and then X server tries 
to start but fails
with the following error messages:
debian:~# cat /var/log/Xorg.0.log | grep (EE)
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(EE) PSB(0): the stolenBase is:0x1f80
(EE) PSB(0): screnIndex is:0;fbPhys is:0x1f80; fbsize is:0x007df000
(EE) PSB(0): Could not find a valid initial configuration for this screen.
(EE) Screen(s) found, but none have a usable configuration.
debian:~# 

I am attaching my entire xorg.conf and Xorg.0.log file.

Adam, do you mind posting your xorg.conf file?
Kushal Koolwal

I do blog at http://blogs.koolwal.net/


_
Bing™ finds low fares by predicting when to book. Try it now.
http://www.bing.com/travel/deals/airline-ticket-deals.do?form=MTRHPGpubl=WLHMTAGcrea=TXT_MTRHPG_Travel_Travel_TravelDeals_1x1

Xorg.0.log
Description: Unix manual page


xorg.conf
Description: Binary data


Bug#533450: Some success

2009-07-13 Thread Adam =?UTF-8?Q?Sj=C3=B8gren
On Mon, 13 Jul 2009 12:24:36 -0700, Kushal wrote:

 (EE) PSB(0): Could not find a valid initial configuration for this screen.
 (EE) Screen(s) found, but none have a usable configuration.

The problem is that X isn't finding the LCD-panel, I think. Putting

  Option  IgnoreACPIyes

in my configuration helped. (I think I found that solution by searching
via Google.)

 Adam, do you mind posting your xorg.conf file?

Sure:

  Section Device
  Identifier  Builtin Default psb Device 0
  Driver  psb
  Option  IgnoreACPIyes
  EndSection
  Section Screen
  Identifier  Builtin Default psb Screen 0
  Device  Builtin Default psb Device 0
  EndSection
  Section ServerLayout
  Identifier  Builtin Default Layout
  Screen  Builtin Default psb Screen 0
  EndSection


It would be really cool if someone with X-packaging experience would
comment on the libdrm2 vs. libdrm-poulsbo1 problem.


   Best regards,

 Adam

-- 
 Perl 5 is a velociraptor, but we need anAdam Sjøgren
  acceloraptor now. a...@koldfront.dk



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



Bug#533450: Some success

2009-07-10 Thread Kushal Koolwal

Hi Adam,

Last few days I have been trying to get the XOrg psb driver working on Lenny 
based on [1]. I had a partial success with it - I got the kernel drm stuff 
working (psb.ko and drm.ko) and I get a psb framebuffer console during the 
boot. However when my X server starts I get the following message:
xf86MapVidMem: Could not mmap framebuffer (0×, 0xdfe8) (Cannot 
allocate memory)

In case if you want to try the approach in [1], I can email you my steps.

I think I am pretty close to get it working but I would still like to try your 
approach. You mentioned that you were able to get the packages compiled from 
PPA Jaunty source on your Debian unstable without pulling the entire Xorg from 
Ubuntu? Do you mind giving summary of your steps as to how you did it? I tried 
to build the xserver-xorg-video-psb package but I get packages dependency error 
as some of the packages that are require are not in unstable:
***
checking for XORG... configure: error: Package requirements (xorg-server= 
1.0.99.901 xproto fontsproto xf86dgaproto  xineramaproto randrproto renderproto 
videoproto xf86miscproto xextproto) were not met:

No package 'xf86dgaproto' found
No package 'xineramaproto' found
No package 'xf86miscproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
***

How did you get past this error? Did you end up downloading the missing 
packages from Ubuntu?

Your help will be greatly appreciated.

[1] 
http://www.happyassassin.net/2009/05/13/native-poulsbo-gma-500-graphics-driver-for-fedora-10/

Kushal Koolwal

I do blog at http://blogs.koolwal.net/








 From: kushalkool...@hotmail.com
 To: zerop...@gmail.com
 CC: 533...@bugs.debian.org
 Subject: RE: Bug#533450: ITP: xserver-xorg-video-psb -- Xorg Graphics driver 
 for Intel Poulsbo chipset (GMA 500)
 Date: Tue, 30 Jun 2009 09:46:00 -0700


 Awesome! Thank you for your time and detailed steps,

 Most of the needed packages seem to be easy enough to get moves over to
 debian, but what we really seem to need is xserver-xorg-video-psb to be built
 against debian's xorg.
 Yes, it seems that if I try to install Xorg from Lenny it, it tries to remove 
 the psb packages and vice versa. I don't know enough about Xorg system, but I 
 am ready to spare some time to get the psb packages working in Debian. If 
 there is some sort of similar example from the past on how to port packages 
 from Ubuntu to Debian, I can give it a shot.

 Kushal Koolwal

 I do blog at http://blogs.koolwal.net/









 _
 Lauren found her dream laptop. Find the PC that’s right for you.
 http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

_
Hotmail® has ever-growing storage! Don’t worry about storage limits. 
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009


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



Bug#533450: Some success

2009-07-10 Thread Adam =?UTF-8?Q?Sj=C3=B8gren
On Fri, 10 Jul 2009 10:29:26 -0700, Kushal wrote:

 I think I am pretty close to get it working but I would still like to
 try your approach. You mentioned that you were able to get the
 packages compiled from PPA Jaunty source on your Debian unstable
 without pulling the entire Xorg from Ubuntu?

Yes.

 Do you mind giving summary of your steps as to how you did it?

Put the deb-src line from the Ubuntu Mobile Team PPA page into
/etc/apt/sources.list and then download the sources and build the
packages.

A number of adjustments need to be made for the packages to build on
Debian unstable, of course.

I have got X working now, but only by force-overwriting files in the
libdrm2 package and deleting a libdrm.so.2.4*-file by hand, adding a
symlink in /lib/ to the libdrm from the libdrm-poulsbo1 package.

You can see the changes I had to make in this git-repository:

 * http://koldfront.dk/gitweb?p=psb;a=summary

I simply started with the Ubuntu Mobile Team PPA packages for Jaunty and
modified them until I could build on Debian unstable.

Missing still is:

 * Making libdrm-poulsbo1 play nice with libdrm2 (probably need to do
   something similar to what the libdrm-intel1 package does?) 
   [libdrm-poulsbo].

 * Find out what the correct packages to depend on instead of
   linux-headers-generic and linux-generic are [psb-kernel-source].

 * Check that the euid to loginuid change is correct [psb-kernel-source].

 * Check how the I2C_HW_B_INTELFB define should be handled
   [psb-kernel-source].

The only problem I have currently with functionality is that the
Synaptics touchpad on my Acer Aspire One 751H doesn't work, so I have to
attach a mouse.


  Best regards,

-- 
 Oh, we all like motorcycles, to some degree.   Adam Sjøgren
 a...@koldfront.dk



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