Bug 31644 - Nouveau driver with "Gigabyte nVidia 9600GT" - black screen
Summary: Nouveau driver with "Gigabyte nVidia 9600GT" - black screen
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 16:41 UTC by miko1992
Modified: 2013-08-18 18:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
lspci -vv output and logs (2.26 KB, application/x-gtar)
2010-11-15 16:41 UTC, miko1992
no flags Details
New Logs (65.93 KB, text/plain)
2010-11-17 09:32 UTC, miko1992
no flags Details

Description miko1992 2010-11-15 16:41:12 UTC
Created attachment 40293 [details]
lspci -vv output and logs

Hello friends,



I'm getting black screen when trying to use the Nouveau driver with my more than 2 years old "Gigabyte nVidia 9600GT NX96T series" videocard (lspci -vv output is attached).



My Linux OS is Arch x86_64 with all the updates and I also have tried the latest Ubuntu 10.10 x86_64 - I get the same black screen and blinking led on the monitor just when entering into kms mode.



When blacklisting the nouveau driver in Arch during the boot, I can boot the system and run the X using nv driver. When trying to do "modprobe nouveau" I get the same result - black screen, need to restart the computer by blindly typeing "restart" at the console. Here I'm attaching also some parts related to nouveau from the log files. (grep "drm\|nouveau"
 /var/everything.log ~/nouveau.log)


What I can I do else to help to fix this issue?



Thank you very much.
Comment 1 Ben Skeggs 2010-11-15 16:48:07 UTC
Please retry with the latest Linux kernel version, or better yet, nouveau git (git://anongit.freedesktop.org/git/nouveau/linux-2.6).

The logs indicate a rather "outdated" version of nouveau, and upstream has had several fixes which could be relevant.
Comment 2 miko1992 2010-11-16 16:17:12 UTC
Thank you for response, Ben!

So, I've tried with the git version, booting without drm:

Nov 17 02:25:34 localhost kernel: Initializing cgroup subsys cpuset
Nov 17 02:25:34 localhost kernel: Initializing cgroup subsys cpu
Nov 17 02:25:34 localhost kernel: Linux version 2.6.37-rc2-ARCH-01122-g657cfc3-dirty (user@linux) (gcc version 4.5.1 (GCC) ) #1 SMP PREEMPT Wed Nov 17 01:54:37 AMT 2010
Nov 17 02:25:34 localhost kernel: Command line: cryptdevice=/dev/disk/by-uuid/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:dmroot root=/dev/mapper/dmroot ro
...
...
...
Nov 17 02:25:34 localhost init: Entering runlevel: 3
Nov 17 02:25:36 localhost kernel: w83627ehf: Found W83627DHG chip at 0x290
Nov 17 02:25:36 localhost kernel: ACPI: resource w83627ehf [io  0x0295-0x0296] conflicts with ACPI region HWRE [??? 0x00000290-0x00000299 flags 0xffff88012fd56018]
Nov 17 02:25:36 localhost kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
...
...
...
###########!!! Here I did "startx" with the driver "nv" in the screen section of the X configuration file, strange bug with the new kernel:

Nov 17 02:25:47 localhost kernel: ------------[ cut here ]------------
Nov 17 02:25:47 localhost kernel: WARNING: at drivers/pci/pci-sysfs.c:758 pci_mmap_resource.clone.8+0x156/0x1a0()
Nov 17 02:25:47 localhost kernel: Hardware name: P5KC
Nov 17 02:25:47 localhost kernel: process "X" tried to map 0x01000000 bytes at page 0x00000000 on 0000:01:00.0 BAR 0 (start 0x        fd000000, size 0x         1000000)
Nov 17 02:25:47 localhost kernel: Modules linked in: hwmon_vid coretemp iptable_mangle iptable_nat nf_nat ipt_REJECT ipt_LOG xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_limit iptable_filter ip_tables x_tables snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_hda_codec_realtek snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801 i2c_core intel_agp intel_gtt atl1 mii asus_atk0110 ne2k_pci 8390 pcspkr sg processor button iTCO_wdt iTCO_vendor_support shpchp pci_hotplug serio_raw evdev joydev rtc_cmos rtc_core rtc_lib xfs exportfs cryptd aes_x86_64 aes_generic xts gf128mul dm_crypt dm_mod usbhid hid sr_mod cdrom sd_mod pata_acpi ahci ata_piix pata_jmicron libahci uhci_hcd libata scsi_mod ehci_hcd usbcore
Nov 17 02:25:47 localhost kernel: Pid: 2897, comm: X Not tainted 2.6.37-rc2-ARCH-01122-g657cfc3-dirty #1
Nov 17 02:25:47 localhost kernel: Call Trace:
Nov 17 02:25:47 localhost kernel: [<ffffffff8105500a>] warn_slowpath_common+0x7a/0xb0
Nov 17 02:25:47 localhost kernel: [<ffffffff810550e1>] warn_slowpath_fmt+0x41/0x50
Nov 17 02:25:47 localhost kernel: [<ffffffff811962c1>] ? sysfs_permission+0x51/0x60
Nov 17 02:25:47 localhost kernel: [<ffffffff811fafc6>] pci_mmap_resource.clone.8+0x156/0x1a0
Nov 17 02:25:47 localhost kernel: [<ffffffff811fb028>] pci_mmap_resource_uc+0x18/0x20
Nov 17 02:25:47 localhost kernel: [<ffffffff811997ac>] mmap+0x7c/0x120
Nov 17 02:25:47 localhost kernel: [<ffffffff8110b582>] mmap_region+0x322/0x460
Nov 17 02:25:47 localhost kernel: [<ffffffff8110ba04>] do_mmap_pgoff+0x344/0x380
Nov 17 02:25:47 localhost kernel: [<ffffffff8110bb10>] sys_mmap_pgoff+0xd0/0x180
Nov 17 02:25:47 localhost kernel: [<ffffffff8112ddc5>] ? do_sys_open+0xe5/0x110
Nov 17 02:25:47 localhost kernel: [<ffffffff81010479>] sys_mmap+0x29/0x30
Nov 17 02:25:47 localhost kernel: [<ffffffff8100af82>] system_call_fastpath+0x16/0x1b
Nov 17 02:25:47 localhost kernel: ---[ end trace 17542391edae274f ]---
...
...
...
############## And here I've changed the "nv" to "nouveau" and did startx again, the same black screen :(
Nov 17 02:27:10 localhost kernel: [drm] Initialized drm 1.1.0 20060810
Nov 17 02:27:10 localhost kernel: nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Nov 17 02:27:10 localhost kernel: nouveau 0000:01:00.0: setting latency timer to 64
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Detected an NV50 generation card (0x094100a1)
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: ... appears to be valid
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: BIT BIOS found
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Bios version 62.94.11.00
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: TMDS table version 2.0
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Found Display Configuration Block version 4.0
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Raw DCB entry 0: 02000300 00000028
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Raw DCB entry 1: 01000302 00020030
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Raw DCB entry 2: 04011310 00000028
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Raw DCB entry 3: 02011312 00000030
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Raw DCB entry 4: 010223f1 00c0c080
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: DCB connector table: VHER 0x40 5 16 4
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0:   0: 0x00001030: type 0x30 idx 0 tag 0x07
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0:   1: 0x00002130: type 0x30 idx 1 tag 0x08
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0:   2: 0x00000210: type 0x10 idx 2 tag 0xff
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0:   3: 0x00000211: type 0x11 idx 3 tag 0xff
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0:   4: 0x00000213: type 0x13 idx 4 tag 0xff
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 0 at offset 0xCE32
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 1 at offset 0xD21B
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 2 at offset 0xE176
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 3 at offset 0xE2A5
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table 4 at offset 0xE4B5
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Parsing VBIOS init table at offset 0xE51A
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: 0xE51A: Condition still not met after 20ms, skipping following opcodes
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: 2 available performance level(s)
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: 2: memory 750MHz core 450MHz shader 1200MHz fanspeed 100%
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: 3: memory 900MHz core 650MHz shader 1625MHz fanspeed 100%
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: c: memory 499MHz core 500MHz shader 1250MHz voltage 1050mV
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: Detected 512MiB VRAM
Nov 17 02:27:10 localhost kernel: [TTM] Zone  kernel: Available graphics memory: 2027304 kiB.
Nov 17 02:27:10 localhost kernel: [TTM] Initializing pool allocator.
Nov 17 02:27:10 localhost kernel: mtrr: type mismatch for d0000000,10000000 old: write-back new: write-combining
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: 512 MiB GART (aperture)
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: DCB encoder 1 unknown
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: TV-1 has no encoders, removing
Nov 17 02:27:10 localhost kernel: [drm] nouveau 0000:01:00.0: allocated 1440x900 fb: 0x40280000, bo ffff8801262d1000
Nov 17 02:27:10 localhost kernel: Console: switching to colour frame buffer device 180x56
Nov 17 02:27:10 localhost kernel: fb0: nouveaufb frame buffer device
Nov 17 02:27:10 localhost kernel: drm: registered panic notifier
Nov 17 02:27:10 localhost kernel: [drm] Initialized nouveau 0.0.16 20090420 for 0000:01:00.0 on minor 0




And please don't tell me this is outdated Nouveau because of this "20090420" string, here it is in the latest sources at line 33 atm: http://cgit.freedesktop.org/nouveau/linux-2.6/tree/drivers/gpu/drm/nouveau/nouveau_drv.h


----
Miko
Comment 3 Marcin Slusarz 2010-11-17 07:55:05 UTC
Did you reboot between checking nv and nouveau? If not, please do - nv messes up gpu state.

(Please don't paste logs in comments - attach complete, unfiltered logs from boot up to the problem, do not compress them)
Comment 4 miko1992 2010-11-17 09:31:29 UTC
>>Did you reboot between checking nv and nouveau? If not, please do - nv messes
up gpu state.

No I didn't.

>> (Please don't paste logs in comments - attach complete, unfiltered logs from
boot up to the problem, do not compress them)

Sorry for that.

So, here is the new full logs (replaced some MAC addresses and MB/GPU unrelated devices names to XXXX for some privacy). The same old black screen.

Thank you for your help.
Comment 5 miko1992 2010-11-17 09:32:27 UTC
Created attachment 40339 [details]
New Logs
Comment 6 miko1992 2011-01-18 09:33:20 UTC
Any news about this issue? Is this all useful information that I can provide?
Comment 7 Ilia Mirkin 2013-08-18 18:09:01 UTC
It appears that this bug report has laid dormant for quite a while. Sorry we haven't gotten to it. Since we fix bugs all the time, chances are pretty good that your issue has been fixed with the latest software. Please give it a shot. (Linux kernel 3.10.7, xf86-video-nouveau 1.0.9, mesa 9.1.6, or their git versions.) If upgrading to the latest isn't an option for you, your distro's bugzilla is probably the right destination for your bug report.

In an effort to clean up our bug list, we're pre-emptively closing all bugs that haven't seen updates since 2011. If the original issue remains, please make sure to provide fresh info, see http://nouveau.freedesktop.org/wiki/Bugs/ for what we need to see, and re-open this one.

Thanks,

The Nouveau Team


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.