Re: [Nouveau] [PATCH 1/2] drm/nouveau: Unmap pushbuf BOs when we're done with them.

2010-02-18 Thread Ben Skeggs
On Fri, 2010-02-19 at 04:59 +0100, Francisco Jerez wrote:
> If you're especially unlucky BOs would move around and their kmaps
> would end up pointing to something else in GART, then ioctl_pushbuf()
> would use the kmaps again corrupting textures or other pushbufs (the
> most noticeable symptom was a PFIFO_DMA_PUSHER from time to time).
Oops, I actually was doing that at some point.  Not sure where it
disappeared to :)

Thanks, pushed along with 2/2.
Ben.
> 
> Signed-off-by: Francisco Jerez 
> ---
>  drivers/gpu/drm/nouveau/nouveau_gem.c |2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c 
> b/drivers/gpu/drm/nouveau/nouveau_gem.c
> index fb6d87b..ec6da5c 100644
> --- a/drivers/gpu/drm/nouveau/nouveau_gem.c
> +++ b/drivers/gpu/drm/nouveau/nouveau_gem.c
> @@ -243,6 +243,8 @@ validate_fini_list(struct list_head *list, struct 
> nouveau_fence *fence)
>   nouveau_fence_unref((void *)&prev_fence);
>   }
>  
> + ttm_bo_kunmap(&nvbo->kmap);
> +
>   list_del(&nvbo->entry);
>   nvbo->reserved_by = NULL;
>   ttm_bo_unreserve(&nvbo->bo);


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [PATCH 2/2] drm/nouveau: Don't reuse the same variable in a nested loop.

2010-02-18 Thread Francisco Jerez
Signed-off-by: Francisco Jerez 
---
 drivers/gpu/drm/nouveau/nouveau_gem.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c 
b/drivers/gpu/drm/nouveau/nouveau_gem.c
index ec6da5c..173d5e2 100644
--- a/drivers/gpu/drm/nouveau/nouveau_gem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_gem.c
@@ -578,7 +578,7 @@ nouveau_gem_ioctl_pushbuf(struct drm_device *dev, void 
*data,
struct nouveau_channel *chan;
struct validate_op op;
struct nouveau_fence *fence = 0;
-   int i, ret = 0, do_reloc = 0;
+   int i, j, ret = 0, do_reloc = 0;
 
NOUVEAU_CHECK_INITIALISED_WITH_RETURN;
NOUVEAU_GET_USER_CHANNEL_WITH_RETURN(req->channel, file_priv, chan);
@@ -700,7 +700,7 @@ nouveau_gem_ioctl_pushbuf(struct drm_device *dev, void 
*data,
OUT_RING(chan, ((mem->start << PAGE_SHIFT) +
push[i].offset) | 0x2000);
OUT_RING(chan, 0);
-   for (i = 0; i < NOUVEAU_DMA_SKIPS; i++)
+   for (j = 0; j < NOUVEAU_DMA_SKIPS; j++)
OUT_RING(chan, 0);
}
}
-- 
1.6.4.4

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [PATCH 1/2] drm/nouveau: Unmap pushbuf BOs when we're done with them.

2010-02-18 Thread Francisco Jerez
If you're especially unlucky BOs would move around and their kmaps
would end up pointing to something else in GART, then ioctl_pushbuf()
would use the kmaps again corrupting textures or other pushbufs (the
most noticeable symptom was a PFIFO_DMA_PUSHER from time to time).

Signed-off-by: Francisco Jerez 
---
 drivers/gpu/drm/nouveau/nouveau_gem.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c 
b/drivers/gpu/drm/nouveau/nouveau_gem.c
index fb6d87b..ec6da5c 100644
--- a/drivers/gpu/drm/nouveau/nouveau_gem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_gem.c
@@ -243,6 +243,8 @@ validate_fini_list(struct list_head *list, struct 
nouveau_fence *fence)
nouveau_fence_unref((void *)&prev_fence);
}
 
