Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errors switching to vga out or vts from x (nvidia gfx)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Fri Oct 09, 2009 12:16 am    Post subject: errors switching to vga out or vts from x (nvidia gfx) Reply with quote

Hi,

I got a new laptop (Toshiba Tecra R10-11Y, C2D, nvidia Quadro NVS 150M) and am having trouble getting the vga out to work, running a ~amd64 multilib setup. I have tried several combinations of kernels (gentoo-sources 2.6.30-r5, -2.6.31-r1, -2.6.31-r2) and nvidia-drivers (185.18.31, 185.18.36 (rolled my own ebuild) and 190.36), both with and without uvesafb enabled.

Without X, switching from LCD to external monitor and back works, both with and without framebuffer console.

With nvidia-drivers-185.18.31, X does not start at all (the nvidia driver triggers a kernel BUG()). With the later nvidia drivers, X (I used both gnome and twm sessions for my tests, started from an ssh session) starts alright. When I hit <Fn>+<F5> to switch to the monitor, the monitor detects a signal, but it does not display anything (without framebuffer console) or a garbled screen (with framebuffer console). Switching to vts does not work anymore. When I then try to stop X (hitting <ctrl>+C), X is taking a long time to stop. When I then try to start X again, it segfaults. See a console log and the xorg log.

Another maybe related bug is, that when I switch from X to a vt, the screen goes black. If I then switch to vga out and back, the console is displayed alright. Switching back to X works, too.

I also tried different settings for NVreg_Mobile and NVreg_UseVBios options for the nvidia module, without success.


I don't know what to try next. Does anyone know how to get the vga out working from X? Or any hints on further debugging?


Thanks,

Chris

Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Fri Oct 09, 2009 1:49 am    Post subject: Reply with quote

does grep -i nvidia /var/log/messages return anything?

is <user> in all the required groups?
Back to top
View user's profile Send private message
chrbecke
Guru
Guru


Joined: 12 Jul 2004
Posts: 598
Location: Berlin - Germany

PostPosted: Fri Oct 09, 2009 7:28 am    Post subject: Reply with quote

Yes, see the dmesg output posted above:
Code:
nvidia 0000:01:00.0: power state changed by ACPI to D0
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
nvidia 0000:01:00.0: setting latency timer to 64

and, from the try with the version that triggered the kernel BUG:
Code:
Oct  8 21:29:33 tosh kernel: Modules linked in: af_packet nvidia(P) arc4 ecb iwlagn iwlcore mac80211 toshiba_acpi cfg80211 rfkill backlight psmouse rtc_cmos rtc_core rtc_lib pcspkr input_polldev e1000e evdev unix
Oct  8 21:29:33 tosh kernel: [<ffffffffa0137577>] ? _nv007272rm+0xaa/0x314 [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa01392da>] ? _nv019651rm+0x16/0x1c [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa05336d1>] ? _nv003836rm+0x9/0xe [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa05332d9>] ? _nv003802rm+0x179/0x1c2 [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa0533616>] ? _nv003838rm+0x98/0x13e [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa046723e>] ? _nv007070rm+0x19/0x25 [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa02750a6>] ? _nv003698rm+0x576/0x5b4 [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa04ec181>] ? rm_ioctl+0x2f/0x67 [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa05c10a6>] ? nv_kern_ioctl+0x320/0x382 [nvidia]
Oct  8 21:29:33 tosh kernel: [<ffffffffa05c1145>] ? nv_kern_unlocked_ioctl+0x1c/0x21 [nvidia]

After the screen is garbled/turns black when switching from built-in LCD to vga out, there is nothing suspicious in the logs (/var/log/messages, /var/log/Xorg.0.log, dmesg). But I can reproducibly trigger the X segfault when killing X after the display turns garbled/black and trying to restart X (after verifying X exited).

groups chris wrote:
wheel audio video cdrw usb users portage plugdev kvm chris


Oh, and forgot to mention, this is with xorg-server-1.6.4.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum