You are not logged in.

#1 2009-10-15 12:30:02

tyr0
Member
Registered: 2007-06-02
Posts: 152

Kernel 2.6.31 and KMS - wrong resolution (nvidia)

I´ve started a new thread on the bases of this one because my problem does not belong to intel chipsets, but to nvidia and the new Linux kernel 2.6.31.
With nouveau 0.0.10_git20091013-1 and Linux kernel 2.6.31 console resolution ist set to something really strange in the upper left corner when kms is enabled. X has a proper resolution, however. The console is set to the resolution of TV output.
dmesg:

[drm] nouveau 0000:01:00.0: ... appears to be valid
[drm] nouveau 0000:01:00.0: BIT BIOS found
[drm] nouveau 0000:01:00.0: Bios version 05.43.02.92
[drm] nouveau 0000:01:00.0: Found Display Configuration Block version 3.0
[drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00000028
[drm] nouveau 0000:01:00.0: Raw DCB entry 1: 04011312 00000000
[drm] nouveau 0000:01:00.0: Raw DCB entry 2: 04011310 00000028
[drm] nouveau 0000:01:00.0: Raw DCB entry 3: 020223f1 00c0c083
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xE15B
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xE597
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xEA11
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xEB9C
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xEC7C
[TTM] Zone  kernel: Available graphics memory: 447268 kiB.
[TTM] Zone highmem: Available graphics memory: 516744 kiB.
agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
[drm] nouveau 0000:01:00.0: Allocating FIFO number 0
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 0
[drm] nouveau 0000:01:00.0: Initial CRTC_OWNER is 0
[drm] nouveau 0000:01:00.0: Detected a VGA connector
[drm] nouveau 0000:01:00.0: Detected a DVI-I connector
[drm] nouveau 0000:01:00.0: Detected a TV connector
[drm] nouveau 0000:01:00.0: Saving VGA fonts
usbcore: registered new interface driver hiddev
input: HID 1241:1166 as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input6
generic-usb 0003:1241:1166.0001: input,hidraw0: USB HID v1.10 Mouse [HID 1241:1166] on usb-0000:00:10.1-2/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: allocated 1680x1050 fb: 0x49000, bo f6b28c00
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 2)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 0
[drm] nouveau 0000:01:00.0: vpll: n 22 m 5 log2p 0
[drm] TMDS-8: set mode 1680x1050 38
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 0
[drm] nouveau 0000:01:00.0: nv04_dfp_commit called for encoder 1
[drm] nouveau 0000:01:00.0: 0xD5B3: Parsing digital output script table
VIA 82xx Modem 0000:00:11.6: PCI INT C disabled
VIA 82xx Modem: probe of 0000:00:11.6 failed with error -13
VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on tmds encoder (output 1)
[drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output C
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 720x576 39
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
Console: switching to colour frame buffer device 90x36
fb0: nouveaufb frame buffer device
registered panic notifier
[drm] Initialized nouveau 0.0.15 20090420 for 0000:01:00.0 on minor 0
EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
Adding 1044216k swap on /dev/sdb2.  Priority:-1 extents:1 across:1044216k 
scsi 4:0:0:0: Direct-Access     WD       2500JB External  0108 PQ: 0 ANSI: 0
sd 4:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
sd 4:0:0:0: [sdc] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Attached SCSI disk
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
skge eth0: enabling interface
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 1024x768 3b
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
wlan0: authenticate with AP 00:14:bf:3c:ca:b3
wlan0: authenticated
wlan0: associate with AP 00:14:bf:3c:ca:b3
wlan0: RX AssocResp from 00:14:bf:3c:ca:b3 (capab=0x431 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 720x576 39
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 1024x768 3d
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: nouveau_channel_free: freeing fifo 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 720x576 39
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 1024x768 3f
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 720x576 39

Xorg.0.log

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-ARCH i686 
Current Operating System: Linux Heraklit 2.6.31-ARCH #1 SMP PREEMPT Tue Oct 13 13:36:23 CEST 2009 i686
Build Date: 04 September 2009  03:37:03PM
 
    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: Thu Oct 15 09:04:12 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Xorg Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "PS/2 Mouse"
(**) Option "DontZap" "off"
(**) Option "AllowMouseOpenFail" "true"
(**) Option "AutoAddDevices" "False"
(**) Not automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/PEX" does not exist.
    Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/cyrillic".
    Entry deleted from font path.
    (Run 'mkfontdir' on "/usr/share/fonts/cyrillic").
(WW) The directory "/usr/share/fonts/ttf/western" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/ttf/decoratives" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/truetype" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/truetype/openoffice" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/truetype/ttf-bitstream-vera" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/latex-ttf-fonts" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/defoma/CID" does not exist.
    Entry deleted from font path.
(WW) The directory "/usr/share/fonts/defoma/TrueType" does not exist.
    Entry deleted from font path.
(**) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/misc,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/75dpi,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/100dpi,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    built-ins
(**) ModulePath set to "/usr/lib/xorg/modules"
(**) Extension "Composite" is enabled
(**) Extension "RENDER" is enabled
(II) Loader magic: 0xec0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 5.0
    X.Org XInput driver : 4.0
    X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0:1:0:0) 10de:00f1:196d:0000 nVidia Corporation NV43 [GeForce 6600 GT] rev 162, Mem @ 0xfb000000/16777216, 0xe0000000/268435456, 0xfa000000/16777216, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) System resource ranges:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [24] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [25] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [26] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [27] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [28] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [29] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [30] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [31] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [32] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [33] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [34] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [35] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [36] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [37] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [38] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [39] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [40] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [41] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [42] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [43] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [44] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [45] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [46] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [47] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [48] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [49] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [50] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [51] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [52] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [53] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [54] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [55] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [56] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [57] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [58] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [59] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  185.18.36  Fri Aug 14 17:50:12 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "type1"
(WW) Warning, couldn't open module type1
(II) UnloadModule: "type1"
(EE) Failed to load module "type1" (module does not exist, 0)
(II) LoadModule: "freetype"
(WW) Warning, couldn't open module freetype
(II) UnloadModule: "freetype"
(EE) Failed to load module "freetype" (module does not exist, 0)
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.13.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nouveau"
(II) Loading /usr/lib/xorg/modules/drivers//nouveau_drv.so
(II) Module nouveau: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 0.0.10
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.3.2
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
    compiled for 1.6.0, module version = 1.4.0
    Module class: X.Org XInput Driver
    ABI class: X.Org XInput driver, version 4.0
(II) NOUVEAU driver 
(II) NOUVEAU driver for NVIDIA chipset families :
    RIVA TNT    (NV04)
    RIVA TNT2   (NV05)
    GeForce 256 (NV10)
    GeForce 2   (NV11, NV15)
    GeForce 4MX (NV17, NV18)
    GeForce 3   (NV20)
    GeForce 4Ti (NV25, NV28)
    GeForce FX  (NV3x)
    GeForce 6   (NV4x)
    GeForce 7   (G7x)
    GeForce 8   (G8x)
(II) Primary Device is: PCI 01@00:00:0
(II) resource ranges after probing:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [24] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [25] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [26] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [27] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [28] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [29] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [30] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [31] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [32] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [33] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [34] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [35] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [36] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [37] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [38] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [39] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [40] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [41] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [42] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [43] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [44] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [45] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [46] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [47] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [48] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [49] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [50] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [51] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [52] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [53] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [54] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [55] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [56] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [57] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [58] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [59] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(--) NOUVEAU(0): Chipset: "NVIDIA NV43"
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org Video Driver, version 5.0
(II) NOUVEAU(0): Initializing int10
(II) NOUVEAU(0): Primary V_BIOS segment is: 0xc000
(II) Loading sub module "dri"
(II) LoadModule: "dri"
(II) Reloading /usr/lib/xorg/modules/extensions//libdri.so
(II) NOUVEAU(0): Loaded DRI module
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) NOUVEAU(0): [drm] nouveau interface version: 0.0.15
(--) NOUVEAU(0): [drm] kernel modesetting in use
(**) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
(==) NOUVEAU(0): RGB weight 888
(==) NOUVEAU(0): Default visual is TrueColor
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 0.1.0
    ABI class: X.Org Video Driver, version 5.0
(==) NOUVEAU(0): Using HW cursor
(--) NOUVEAU(0): Linear framebuffer at 0xE0000000
(--) NOUVEAU(0): MMIO registers at 0xFB000000
(II) NOUVEAU(0): Output VGA-0 using monitor section Monitor0
(II) NOUVEAU(0): Output DVI-I-0 has no monitor section
(II) NOUVEAU(0): Output TV-0 has no monitor section
(II) NOUVEAU(0): Output VGA-0 disconnected
(II) NOUVEAU(0): Output DVI-I-0 connected
(II) NOUVEAU(0): Output TV-0 connected
(II) NOUVEAU(0): Using user preference for initial modes
(II) NOUVEAU(0): Output DVI-I-0 using initial mode 1680x1050
(II) NOUVEAU(0): Output TV-0 using initial mode 1024x768
(II) NOUVEAU(0): Initial CRTC_OWNER is 3
(--) NOUVEAU(0): VideoRAM: 131072 kBytes
(==) NOUVEAU(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NOUVEAU(0): Virtual size is 1680x1050 (pitch 1728)
(**) NOUVEAU(0):  Driver mode "1024x768": 54.2 MHz (scaled from 0.0 MHz), 40.3 kHz, 50.0 Hz
(II) NOUVEAU(0): Modeline "1024x768"x50.0   54.16  1024 1064 1200 1344  768 768 777 806 -hsync -vsync (40.3 kHz)
(**) NOUVEAU(0):  Driver mode "800x600": 32.1 MHz (scaled from 0.0 MHz), 30.9 kHz, 50.0 Hz
(II) NOUVEAU(0): Modeline "800x600"x50.0   32.14  800 840 920 1040  600 600 604 618 +hsync +vsync (30.9 kHz)
(**) NOUVEAU(0):  Driver mode "720x480": 25.2 MHz (scaled from 0.0 MHz), 26.2 kHz, 50.0 Hz
(II) NOUVEAU(0): Modeline "720x480"x50.0   25.20  720 752 872 960  480 480 493 525 -hsync -vsync (26.2 kHz)
(**) NOUVEAU(0):  Driver mode "640x480": 23.1 MHz (scaled from 0.0 MHz), 26.2 kHz, 50.0 Hz
(II) NOUVEAU(0): Modeline "640x480"x50.0   23.10  640 672 768 880  480 480 492 525 -hsync -vsync (26.2 kHz)
(**) NOUVEAU(0):  Driver mode "400x300": 20.1 MHz (scaled from 0.0 MHz), 31.4 kHz, 100.0 Hz (D)
(II) NOUVEAU(0): Modeline "400x300"x100.0   20.10  400 432 496 640  300 300 303 314 doublescan +hsync +vsync (31.4 kHz)
(**) NOUVEAU(0):  Driver mode "320x240": 14.7 MHz (scaled from 0.0 MHz), 26.3 kHz, 100.0 Hz (D)
(II) NOUVEAU(0): Modeline "320x240"x100.0   14.73  320 344 392 560  240 240 246 263 doublescan -hsync -vsync (26.3 kHz)
(**) NOUVEAU(0):  Driver mode "320x200": 12.3 MHz (scaled from 0.0 MHz), 22.0 kHz, 100.0 Hz (D)
(II) NOUVEAU(0): Modeline "320x200"x100.0   12.32  320 344 392 560  200 200 202 220 doublescan -hsync -vsync (22.0 kHz)
(**) NOUVEAU(0):  Driver mode "720x576": 28.7 MHz (scaled from 0.0 MHz), 29.9 kHz, 50.0 Hz
(II) NOUVEAU(0): Modeline "720x576"x50.0   28.66  720 776 856 960  576 576 588 597 -hsync -vsync (29.9 kHz)
(==) NOUVEAU(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 2.4.0
    ABI class: X.Org Video Driver, version 5.0
(II) Loading sub module "shadowfb"
(II) LoadModule: "shadowfb"
(II) Loading /usr/lib/xorg/modules//libshadowfb.so
(II) Module shadowfb: vendor="X.Org Foundation"
    compiled for 1.6.3.901, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
    [0] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [1] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [2] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [3] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [4] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [5] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [6] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [7] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [8] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [9] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [10] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [11] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [12] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [13] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [14] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [15] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [16] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [17] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [18] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [19] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [20] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [21] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [22] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [23] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [24] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [25] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [26] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [27] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [28] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [29] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [30] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [31] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [32] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [33] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [34] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [35] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [36] -1    0    0xffffffff - 0xffffffff (0x1) MX[b]
    [37] -1    0    0x000f0000 - 0x000fffff (0x10000) MX[b]
    [38] -1    0    0x000c0000 - 0x000effff (0x30000) MX[b]
    [39] -1    0    0x00000000 - 0x0009ffff (0xa0000) MX[b]
    [40] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [41] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [42] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [43] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [44] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [45] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [46] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [47] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [48] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [49] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [50] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [51] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [52] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [53] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [54] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [55] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [56] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [57] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
    [58] -1    0    0x0000ffff - 0x0000ffff (0x1) IX[b]
    [59] -1    0    0x00000000 - 0x00000000 (0x1) IX[b]
(II) NOUVEAU(0): Opened GPU channel 1
(EE) NOUVEAU(0): [dri] GlxSetVisualConfigs not found.
(EE) NOUVEAU(0):       NVIDIA's glx present, or glx not loaded.
(II) NOUVEAU(0): Allocated 57MiB VRAM for offscreen pixmaps
(II) NOUVEAU(0): AGPGART: 64MiB available
(II) NOUVEAU(0): GART: Allocated 16MiB as a scratch buffer
(II) EXA(0): Offscreen pixmap area of 59851264 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(II)         UploadToScreen
(II)         DownloadFromScreen
(==) NOUVEAU(0): Backing store disabled
(==) NOUVEAU(0): Silken mouse enabled
(II) NOUVEAU(0): [XvMC] Associated with NV40 texture adapter.
(II) NOUVEAU(0): [XvMC] Extension initialized.
(II) NOUVEAU(0): NVEnterVT is called.
(**) Option "dpms" "true"
(**) NOUVEAU(0): DPMS enabled
(II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(WW) NOUVEAU(0): Option "RenderAccel" is not used
(WW) NOUVEAU(0): Option "AllowGLXWithComposite" is not used
(WW) NOUVEAU(0): Option "AddARGBGLXVisuals" is not used
(WW) NOUVEAU(0): Option "DisableGLXRootClipping" is not used
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
(II) NOUVEAU(0): Setting screen physical size to 444 x 277
resize called 1680 1050
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "de"
(**) Keyboard0: XkbLayout: "de"
(**) Option "XkbVariant" "nodeadkeys"
(**) Keyboard0: XkbVariant: "nodeadkeys"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(**) Option "Protocol" "auto"
(**) Option "Device" "/dev/psaux"
(II) PS/2 Mouse: Setting mouse protocol to "ExplorerPS/2"
(**) PS/2 Mouse: Device: "/dev/psaux"
(**) PS/2 Mouse: Protocol: "auto"
(**) Option "SendCoreEvents" "true"
(**) Option "CorePointer"
(**) PS/2 Mouse: always reports core events
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "true"
(**) Option "Emulate3Timeout" "70"
(**) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 70
(**) Option "ZAxisMapping" "4 5"
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(**) PS/2 Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Mouse: (accel) set acceleration profile 0
(II) PS/2 Mouse: Setting mouse protocol to "ExplorerPS/2"
(II) PS/2 Mouse: ps2EnableDataReporting: succeeded
(II) config/hal: Adding input device Macintosh mouse button emulation
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device HID 1241:1166
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device Sleep Button
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device Power Button
(EE) config/hal: NewInputDeviceRequest failed (8)
(II) config/hal: Adding input device Power Button
(EE) config/hal: NewInputDeviceRequest failed (8)

My monitor resolution is 1680x1050. Is this a common problem? Should I file a bug report?

Thank you for any hints!

Last edited by tyr0 (2009-10-15 12:50:29)

Offline

#2 2009-10-15 14:06:22

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

ah. so I'm not alone...

go back to the 20090920-2 pkg in your /var/cache/pacman/pkg/ - we need to git bisect what commit this caused. feel free to contact me directly.

Offline

#3 2009-10-15 14:17:23

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Could one of you report the bug upstream ?
Since the bug is confirmed by 2 users now, there is more chance it will be looked at.
Also seeing two pairs of xorg.0.log/dmesg could help to identify the problem.
Maybe the fact that intel drm had the same issue and was fixed could also help, but I am not sure.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#4 2009-10-15 15:23:10

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Actually curro (from irc #nouveau) did not ask for a bisect, but to provide mmio traces :
http://nouveau.freedesktop.org/wiki/MmioTrace

17:18 < curro_> andyrtr_laptop: yeah, so this problem has probably been there forever but you haven't realized until the connector priorities have changed, for some reason
17:20 < andyrtr_laptop> ok, I'll switch to my desktop now. my main task is to build our new Xorg server packages. I'll keep watching you. If you have a better idea than to bisect it for now.
17:20 < curro_> andyrtr_laptop: an mmiotrace from the blob might be useful
17:20 < curro_> andyrtr_laptop: no need to bisect anything
17:23 < curro_> andyrtr: you should also try if just running the blob before nouveau fixes it
17:24 < andyrtr> curro_, what "blob"?
17:24 < curro_> andyrtr: the proprietary nvidia driver
17:26 < andyrtr> you mean load the blob, then unload and then load nouveau? :S
17:27 < pq> andyrtr, just loading the blob hasn't done much in the past, you probably need to start X.
17:29 < curro_> andyrtr: yeah, and if you try to get an mmiotrace, i would do it with both DVIs disconnected

An info easier to provide than a mmiotrace is to first load nvidia blob to see. I guess there are the steps to follow :
1) boot into console
2) remove/disable nouveau and install/enable nvidia
3) boot into X with nvidia and switch back to console
4) remove/disable nvidia and install/enable nouveau

Check if it works, save the logs (Xorg.0.log and dmesg) and report back.

But a mmiotrace would probably be more helpful.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#5 2009-10-15 15:45:01

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

So to get the mmiotrace, just read this file carefully :
http://cgit.freedesktop.org/nouveau/lin … otrace.txt

I would suggest using a nouveau git kernel. You can use AUR pkgbuild if you want :
http://aur.archlinux.org/packages.php?ID=30158

Just enable CONFIG_MMIOTRACE and disable SMP, build the kernel, reboot and follow all the instructions in mmiotrace.txt


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#6 2009-10-17 09:25:37

tyr0
Member
Registered: 2007-06-02
Posts: 152

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Thank you. I´ll try it when I´m less busy. One thing: Modprobing nouveau-driver after a reboot with nouveau kernel like it is described, won´t use the kms thing, because the system is up already. Maybe I didn´t get it...

Offline

#7 2009-11-16 10:52:45

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

I am experiencing the same problem too.
Kernel 2.6.31.6-1 + Nouveau 0.0.10_git20091101-1 + xorg-server 1.7.1.901-2 + KMS

When I boot, instead of using the native 1650x1080 resolution, I get a 1024x768 framebuffer. Loginscreen and desktop appear in 1024x768 resolution stretched over the screen. I can however change the resolution of the desktop, which also remains after rebooting, but it doesn't change anything to the loginscreen or bootup framebuffer.

I installed the nouveau driver a couple of days ago and enabled KMS just today, that's when I noticed. Before installing the nouveau driver, I was using the Nvidia 173xx driver already.

Offline

#8 2009-11-16 10:58:49

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Could you both try the latest nouveau-drm in testing ?

pacman -U ftp://ftp.archlinux.org/testing/os/i686/nouveau-drm-0.0.15_20091111-1-i686.pkg.tar.gz
or
pacman -U ftp://ftp.archlinux.org/testing/os/x86_64/nouveau-drm-0.0.15_20091111-1-x86_64.pkg.tar.gz

Last edited by shining (2009-11-16 10:59:16)


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#9 2009-11-16 13:53:51

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

shining wrote:

Could you both try the latest nouveau-drm in testing ?

pacman -U ftp://ftp.archlinux.org/testing/os/i686/nouveau-drm-0.0.15_20091111-1-i686.pkg.tar.gz
or
pacman -U ftp://ftp.archlinux.org/testing/os/x86_64/nouveau-drm-0.0.15_20091111-1-x86_64.pkg.tar.gz

I sure will, can you also tell me how to revert to the previous version if that's not working?

Offline

#10 2009-11-16 13:54:25

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

pacman -S nouveau-drm

pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#11 2009-11-16 14:15:52

tyr0
Member
Registered: 2007-06-02
Posts: 152

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

The new package does no work for me.

nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[drm] nouveau 0000:01:00.0: Detected an NV40 generation card (0x043000a4)
[drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
[drm] nouveau 0000:01:00.0: ... BIOS signature not found
[drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
usb 1-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi4 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb 3-2: new low speed USB device using uhci_hcd and address 2
VIA 82xx Modem 0000:00:11.6: setting latency timer to 64
[drm] nouveau 0000:01:00.0: ... appears to be valid
[drm] nouveau 0000:01:00.0: BIT BIOS found
[drm] nouveau 0000:01:00.0: Bios version 05.43.02.92
[drm] nouveau 0000:01:00.0: Found Display Configuration Block version 3.0
[drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00000028
[drm] nouveau 0000:01:00.0: Raw DCB entry 1: 04011312 00000000
[drm] nouveau 0000:01:00.0: Raw DCB entry 2: 04011310 00000028
[drm] nouveau 0000:01:00.0: Raw DCB entry 3: 020223f1 00c0c083
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xE15B
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xE597
usb 3-2: configuration #1 chosen from 1 choice
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xEA11
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xEB9C
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xEC7C
[TTM] Zone  kernel: Available graphics memory: 447268 kiB.
[TTM] Zone highmem: Available graphics memory: 516744 kiB.
[drm] nouveau 0000:01:00.0: 128 MiB VRAM
agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
[drm] nouveau 0000:01:00.0: 64 MiB GART (aperture)
[drm] nouveau 0000:01:00.0: Allocating FIFO number 0
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 0
[drm] nouveau 0000:01:00.0: Initial CRTC_OWNER is 0
[drm] nouveau 0000:01:00.0: Detected a VGA connector
[drm] nouveau 0000:01:00.0: Detected a DVI-I connector
[drm] nouveau 0000:01:00.0: Detected a TV connector
[drm] nouveau 0000:01:00.0: Saving VGA fonts
usbcore: registered new interface driver hiddev
input: HID 1241:1166 as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input6
generic-usb 0003:1241:1166.0001: input,hidraw0: USB HID v1.10 Mouse [HID 1241:1166] on usb-0000:00:10.1-2/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
PCRTC[0]+GPIO_EXT: 22600666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
VIA 82xx Modem 0000:00:11.6: PCI INT C disabled
VIA 82xx Modem: probe of 0000:00:11.6 failed with error -13
VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
PCRTC[0]+GPIO_EXT: 22600666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 2000: f0001000
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: allocated 1680x1050 fb: 0x49000, bo f6949e00
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 2)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 0
[drm] nouveau 0000:01:00.0: vpll: n 22 m 5 log2p 0
[drm] TMDS-8: set mode 1680x1050 38
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 0
[drm] nouveau 0000:01:00.0: nv04_dfp_commit called for encoder 1
[drm] nouveau 0000:01:00.0: 0xD5B3: Parsing digital output script table
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on tmds encoder (output 1)
[drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output C
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 720x576 39
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
Console: switching to colour frame buffer device 90x36
fb0: nouveaufb frame buffer device
registered panic notifier
[drm] Initialized nouveau 0.0.15 20090420 for 0000:01:00.0 on minor 0
EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
Adding 1044216k swap on /dev/sdb2.  Priority:-1 extents:1 across:1044216k 
scsi 4:0:0:0: Direct-Access     WD       2500JB External  0108 PQ: 0 ANSI: 0
sd 4:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
sd 4:0:0:0: [sdc] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Attached SCSI disk
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
skge eth0: enabling interface
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 2000: f0001000
[drm] nouveau 0000:01:00.0: Load detected on output B
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 2000: f0001000
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 1024x768 3b
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
wlan0: authenticate with AP 00:14:bf:3c:ca:b3
wlan0: authenticated
wlan0: associate with AP 00:14:bf:3c:ca:b3
wlan0: RX AssocResp from 00:14:bf:3c:ca:b3 (capab=0x431 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 2000: f0001000
[drm] nouveau 0000:01:00.0: Load detected on output B
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 22500666
PCRTC[0]+850: 2606
NV_PRAMDAC_TEST_CONTROL + 2000: f0001000
[drm] nouveau 0000:01:00.0: Load detected on output B

Offline

#12 2009-11-16 19:45:22

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

shining wrote:

Could you both try the latest nouveau-drm in testing ?

pacman -U ftp://ftp.archlinux.org/testing/os/i686/nouveau-drm-0.0.15_20091111-1-i686.pkg.tar.gz
or
pacman -U ftp://ftp.archlinux.org/testing/os/x86_64/nouveau-drm-0.0.15_20091111-1-x86_64.pkg.tar.gz

It is working for me with the x86 package. Installed the patch, exit X, mkinitcpio -p kernel26 and reboot.
@ tyr0: did you also take the same steps?

[drm] Initialized drm 1.1.0 20060810
Switched to high resolution mode on CPU 0
nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[drm] nouveau 0000:01:00.0: Detected an NV30 generation card (0x035200a1)
[drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
[drm] nouveau 0000:01:00.0: ... appears to be valid
[drm] nouveau 0000:01:00.0: BMP BIOS found
[drm] nouveau 0000:01:00.0: BMP version 5.40
[drm] nouveau 0000:01:00.0: Bios version 04.35.20.38
[drm] nouveau 0000:01:00.0: Found Display Configuration Block version 2.2
[drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00009c40
[drm] nouveau 0000:01:00.0: Raw DCB entry 1: 02010310 00009c40
[drm] nouveau 0000:01:00.0: Raw DCB entry 2: 02110312 00000010
[drm] nouveau 0000:01:00.0: Raw DCB entry 3: 02020321 00000703
[drm] nouveau 0000:01:00.0: Loading NV17 power sequencing microcode
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xEE9F
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xF198
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xF01D
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xF42A
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xF447
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 5 at offset 0xF464
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 6 at offset 0xF78C
[TTM] Zone  kernel: Available graphics memory: 445272 kiB.
[TTM] Zone highmem: Available graphics memory: 777020 kiB.
[drm] nouveau 0000:01:00.0: 128 MiB VRAM
[drm] nouveau 0000:01:00.0: 64 MiB GART (aperture)
[drm] nouveau 0000:01:00.0: Allocating FIFO number 0
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 0
[drm] nouveau 0000:01:00.0: Initial CRTC_OWNER is 0
[drm] nouveau 0000:01:00.0: Detected a VGA connector
[drm] nouveau 0000:01:00.0: Detected a DVI-I connector
[drm] nouveau 0000:01:00.0: Detected a TV connector
[drm] nouveau 0000:01:00.0: Saving VGA fonts
PCRTC[0]+GPIO_EXT: 26033202
NV_PRAMDAC_TEST_CONTROL + 0: 1000
PCRTC[0]+GPIO_EXT: 26033202
NV_PRAMDAC_TEST_CONTROL + 2000: 0
[drm] nouveau 0000:01:00.0: allocated 1680x1050 fb: 0x49000, bo f736d500
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 2)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 1)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 0
[drm] nouveau 0000:01:00.0: vpll: n1 13 n2 5 m1 3 m2 1 log2p 2
[drm] TMDS-9: set mode 1680x1050 36
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 0
[drm] nouveau 0000:01:00.0: nv04_dfp_commit called for encoder 2
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on tmds encoder (output 2)
[drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output B
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
Console: switching to colour frame buffer device 210x65
fb0: nouveaufb frame buffer device
registered panic notifier
[drm] Initialized nouveau 0.0.15 20090420 for 0000:01:00.0 on minor 0

Offline

#13 2009-11-16 22:58:18

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Don't forget to rebuild the initrd if you added nouveau to it !
I never put nouveau in the initrd, it's a very annoying source of error ...

@ulukai : glad it fixed the problem for you smile

@tyr0 : if you are sure you are using the latest version, you need to report the bug upstream. The bug will not fix itself auto-magically smile


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#14 2009-11-17 08:52:58

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

shining wrote:

Don't forget to rebuild the initrd if you added nouveau to it !
I never put nouveau in the initrd, it's a very annoying source of error ...

@ulukai : glad it fixed the problem for you smile

@tyr0 : if you are sure you are using the latest version, you need to report the bug upstream. The bug will not fix itself auto-magically smile

Thanks for the help, it's working really good now. Out of curiousity: do you also use nouveau + kms and which method do you use to enable it?

Offline

#15 2009-11-17 17:11:48

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

ulukai wrote:
shining wrote:

Don't forget to rebuild the initrd if you added nouveau to it !
I never put nouveau in the initrd, it's a very annoying source of error ...

@ulukai : glad it fixed the problem for you smile

@tyr0 : if you are sure you are using the latest version, you need to report the bug upstream. The bug will not fix itself auto-magically smile

Thanks for the help, it's working really good now. Out of curiousity: do you also use nouveau + kms and which method do you use to enable it?

Well I just don't add it to initrd, that's all. As long as modeset=1, kms will be enabled.

> grep nouveau /etc/modprobe.d/modprobe.conf
options nouveau modeset=1


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#16 2009-11-18 11:55:14

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

tyr0 wrote:

The new package does no work for me.

See http://bugs.freedesktop.org/show_bug.cgi?id=24996

Can you try the latest patch : http://bugs.freedesktop.org/attachment.cgi?id=31286 ?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#17 2009-11-18 19:00:24

tyr0
Member
Registered: 2007-06-02
Posts: 152

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Thank you for your answer. I´ve build nouveau-drm with this PKGBUILD:

# $Id: PKGBUILD 58711 2009-11-12 17:08:14Z andyrtr $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: buddabrod <buddabrod@gmail.com>

pkgname=nouveau-drm
_snapdate=20091111
pkgver=0.0.15_${_snapdate} # see master/drivers/gpu/drm/nouveau/nouveau_drv.h for version
_kernver='2.6.31-ARCH'
pkgrel=1
pkgdesc="nvidia opensource X driver"
arch=('i686' 'x86_64')
url="http://nouveau.freedesktop.org/"
depends=("kernel26>=2.6.31" "kernel26<2.6.32")
#makedepends=('git' 'autoconf' 'pkgconfig')
install=${pkgname}.install
license=('GPL')
#options=('force')
source=(ftp://ftp.archlinux.org/other/$pkgname/master-${_snapdate}.tar.gz 
    #http://people.freedesktop.org/~pq/nouveau-drm/master.tar.gz
    # get the Makefile from http://cgit.freedesktop.org/nouveau/linux-2.6/plain/nouveau/Makefile?h=master-compat
    Makefile
    dcb_gpio_tvdac_switching2.patch)
md5sums=('bbd406c6b8d93defbe17d4f4b477b500'
         'b619729a9374b7172fc1a7ce59f7f3ad'
         'c2000a9d3d5c714c28a68e11a6f49228')

build() {
  cd ${srcdir}/master
  # try to fix http://bbs.archlinux.org/viewtopic.php?id=82363
  patch -Np1 -i ${srcdir}/dcb_gpio_tvdac_switching2.patch || return 1
  
  mkdir nouveau
  cp $srcdir/Makefile ${srcdir}/master/nouveau/
  cd nouveau
  make DRM_MODULES="nouveau" || return 1

  install -D -m 0644 ${srcdir}/master/drivers/gpu/drm/drm.ko ${pkgdir}/lib/modules/`uname -r`/updates/drm.ko || return 1
  install -D -m 0644 ${srcdir}/master/drivers/gpu/drm/drm_kms_helper.ko ${pkgdir}/lib/modules/`uname -r`/updates/drm_kms_helper.ko || return 1
  install -D -m 0644 ${srcdir}/master/drivers/gpu/drm/nouveau/nouveau.ko ${pkgdir}/lib/modules/`uname -r`/kernel/drivers/video/nouveau.ko || return 1
  install -D -m 0644 ${srcdir}/master/drivers/gpu/drm/ttm/ttm.ko ${pkgdir}/lib/modules/`uname -r`/updates/ttm.ko || return 1
  install -D -m 0644 ${srcdir}/master/drivers/gpu/drm/i2c/ch7006.ko ${pkgdir}/lib/modules/`uname -r`/updates/ch7006.ko || return 1
  install -D -m 0644 ${srcdir}/master/include/drm/nouveau_drm.h ${pkgdir}/usr/include/nouveau_drm.h || return 1

  # install script
  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" ${startdir}/${pkgname}.install
}

dmesg shows:

[drm] nouveau 0000:01:00.0: ... appears to be valid
[drm] nouveau 0000:01:00.0: BIT BIOS found
[drm] nouveau 0000:01:00.0: Bios version 05.43.02.92
[drm] nouveau 0000:01:00.0: Found Display Configuration Block version 3.0
[drm] nouveau 0000:01:00.0: Raw DCB entry 0: 01000300 00000028
[drm] nouveau 0000:01:00.0: Raw DCB entry 1: 04011312 00000000
[drm] nouveau 0000:01:00.0: Raw DCB entry 2: 04011310 00000028
[drm] nouveau 0000:01:00.0: Raw DCB entry 3: 020223f1 00c0c083
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xE15B
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xE597
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xEA11
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xEB9C
[drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xEC7C
usb 3-2: new low speed USB device using uhci_hcd and address 2
[TTM] Zone  kernel: Available graphics memory: 447268 kiB.
[TTM] Zone highmem: Available graphics memory: 516744 kiB.
[drm] nouveau 0000:01:00.0: 128 MiB VRAM
agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
agpgart: modprobe tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode
nouveau 0000:01:00.0: putting AGP V3 device into 8x mode
[drm] nouveau 0000:01:00.0: 64 MiB GART (aperture)
[drm] nouveau 0000:01:00.0: Allocating FIFO number 0
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 0
[drm] nouveau 0000:01:00.0: Initial CRTC_OWNER is 0
[drm] nouveau 0000:01:00.0: Detected a VGA connector
[drm] nouveau 0000:01:00.0: Detected a DVI-I connector
[drm] nouveau 0000:01:00.0: Detected a TV connector
[drm] nouveau 0000:01:00.0: Saving VGA fonts
usb 3-2: configuration #1 chosen from 1 choice
usbcore: registered new interface driver hiddev
input: HID 1241:1166 as /devices/pci0000:00/0000:00:10.1/usb3/3-2/3-2:1.0/input/input6
generic-usb 0003:1241:1166.0001: input,hidraw0: USB HID v1.10 Mouse [HID 1241:1166] on usb-0000:00:10.1-2/input0
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: allocated 1680x1050 fb: 0x49000, bo f650c100
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on tmds encoder (output 1)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 2)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 0
[drm] nouveau 0000:01:00.0: vpll: n 22 m 5 log2p 0
[drm] TMDS-8: set mode 1680x1050 38
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 0
[drm] nouveau 0000:01:00.0: nv04_dfp_commit called for encoder 1
[drm] nouveau 0000:01:00.0: 0xD5B3: Parsing digital output script table
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on tmds encoder (output 1)
[drm] nouveau 0000:01:00.0: Output DVI-I-1 is running on CRTC 0 using output C
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 720x576 39
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
Console: switching to colour frame buffer device 90x36
fb0: nouveaufb frame buffer device
registered panic notifier
[drm] Initialized nouveau 0.0.15 20090420 for 0000:01:00.0 on minor 0
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0011d8000020a272]
EXT3 FS on sda1, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sdb1, internal journal
EXT3-fs: mounted filesystem with writeback data mode.
Adding 1044216k swap on /dev/sdb2.  Priority:-1 extents:1 across:1044216k 
scsi 4:0:0:0: Direct-Access     WD       2500JB External  0108 PQ: 0 ANSI: 0
sd 4:0:0:0: Attached scsi generic sg3 type 0
usb-storage: device scan complete
sd 4:0:0:0: [sdc] 488397168 512-byte logical blocks: (250 GB/232 GiB)
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Attached SCSI disk
scsi 5:0:0:0: Direct-Access     Apple    iPod             1.62 PQ: 0 ANSI: 0
sd 5:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
sd 5:0:0:0: [sdd] 29255991 4096-byte logical blocks: (119 GB/111 GiB)
sd 5:0:0:0: [sdd] Write Protect is off
sd 5:0:0:0: [sdd] Mode Sense: 68 00 00 08
sd 5:0:0:0: [sdd] Assuming drive cache: write through
sd 5:0:0:0: [sdd] 29255991 4096-byte logical blocks: (119 GB/111 GiB)
sd 5:0:0:0: [sdd] Assuming drive cache: write through
 sdd: sdd1
sd 5:0:0:0: [sdd] 29255991 4096-byte logical blocks: (119 GB/111 GiB)
sd 5:0:0:0: [sdd] Assuming drive cache: write through
sd 5:0:0:0: [sdd] Attached SCSI removable disk
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
skge eth0: enabling interface
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Allocating FIFO number 1
[drm] nouveau 0000:01:00.0: nouveau_channel_alloc: initialised FIFO 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Setting dpms mode 3 on CRTC 1
[drm] nouveau 0000:01:00.0: vpll: n 20 m 3 log2p 1
[drm] TV-10: set mode 1024x768 3b
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on CRTC 1
[drm] nouveau 0000:01:00.0: Setting dpms mode 0 on TV encoder (output 3)
[drm] nouveau 0000:01:00.0: Output TV-1 is running on CRTC 1 using output B
wlan0: authenticate with AP 00:14:bf:3c:ca:b3
wlan0: authenticated
wlan0: associate with AP 00:14:bf:3c:ca:b3
wlan0: RX AssocResp from 00:14:bf:3c:ca:b3 (capab=0x431 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
[drm] nouveau 0000:01:00.0: Load detected on output B
[drm] nouveau 0000:01:00.0: Load detected on output B

Resolutions is still wrong. Do you need any other facts? Can I help you sorting out this problem in any way?

EDIT: dcb_gpio_tvdac_switching3.patch cannot be applied on this version of nouveau-drm.

patching file drivers/gpu/drm/nouveau/Makefile
patching file drivers/gpu/drm/nouveau/nouveau_bios.c
Hunk #1 FAILED at 2580.
Hunk #2 FAILED at 2589.
Hunk #3 succeeded at 4965 (offset -18 lines).
Hunk #4 succeeded at 5397 (offset -18 lines).
Hunk #5 succeeded at 5463 (offset -18 lines).
2 out of 5 hunks FAILED -- saving rejects to file drivers/gpu/drm/nouveau/nouveau_bios.c.rej
patching file drivers/gpu/drm/nouveau/nouveau_bios.h
patching file drivers/gpu/drm/nouveau/nouveau_drv.h
patching file drivers/gpu/drm/nouveau/nv04_dac.c
patching file drivers/gpu/drm/nouveau/nv17_gpio.c
patching file drivers/gpu/drm/nouveau/nv17_tv.c
==> FEHLER: Build fehlgeschlagen.
    Breche ab ...

Last edited by tyr0 (2009-11-18 19:07:50)

Offline

#18 2009-11-19 01:38:37

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

tyr0 wrote:

Resolutions is still wrong. Do you need any other facts? Can I help you sorting out this problem in any way?

Thanks for testing ! I cannot help you though, only nouveau developers can smile
I gave a link to your results in the bug tracker :
https://bugs.freedesktop.org/show_bug.cgi?id=24996#c15

They usually prefer the full output of dmesg.
In that last output you gave, we cannot even see the beginning of nouveau initialization (which in particular shows your chipset).

By the way, it would be much more practical if you could directly post on that bugtracker now smile

EDIT: dcb_gpio_tvdac_switching3.patch cannot be applied on this version of nouveau-drm.

That's expected. The patch was only updated to apply to the latest drm code. But you are still using the older one from 1111.
Look at the source line in the PKGBUILD, you could use http://people.freedesktop.org/~pq/nouve … ter.tar.gz instead to get latest code.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#19 2009-11-19 14:04:32

tyr0
Member
Registered: 2007-06-02
Posts: 152

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

I am busy these days, but of course I´ll try to submit my results directly on bugtracker. wink
But thanks for your efforts.

Offline

#20 2009-11-19 17:36:13

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Best would be to talk to curro directly in IRC and send a mmiotrace. So we solved my resolution issue.

Offline

#21 2009-11-19 18:00:57

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

Maybe going on IRC is not strictly necessary. But following the bug report is. curro actually just asked for a mmio trace : http://bugs.freedesktop.org/show_bug.cgi?id=24996#c18

@tyr0 : can you try to get a mmiotrace ?
You just need to rebuild your kernel with CONFIG_MMIOTRACE , build nvidia driver against it, and follow these instructions :
http://cgit.freedesktop.org/nouveau/lin … otrace.txt
and also what curro said in the link above.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#22 2009-11-20 06:16:51

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Kernel 2.6.31 and KMS - wrong resolution (nvidia)

I have built a custom 64bit kernel + nvidia module. I can also send you the kernel config if you want to build your own one (32bit).

Offline

Board footer

Powered by FluxBB