Opera & Flash & Nvidia-driver -> system freezes

Hello all, I have this little problem when playing Youtube videos with Opera and nvidia-driver installed. The system freezes and I have to hard reset the machine.

$ uname -a
Code:
FreeBSD asuka.familyworks 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:51:43 UTC 2011     
root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Before the problem arose, which means before using the nvidia-driver, the system was well configured and working:


Well, everything worked and I could play Youtube (flash) videos.

However I thought that the graphics card was working at higher temperature because the air flow was stronger than usual in 8.2 with nvidia-driver installed. So I installed nvidia-driver and nvidia-xconfig from packages and loaded the nvidia.ko module as well as generating an xorg.conf from nvidia-xconfig.

Outcome:
  1. Temperature & airflow decreased (checked by nvidia-settings)
  2. Freezes when trying to play flash videos in Opera and Linux-Opera -> hard reset by button.

Any advice to make nvidia-driver work properly with flash? Now I am using "nv" driver and it works.
 
Ok, removed Linux support option an compiled. Deinstalled previous version and installed new.

Kldload fails:

# kldload nvidia
Code:
kldload: can't load nvidia: Exec format error

Update: the same error when compiling with default options (Linux support enabled). Downloaded package kldloads, but freezes system when running flash apps. Port compiled package does not get plugged in.
 
Martillo1 said:
Ok, removed Linux suport option an compiled. Deinstalled previous version and installed new.

Kldload fails:

# kldload nvidia
Code:
kldload: can't load nvidia: Exec format error

If I had to guess, I'd say that your kernel sources don't match your running kernel.

Adam
 
The kernel is the GENERIC one in the iso when I installed 9.0-RC1. I am tracking current sources.

Maybe I need to track RELENG_9?

Update: I backed up the CURRENT source tree, and I am synchronizing 9-STABLE to give it a try.

Update2: Solved. Unticking the "Linux Support" did the trick, and compilation went ok when synching the right source.
 
Generally, when a system locks up while using the nvidia driver, I'm inclined to blame that driver. Unfortunately, because it's closed source, it's almost impossible to determine exactly what is going wrong.
 
Martillo1 said:
Hello all, I have this little problem when playing Youtube videos with Opera and nvidia-driver installed. The system freezes and I have to hard reset the machine.

I was hit by a similar problem. Freeze with flash or while watching a video (mplayer).
A work-around here was to disable the XV extension in Xorg and the box was stable with this. I've also disabled powerd but I'm not sure if this helps or not (few people have reported problems with it).

xorg.conf:
Code:
Section "Module"
...
#   Load           "extmod"
    SubSection  "extmod"
       Option "omit xvideo"
       Option "omit xvideo-motioncompensation"
    EndSubSection
EndSection

I've re-enabled XV recently and that looks fixed, don't know why.
(8.2 STABLE/i386)

HTH, regards.
 
Back
Top