+   ttm_bo_kunmap(&nvbo->kmap);
+
list_del(&nvbo->entry);
nvbo->reserved_by = NULL;
ttm_bo_unreserve(&nvbo->bo);
-- 
1.6.4.4

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 25036] KMS + multihead leaves ghost mouse pointer

2010-02-18 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=25036





--- Comment #3 from ataraxia...@gmail.com  2010-02-18 19:17:52 PST ---
This is fixed for me as now.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] Mouse cursor rotated on all screens when rotating a single screen.

2010-02-18 Thread Xavier Chantry
On Thu, Feb 18, 2010 at 1:27 PM, Hans Wurst  wrote:
>> I have two monitors, one landscape and the other portrait. When I
>> rotate the portrait monitor using xrandr (or the xorg.conf option)
>> the mouse cursor on the landscape monitor is also rotated and the
>> "click point" is no longer below the cursor (this makes the mouse
>> practically unusable). The cursor is correct on the rotated monitor.
>> Setting NoAccel "False" and HWCursor "False" in xorg.conf results in
>> a corrupted screen and lockup.
>
>> I am running an up-to-date i686 Arch Linux with the latest git version
>> of xf86-video-nouveau (I used the AUR package). xorg-server is from
>> the arch core repositories. My card is the GeForce9500GT (two DVI
>> ports on the card).
>
> I've got the exact same problem. So: *BUMP*
>

See https://bugs.freedesktop.org/show_bug.cgi?id=26102
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Daniel Mack
On Thu, Feb 18, 2010 at 03:42:52PM +0100, Xavier Chantry wrote:
> On Thu, Feb 18, 2010 at 2:05 PM, Daniel Mack  wrote:
> >>
> >> Which libdrm version are you using ?
> >
> > 2.4.0, built from the git sources yesterday.
> >
> 
> "Bump of the userspace interface to 0.0.16.
> libdrm and nouveau drm have to be updated together for nouveau to keep
> working. The kernel.org version will not work with the current git
> user space for some time. See the kernel commit log for more
> information. "
> 
> This means kernel.org tree does not work with libdrm git.
> (so you can either use older git userspace or a newer nouveau drm 
> module/kernel)
> 
> If this is not clear enough, do you have a suggestion for rephrasing
> the paragraph on the frontpage ?

I am deeply sorry, really. This one line of text right above the the
actual headline was indeed the information I overlooked. I scanned the
FAQ and TroubleShooting sections, but missed this, grr.

> I suppose we could also add an entry in either Faq or Troubleshooting.

Yes, I think adding it there would help. Not only me ;)

Daniel

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Daniel Mack
On Thu, Feb 18, 2010 at 01:01:25PM +0100, Xavier Chantry wrote:
> On Thu, Feb 18, 2010 at 12:55 PM, Daniel Mack  wrote:
> > On Thu, Feb 18, 2010 at 12:37:19PM +0100, Xavier Chantry wrote:
> >> On Thu, Feb 18, 2010 at 10:38 AM, Daniel Mack  wrote:
> >> > Hi,
> >> >
> >> > I'm trying to get the new nouveau kernel driver (2.6.33-rc8) to work
> >> > with X.Org 1.7.4 (Debian/unstable, all relevant packages updated). The
> >> > modules load just fine, and the kernel spits out the following upon
> >> > probe:
> >> >
> >> > [    8.304602] nouveau :06:00.0: PCI INT A -> Link[LNEB] -> GSI 18 
> >> > (level, low) -> IRQ 18
> >> > [    8.304779] nouveau :06:00.0: setting latency timer to 64
> >> > [    8.313364] [drm] nouveau :06:00.0: Detected an NV40 generation 
> >> > card (0x044300a2)
> >> > [    8.313812] [drm] nouveau :06:00.0: Attempting to load BIOS image 
> >> > from PROM
> >> > [    8.521142] [drm] nouveau :06:00.0: ... appears to be valid
> >> > [    8.521148] [drm] nouveau :06:00.0: BIT BIOS found
> >> > [    8.521151] [drm] nouveau :06:00.0: Bios version 05.44.02.62
> >> > [    8.521156] [drm] nouveau :06:00.0: BIT table 'd' not found
> >> > [    8.521159] [drm] nouveau :06:00.0: Found Display Configuration 
> >> > Block version 3.0
> >> > ...
> >> >
> >> >
> >> > However, when starting X.Org (installed from the Debian package), I get
> >> > this:
> >> >
> >> >
> >> > X.Org X Server 1.7.4
> >> > Release Date: 2010-01-08
> >> > X Protocol Version 11, Revision 0
> >> > Build Operating System: Linux 2.6.32-trunk-686 i686 Debian
> >> > Current Operating System: Linux jup 2.6.33-rc8 #20 SMP PREEMPT Wed Feb 
> >> > 17 11:26:28 CET 2010 i686
> >> > Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.git root=/dev/sda3 ro quiet
> >> > Build Date: 20 January 2010  10:52:55PM
> >> > xorg-server 2:1.7.4-2 (bgog...@debian.org)
> >> > Current version of pixman: 0.16.4
> >> >        Before reporting problems, check http://wiki.x.org
> >> >        to make sure that you have the latest version.
> >> > Markers: (--) probed, (**) from config file, (==) default setting,
> >> >        (++) from command line, (!!) notice, (II) informational,
> >> >        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> >> > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 17 17:00:25 2010
> >> > (==) Using config file: "/etc/X11/xorg.conf"
> >> > (EE) [drm] failed to open device
> >> > (EE) No devices detected.
> >> >
> >> >
> >> > From the strace output (http://pastebin.com/m12d5b19a) I cannot see what
> >> > the problem could possibly be, and searching the FAQs and archives
> >> > didn't help me either. I can't see any errors or warning anywhere
> >> > except for the one above.
> >> >
> >> > The full X log is here: http://pastebin.com/m731c3561
> >> > And my xorg.conf is here: http://pastebin.com/m5f143408
> >> >
> >> > Any pointers appreciated - I got the evil feeling to overlook the
> >> > obvious ;)
> >> >
> >>
> >> Did you have a look at the wiki ?
> >> Latest news on http://nouveau.freedesktop.org/wiki/
> >
> > I in fact did, yes. But I couldn't find any explanation to what I'm
> > seeing. Sorry if this is covered by the FAQ - just point me there then.
> >
> 
> Which libdrm version are you using ?

2.4.0, built from the git sources yesterday.


___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] Mouse cursor rotated on all screens when rotating a single screen.

2010-02-18 Thread Hans Wurst
I've got the exact same problem. So: *BUMP*

> I have two monitors, one landscape and the other portrait. When I
> rotate the portrait monitor using xrandr (or the xorg.conf option)
> the mouse cursor on the landscape monitor is also rotated and the
> "click point" is no longer below the cursor (this makes the mouse
> practically unusable). The cursor is correct on the rotated monitor.
> Setting NoAccel "False" and HWCursor "False" in xorg.conf results in
> a corrupted screen and lockup.

> I am running an up-to-date i686 Arch Linux with the latest git version
> of xf86-video-nouveau (I used the AUR package). xorg-server is from
> the arch core repositories. My card is the GeForce9500GT (two DVI
> ports on the card).
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Daniel Mack
Hi,

I'm trying to get the new nouveau kernel driver (2.6.33-rc8) to work
with X.Org 1.7.4 (Debian/unstable, all relevant packages updated). The
modules load just fine, and the kernel spits out the following upon
probe:

[8.304602] nouveau :06:00.0: PCI INT A -> Link[LNEB] -> GSI 18 (level, 
low) -> IRQ 18
[8.304779] nouveau :06:00.0: setting latency timer to 64
[8.313364] [drm] nouveau :06:00.0: Detected an NV40 generation card 
(0x044300a2)
[8.313812] [drm] nouveau :06:00.0: Attempting to load BIOS image from 
PROM
[8.521142] [drm] nouveau :06:00.0: ... appears to be valid
[8.521148] [drm] nouveau :06:00.0: BIT BIOS found
[8.521151] [drm] nouveau :06:00.0: Bios version 05.44.02.62
[8.521156] [drm] nouveau :06:00.0: BIT table 'd' not found
[8.521159] [drm] nouveau :06:00.0: Found Display Configuration Block 
version 3.0
...


However, when starting X.Org (installed from the Debian package), I get
this:


X.Org X Server 1.7.4
Release Date: 2010-01-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-trunk-686 i686 Debian
Current Operating System: Linux jup 2.6.33-rc8 #20 SMP PREEMPT Wed Feb 17 
11:26:28 CET 2010 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.git root=/dev/sda3 ro quiet
Build Date: 20 January 2010  10:52:55PM
xorg-server 2:1.7.4-2 (bgog...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 17 17:00:25 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) [drm] failed to open device
(EE) No devices detected.


>From the strace output (http://pastebin.com/m12d5b19a) I cannot see what
the problem could possibly be, and searching the FAQs and archives
didn't help me either. I can't see any errors or warning anywhere
except for the one above.

The full X log is here: http://pastebin.com/m731c3561
And my xorg.conf is here: http://pastebin.com/m5f143408

Any pointers appreciated - I got the evil feeling to overlook the
obvious ;)

Daniel

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 26534] nouveau does not fetch edid from connected monitor on nforce1 (nv1a)

2010-02-18 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26534





--- Comment #7 from Bruno   2010-02-18 09:47:47 PST ---
(In reply to comment #6)
> Created an attachment (id=33363)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=33363) [details]
> nv1a_ddc.patch
> 
> Could you try the attached patch? Any effect at all?

Yes there is a difference, it now says that my VGA monitor is connected via DVI
(no such connector!) and does not list card-VGA-* anymore under
/sys/class/dri/.

I would say the visible part is more bad than good... If you need more info,
please ask.

[  652.499815] ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 16
[  652.499899] nouveau :02:00.0: PCI INT A -> Link[LNK5] -> GSI 16 (level,
high) -> IRQ 16
[  652.506128] [drm] nouveau :02:00.0: failed to evaluate _DSM: 5
[  652.506577] [drm] nouveau :02:00.0: Detected an NV10 generation card
(0x01a000b1)
[  652.506803] [drm] nouveau :02:00.0: Attempting to load BIOS image from
PROM
[  652.506865] [drm] nouveau :02:00.0: ... BIOS signature not found
[  652.506920] [drm] nouveau :02:00.0: Attempting to load BIOS image from
PRAMIN
[  652.552228] [drm] nouveau :02:00.0: ... BIOS checksum invalid
[  652.553204] [drm] nouveau :02:00.0: Attempting to load BIOS image from
PCIROM
[  652.553930] [drm] nouveau :02:00.0: ... appears to be valid
[  652.554311] [drm] nouveau :02:00.0: BMP BIOS found
[  652.554361] [drm] nouveau :02:00.0: BMP version 5.20
[  652.554416] [drm] nouveau :02:00.0: Bios version 03.1a.01.03
[  652.554471] [drm] nouveau :02:00.0: Found Display Configuration Block
version 1.4
[  652.554532] [drm] nouveau :02:00.0: No useful information in BIOS output
table; adding all possible outputs
[  652.554598] [drm] nouveau :02:00.0: Probing TV encoders on I2C bus: 1
[  652.559842] [drm] nouveau :02:00.0: No TV encoders found.
[  652.560217] [drm] nouveau :02:00.0: Parsing VBIOS init table 0 at offset
0xA850
[  652.560280] [drm] nouveau :02:00.0: Parsing VBIOS init table 1 at offset
0xADC5
[  652.560345] [drm] nouveau :02:00.0: Parsing VBIOS init table 2 at offset
0xA851
[  652.560409] [drm] nouveau :02:00.0: Parsing VBIOS init table 3 at offset
0xADC4
[  652.560470] [drm] nouveau :02:00.0: Parsing VBIOS init table 4 at offset
0xA875
[  652.560530] [drm] nouveau :02:00.0: Parsing VBIOS init table 5 at offset
0xA931
[  652.560606] [drm] nouveau :02:00.0: Parsing VBIOS init table 6 at offset
0xA876
[  652.560682] [drm] nouveau :02:00.0: Parsing VBIOS init table 7 at offset
0xA8CC
[  652.573465] [TTM] Zone  kernel: Available graphics memory: 240446 kiB.
[  652.573540] [drm] nouveau :02:00.0: 32 MiB VRAM
[  652.573674] agpgart-nvidia :00:00.0: AGP 2.0 bridge
[  652.573741] agpgart-nvidia :00:00.0: putting AGP V2 device into 4x mode
[  652.573844] nouveau :02:00.0: putting AGP V2 device into 4x mode
[  652.573898] [drm] nouveau :02:00.0: 32 MiB GART (aperture)
[  652.574242] [drm] nouveau :02:00.0: Allocating FIFO number 0
[  652.575687] [drm] nouveau :02:00.0: nouveau_channel_alloc: initialised
FIFO 0
[  652.575799] [drm] nouveau :02:00.0: Saving VGA fonts
[  652.621722] [drm] nouveau :02:00.0: Detected a DVI-I connector
[  652.622843] [drm] nouveau :02:00.0: Setting dpms mode 3 on vga encoder
(output 0)
[  652.622909] [drm] nouveau :02:00.0: Setting dpms mode 3 on tmds encoder
(output 1)
[  652.667225] [drm] nouveau :02:00.0: Load detected on head A
[  652.667528] [drm] nouveau :02:00.0: allocated 1024x768 fb: 0x45000, bo
db6f2000
[  652.668186] fbcon: nouveaufb (fb0) is primary device
[  652.680032] [drm] nouveau :02:00.0: Setting dpms mode 0 on vga encoder
(output 0)
[  652.680040] [drm] nouveau :02:00.0: Output DVI-I-1 is running on CRTC 0
using output @
[  652.681377] Console: switching to colour frame buffer device 128x48
[  652.682941] fb0: nouveaufb frame buffer device
[  652.682944] registered panic notifier
[  652.683465] [drm] Initialized nouveau 0.0.15 20090420 for :02:00.0 on
minor 0
[  652.684647] modprobe used greatest stack depth: 848 bytes left


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Xavier Chantry
On Thu, Feb 18, 2010 at 4:04 PM, Daniel Mack  wrote:
> On Thu, Feb 18, 2010 at 03:42:52PM +0100, Xavier Chantry wrote:
>> On Thu, Feb 18, 2010 at 2:05 PM, Daniel Mack  wrote:
>> >>
>> >> Which libdrm version are you using ?
>> >
>> > 2.4.0, built from the git sources yesterday.
>> >
>>
>> "Bump of the userspace interface to 0.0.16.
>> libdrm and nouveau drm have to be updated together for nouveau to keep
>> working. The kernel.org version will not work with the current git
>> user space for some time. See the kernel commit log for more
>> information. "
>>
>> This means kernel.org tree does not work with libdrm git.
>> (so you can either use older git userspace or a newer nouveau drm 
>> module/kernel)
>>
>> If this is not clear enough, do you have a suggestion for rephrasing
>> the paragraph on the frontpage ?
>
> I am deeply sorry, really. This one line of text right above the the
> actual headline was indeed the information I overlooked. I scanned the
> FAQ and TroubleShooting sections, but missed this, grr.
>
>> I suppose we could also add an entry in either Faq or Troubleshooting.
>
> Yes, I think adding it there would help. Not only me ;)
>

http://nouveau.freedesktop.org/wiki/TroubleShooting

