[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-03 Thread Timo Aaltonen
** Changed in: jockey (Ubuntu)
Sourcepackagename: linux-restricted-modules-2.6.24 => jockey
   Importance: Undecided => High
   Status: Invalid => Triaged

** Summary changed:

- ATI Driver not working on Compaq V2321US (Xpress200)
+ fglrx needs to use 24bit mode, and supports composite now

-- 
fglrx needs to use 24bit mode, and supports composite now
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-02 Thread cyberdork33
making the edits to my xorg.conf seems to have done it. Compiz works
well and all.

** Changed in: linux-restricted-modules-2.6.24 (Ubuntu)
   Status: New => Invalid

** Changed in: jockey
   Status: New => Confirmed

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-02 Thread Sander Jonkers
This must be the ultimate fglrx.py:

1) "Defaultdepth24" is added to the Screen-Section of xorg.conf
AND
2) the unnecessary and unwanted "Composite 0" option is not put into xorg.conf 
in order to enable Compiz 

To compile the .py to .pyc, I did this (note the working directory, and
note the *sudo* pyton!):

 [EMAIL PROTECTED]:/usr/share/jockey/handlers$ sudo python
[sudo] password for sander:
Python 2.5.2 (r252:60911, Feb 27 2008, 18:33:09)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import py_compile
>>> py_compile.compile('fglrx.py')
>>>
[EMAIL PROTECTED]:/usr/share/jockey/handlers$

It works for me. Hopefully for others too.

I will contact the author of fglrx.py what he thinks about my patches.


** Attachment added: "DefaultDepth 24 and no unwanted "Composite 0""
   http://launchpadlibrarian.net/12352657/fglrx.py

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-02 Thread Sander Jonkers
and here's the compiled /usr/share/jockey/handlers/fglrx.pyc

** Attachment added: "fglrx.pyc"
   http://launchpadlibrarian.net/12352406/fglrx.pyc

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-02 Thread Sander Jonkers
Good news:

I've added the line
"self.xorg_conf.getSections('Screen')[0].defaultdepth = 24" to
/usr/share/jockey/handlers/fglrx.py (included), compiled the .py to
.pyc, and now 'sudo jockey-gtk' adds the needed line "Defaultdepth
24". So: it works!

I think I will also remove the annoying "Composite 0" stuff, as it
blocks Compiz.


** Attachment added: "improved fglrx.py to get "Defaultdepth24" into 
xorg.conf"
   http://launchpadlibrarian.net/12352397/fglrx.py

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-02 Thread cyberdork33
Composite 0 is a hold over from the old fglrx versions that didn't
support AIGLX.

I think jockey wasn't named jockey in Gutsy. It was the Restricted
Drivers Manager.

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-02 Thread Sander Jonkers
Aha: jockey-gtk launches the prop.driver activation. I didn't know that.
Thanks.

The relevant jockey file is probably
/usr/share/jockey/handlers/fglrx.py . That file contains the relevant
key words 'fglrx' and 'glx'. And it does *not* contain a
Screen-Default-Depth-24 line: exactly the behaviour we see.

Oh, and BTW: it writes contain the Composite-0-section. Is there a
reason for Composite-0 in xorg.conf? Because that blocks Compiz, and I
have to remove it manually to get Compiz running.

I had a look at Ubuntu 7.10, but jockey does not exist there. Is
jockey new since Ubuntu 8.04?

As a reference, I had a look at the other jockey handlers:

 [EMAIL PROTECTED]:~$ ll /usr/share/jockey/handlers
total 32
-rw-r--r-- 1 root root  466 2008-02-19 23:52 b43.py
-rw-r--r-- 1 root root  817 2008-02-22 03:08 b43.pyc
-rw-r--r-- 1 root root 1279 2008-02-19 23:52 fglrx.py
-rw-r--r-- 1 root root 1726 2008-02-22 03:08 fglrx.pyc
-rw-r--r-- 1 root root 2317 2008-02-19 23:52 nvidia.py
-rw-r--r-- 1 root root 3155 2008-02-22 03:08 nvidia.pyc
-rw-r--r-- 1 root root 1227 2008-02-19 23:52 sl_modem.py
-rw-r--r-- 1 root root 1696 2008-02-22 03:08 sl_modem.pyc
[EMAIL PROTECTED]:~$ cd /usr/share/jockey/handlers

[EMAIL PROTECTED]:/usr/share/jockey/handlers$ grep -i Screen *py
nvidia.py:self.xorg_conf.getSections('Screen')[0].defaultdepth = 24
[EMAIL PROTECTED]:/usr/share/jockey/handlers$


So the nvidia.py handler does write the line Screen-DefaultDepth-24:

def enable_config_hook(self):
# compiz does not work otherwise
self.xorg_conf.getSections('Screen')[0].defaultdepth = 24


Interesting. Maybe we can just 'transplant' that code into our
fglrx.py? I'll try that and let you know.


Sander

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-01 Thread cyberdork33
That's why I included Jockey in the bug, I thought maybe it was altering
the xorg.conf.

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-01 Thread Sander Jonkers
I had a futher look at dexconf:

Ubuntu 7.10's dexconf does write a DefaultDepth line, with value 
$DISPLAY_DEFAULT_DEPTH
In Ubuntu 8.04's dexconf, that line is gone. Well, there *is* a line 
"DefaultDepth24", but it's only written if $QEMU_KVM is true, so within 
QEMU VM's. Not for fglrx.

So, my try was to put "DefaultDepth24" into Ubuntu 8.04's dexconf,
but the generated xorg.conf does not contain any fglrx references. So I
guess that's not good and not the way to generate a xorg.conf.


Then I ran "sudo dpkg-reconfigure -phigh xserver-xorg", but that generates a 
xorg.conf with no fglrx references either. BTW I guess the dpkg-reconfigure 
runs "/var/lib/dpkg/info/xserver-xorg.postinst". Am I correct?


So the question remains: how is /etc/X11/xorg.conf generated for ATI cards and 
prop.drivers (fglrx)? Does anybody know?

I really would like to have this bug fixed in 8.04 LTS.

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-03-01 Thread Sander Jonkers
Good news: I found the solution:

Just add "Defaultdepth24" to the the part "Section "Screen"" of the
xorg.conf generated by Ubuntu for the ATI / fglrx config, and everything
works!

So, in xorg.conf generated for fglrx, change

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
Device  "Configured Video Device"
EndSection

to

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
Device  "Configured Video Device"
Defaultdepth24
EndSection

Then restart the X-server by CTRL-ALT-BackSpace.

That's it!

Ubuntu-developers: apparently the ATI prop.driver fglrx needs
"Defaultdepth24" in xorg.conf. Can you let Ubuntu, dexconf or dpkg-
reconfigure take care of that? Thanks.


cyberdork33: can you check that this works for you too?

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-29 Thread Sander Jonkers
I reported Bug #195918, which has been declared a duplicate of this Bug
#194963: both about the ATI prop.driver causing no output at all.

I found a *workaround* for this ATI / fglrx / xorg.conf bug:

Short description: use the fglrx xorg.conf of Ubuntu 7.10 on Ubuntu 8.04

Long description:

First, I re-installed Ubuntu 7.10 on my machine, booted it, accepted the
installation of the proprietary ATI drivers, rebooted, and (still on
Ubuntu 7.10!) got a working ATI / fglrx Xorg. Great. I saved that
xorg.conf from Ubuntu 7.10 onto another harddisk (or web or usb stick).

Then I then installed Ubuntu 8.04 Alpha 5, booted it, accepted the
installation of the proprietary ATI drivers, did *not* yet reboot,
copied the ubuntu 7.10 xorg.conf onto /etc/X11 of Ubuntu 8.04, and then
rebooted. Et voila: I had output! Finally, via the Ubuntu GUI, I changed
the screen resolution to something I liked more.

(BTW: after commenting out the Extensions/Composite stuff in xorg.conf,
I was able to activate Compiz and the Desktop Cube)


Conclusion: yes, the ATI / fglrx does work on Ubuntu 8.04, but the plain 
xorg.conf is not enough. Workaround as above. The *solution* for this bug would 
be a correct xorg.conf, for example the one automagically generated on and by 
Ubuntu 7.10. But probably a cleaner/sparser xorg.conf (maybe only with Depth 
24) would do too.


I've included the functinal xorg.conf, but it has probably little value to 
other users, as it contains my specific hardware.


** Attachment added: "xorg.conf made by Ubuntu 7.10 working on Ubuntu 8.04"
   http://launchpadlibrarian.net/12327805/xorg.conf

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-28 Thread cyberdork33
** Changed in: linux-restricted-modules-2.6.24 (Ubuntu)
   Status: Incomplete => New

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-27 Thread cyberdork33
After I use the 'Hardware Drivers' dialog to enable the fglrx driver, it
asks to reboot. After the system starts, and is unviewable, the above is
the contents of /var/log/Xorg.0.log vesa module or not.

However, the Xorg.0.log.old file seems to contain the fglrx info. It is
attached.

** Attachment added: "Xorg.0.log.old"
   http://launchpadlibrarian.net/12270240/Xorg.0.log.old

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-27 Thread cyberdork33
** Changed in: linux-restricted-modules-2.6.24 (Ubuntu)
   Status: Incomplete => New

** Changed in: linux-restricted-modules-2.6.24 (Ubuntu)
   Status: New => Incomplete

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-27 Thread Timo Aaltonen
it still shows the vesa driver..

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-26 Thread cyberdork33
Here is dmesg output too.

** Attachment added: "dmesg.txt"
   http://launchpadlibrarian.net/12245467/dmesg.txt

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-26 Thread cyberdork33
OK, system is responsive, I just can't see anything. I got ssh working
(which I though I had already installed previously). Attached is the
correct Xorg.0.log

** Attachment added: "Correct_fglrx_Xorg.0.log"
   http://launchpadlibrarian.net/12245460/Correct_fglrx_Xorg.0.log

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-26 Thread cyberdork33
I cannot get that log as the system is unresponsive when fglrx loads. I
pulled this logfile by starting into safemode and dropping to a command
prompt before Xorg loaded. I thought this would yield the log from my
last boot which was into the unresponsive system. Let me know how to get
you the proper logfile.

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 194963] Re: ATI Driver not working on Compaq V2321US (Xpress200)

2008-02-26 Thread Timo Aaltonen
Please attach the logfile that you get when trying to load fglrx. The
one you attached is from the failsafe session which uses vesa.

** Changed in: linux-restricted-modules-2.6.24 (Ubuntu)
   Status: New => Incomplete

-- 
ATI Driver not working on Compaq V2321US (Xpress200)
https://bugs.launchpad.net/bugs/194963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs