View previous topic :: View next topic |
Author |
Message |
shallpion Guru
Joined: 29 Sep 2008 Posts: 331
|
Posted: Sun Nov 07, 2010 7:39 pm Post subject: Gvim 7.3 freezes at startup |
|
|
Hi, I find that every time I started gvim-7.3, the window just froze there as a grey box....I tried to reinstall vim/gvim/vim-core but didn't work:(. Has anybody else met this problem? Thank you. |
|
Back to top |
|
|
ffyring n00b
Joined: 16 Aug 2005 Posts: 63 Location: Stockholm
|
Posted: Sun Nov 07, 2010 8:43 pm Post subject: Re: Gvim 7.3 freezes at startup |
|
|
shallpion wrote: | Hi, I find that every time I started gvim-7.3, the window just froze there as a grey box....I tried to reinstall vim/gvim/vim-core but didn't work:(. Has anybody else met this problem? Thank you. |
Do you have a Nvidia card? There has been some issues there.
You can try 'gvim --noplugin' or 'gvim -X'. Please also try 'strace -f -i gvimout.txt gvim' and post the last lines. |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Sun Nov 07, 2010 9:42 pm Post subject: |
|
|
There is a problem with nvidia-drivers-260.19.06 and gvim that will create the symptom you have. Reverting to nvidia-drivers-256.53 solved the problem for me. There is a work-around using gvim -f (--nofork) but this caused a lot of other problems for me. I'm using gvim-7.2.442. I don't know if the conflict also exists with gvim-7.3 but I suspect it does. |
|
Back to top |
|
|
thewtex Tux's lil' helper
Joined: 22 Jun 2007 Posts: 93
|
Posted: Sun Nov 21, 2010 11:52 pm Post subject: |
|
|
Reverting to nvidia-drivers-256.53 worked for me too.
Thanks so much for posting! |
|
Back to top |
|
|
shallpion Guru
Joined: 29 Sep 2008 Posts: 331
|
Posted: Sun Nov 21, 2010 11:54 pm Post subject: |
|
|
I just saw your replies, sorry for that. Thank you for your explanations |
|
Back to top |
|
|
Bircoph Developer
Joined: 27 Jun 2008 Posts: 261 Location: Moscow
|
Posted: Mon Nov 22, 2010 1:01 am Post subject: |
|
|
Thanks a lot, you saved me from gray hair
I tried a lot of thing when noticed that gvim died. But I only managed to find out a strange fact that gvim works well under strace: that is, if you run strace gvim, it will work well even with the latest nvidia driver.
Of course I reverted to 256.53 and all is ok now without any hacks.
BTW, how on the earth did you find out that nvidia driver was guilty? Just good luck or there were some indications?
P.S. Does anybody know how is that possible that application works inside strace, but fails without it? I always thought strace should not alter application behaviour aside from performance. Or is this strace bug?
P.P.S. Oh, I found something about why this happens: https://bugs.gentoo.org/show_bug.cgi?id=336837 _________________ Per aspera ad astra! |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Mon Nov 22, 2010 1:10 am Post subject: |
|
|
"gvim -f" seems to solve the hanging problem with the newer nvidia drivers _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
Bircoph Developer
Joined: 27 Jun 2008 Posts: 261 Location: Moscow
|
Posted: Mon Nov 22, 2010 2:08 pm Post subject: |
|
|
Anon-E-moose wrote: | "gvim -f" seems to solve the hanging problem with the newer nvidia drivers |
This is not solution, but workaround which will hurt performance and broke some gvim plugins.
Moreover, this bug with threading system call interceptions by nvidia driver may hurt any other application and lead to hardly traceable problems. gvim is just an example and not unique case. _________________ Per aspera ad astra! |
|
Back to top |
|
|
poulpillusion n00b
Joined: 23 Nov 2006 Posts: 3
|
Posted: Mon Feb 14, 2011 11:52 pm Post subject: Quick fix |
|
|
Its seems it is fixed in 260.19.29 but on my distrib (Aptosid / Debian Sid) this version is still not available.
As I can't live without VIM and VIMDIFF, here is my quick fix for this problem. You can put this into your .bashrc :
Code: | alias vim="vimproxy"
alias vimdiff="vimdiffproxy"
function vimproxy() {
strace vim $* 2> /dev/null
}
function vimdiffproxy() {
strace vimdiff $* 2> /dev/null
}
|
Now you can use VIM and VIMDIFF again ! |
|
Back to top |
|
|
|