I think it was already covered with this basic question :
<<<
Are you using the latest code?
  Make sure you use the latest available Nouveau code from the git
repositories listed in FrontPage: DDX, DRM and Nouveau kernel. And
this really means GIT, not your just distribution's latest package.
GIT as of TODAY . Kernel.org git repositories do not count, use the
freedesktop.org repositories. As long as Nouveau is in staging in the
Linux kernel, the user space ABI can break. This means that the git
version of libdrm or DDX does not work with the kernel.org version of
Nouveau code, until the changes flow upstream.
>>>

But I added a new section anyway.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Xavier Chantry
On Thu, Feb 18, 2010 at 2:05 PM, Daniel Mack  wrote:
>>
>> Which libdrm version are you using ?
>
> 2.4.0, built from the git sources yesterday.
>

"Bump of the userspace interface to 0.0.16.
libdrm and nouveau drm have to be updated together for nouveau to keep
working. The kernel.org version will not work with the current git
user space for some time. See the kernel commit log for more
information. "

This means kernel.org tree does not work with libdrm git.
(so you can either use older git userspace or a newer nouveau drm module/kernel)

If this is not clear enough, do you have a suggestion for rephrasing
the paragraph on the frontpage ?

I suppose we could also add an entry in either Faq or Troubleshooting.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 26626] New: nouveau/gt240m - screen trembling

2010-02-18 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=26626

   Summary: nouveau/gt240m - screen trembling
   Product: xorg
   Version: git
  Platform: All
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Driver/nouveau
AssignedTo: nouveau@lists.freedesktop.org
ReportedBy: d.ok...@gmail.com
 QAContact: xorg-t...@lists.x.org


Notebook: Acer Aspire 5739G
VGA: GT240M DDR3

History:
1) when was used old nvidia driver, this issue showed up after logout or
console switch (and continue into X)
2) lastest nvidia driver doesn't act like this, but after switching back to X
freeze.

Nouveau:

System init is ok, after nouveau load screen is stable for 2 second, after that
blink and start trembling until shutdown/reboot.

dmesg is located at http://pastebin.ca/1801344 , I don't have it locally. I
will attach it soon to bug report.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Xavier Chantry
On Thu, Feb 18, 2010 at 12:55 PM, Daniel Mack  wrote:
> On Thu, Feb 18, 2010 at 12:37:19PM +0100, Xavier Chantry wrote:
>> On Thu, Feb 18, 2010 at 10:38 AM, Daniel Mack  wrote:
>> > Hi,
>> >
>> > I'm trying to get the new nouveau kernel driver (2.6.33-rc8) to work
>> > with X.Org 1.7.4 (Debian/unstable, all relevant packages updated). The
>> > modules load just fine, and the kernel spits out the following upon
>> > probe:
>> >
>> > [    8.304602] nouveau :06:00.0: PCI INT A -> Link[LNEB] -> GSI 18 
>> > (level, low) -> IRQ 18
>> > [    8.304779] nouveau :06:00.0: setting latency timer to 64
>> > [    8.313364] [drm] nouveau :06:00.0: Detected an NV40 generation 
>> > card (0x044300a2)
>> > [    8.313812] [drm] nouveau :06:00.0: Attempting to load BIOS image 
>> > from PROM
>> > [    8.521142] [drm] nouveau :06:00.0: ... appears to be valid
>> > [    8.521148] [drm] nouveau :06:00.0: BIT BIOS found
>> > [    8.521151] [drm] nouveau :06:00.0: Bios version 05.44.02.62
>> > [    8.521156] [drm] nouveau :06:00.0: BIT table 'd' not found
>> > [    8.521159] [drm] nouveau :06:00.0: Found Display Configuration 
>> > Block version 3.0
>> > ...
>> >
>> >
>> > However, when starting X.Org (installed from the Debian package), I get
>> > this:
>> >
>> >
>> > X.Org X Server 1.7.4
>> > Release Date: 2010-01-08
>> > X Protocol Version 11, Revision 0
>> > Build Operating System: Linux 2.6.32-trunk-686 i686 Debian
>> > Current Operating System: Linux jup 2.6.33-rc8 #20 SMP PREEMPT Wed Feb 17 
>> > 11:26:28 CET 2010 i686
>> > Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.git root=/dev/sda3 ro quiet
>> > Build Date: 20 January 2010  10:52:55PM
>> > xorg-server 2:1.7.4-2 (bgog...@debian.org)
>> > Current version of pixman: 0.16.4
>> >        Before reporting problems, check http://wiki.x.org
>> >        to make sure that you have the latest version.
>> > Markers: (--) probed, (**) from config file, (==) default setting,
>> >        (++) from command line, (!!) notice, (II) informational,
>> >        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>> > (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 17 17:00:25 2010
>> > (==) Using config file: "/etc/X11/xorg.conf"
>> > (EE) [drm] failed to open device
>> > (EE) No devices detected.
>> >
>> >
>> > From the strace output (http://pastebin.com/m12d5b19a) I cannot see what
>> > the problem could possibly be, and searching the FAQs and archives
>> > didn't help me either. I can't see any errors or warning anywhere
>> > except for the one above.
>> >
>> > The full X log is here: http://pastebin.com/m731c3561
>> > And my xorg.conf is here: http://pastebin.com/m5f143408
>> >
>> > Any pointers appreciated - I got the evil feeling to overlook the
>> > obvious ;)
>> >
>>
>> Did you have a look at the wiki ?
>> Latest news on http://nouveau.freedesktop.org/wiki/
>
> I in fact did, yes. But I couldn't find any explanation to what I'm
> seeing. Sorry if this is covered by the FAQ - just point me there then.
>

Which libdrm version are you using ?
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] nouveau: [drm] failed to open device

2010-02-18 Thread Daniel Mack
Hi,

I'm trying to get the new nouveau kernel driver (2.6.33-rc8) to work
with X.Org 1.7.4 (Debian/unstable, all relevant packages updated). The
modules load just fine, and the kernel spits out the following upon
probe:

[8.304602] nouveau :06:00.0: PCI INT A -> Link[LNEB] -> GSI 18 (level, 
low) -> IRQ 18
[8.304779] nouveau :06:00.0: setting latency timer to 64
[8.313364] [drm] nouveau :06:00.0: Detected an NV40 generation card 
(0x044300a2)
[8.313812] [drm] nouveau :06:00.0: Attempting to load BIOS image from 
PROM
[8.521142] [drm] nouveau :06:00.0: ... appears to be valid
[8.521148] [drm] nouveau :06:00.0: BIT BIOS found
[8.521151] [drm] nouveau :06:00.0: Bios version 05.44.02.62
[8.521156] [drm] nouveau :06:00.0: BIT table 'd' not found
[8.521159] [drm] nouveau :06:00.0: Found Display Configuration Block 
version 3.0
...


However, when starting X.Org (installed from the Debian package), I get
this:


X.Org X Server 1.7.4
Release Date: 2010-01-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-trunk-686 i686 Debian
Current Operating System: Linux jup 2.6.33-rc8 #20 SMP PREEMPT Wed Feb 17 
11:26:28 CET 2010 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.git root=/dev/sda3 ro quiet
Build Date: 20 January 2010  10:52:55PM
xorg-server 2:1.7.4-2 (bgog...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb 17 17:00:25 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) [drm] failed to open device
(EE) No devices detected.


>From the strace output (http://pastebin.com/m12d5b19a) I cannot see what
the problem could possibly be, and searching the FAQs and archives
didn't help me either. I can't see any errors or warning anywhere
except for the one above.

The full X log is here: http://pastebin.com/m731c3561
And my xorg.conf is here: http://pastebin.com/m5f143408

Any pointers appreciated - I got the evil feeling to overlook the
obvious ;)

Daniel

___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau