← Back to team overview

hybrid-graphics-linux team mailing list archive

Re: HDMI is unreliable with nvidia optimus on asus n53sv

 

Hello,

If I boot my system with a HDMI cable plugged in, the system hangs.
Yours does not. It might be a BIOS setting, or different software.
The only thing active at that time is grub. However your bios might
be initializing HDMI displays?

The xorg package you mention is a fairly high level component common to all drivers.
I downloaded its source and it does not contain the Intel source files found at
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/

What I would really like is the output of the command:

$ dpkg-query -l xserver-xorg-video-intel

unless the names of the low level X11 device driver packages have changed.

My glxgears figures were much lower, about 60 percent of yours, until I removed
the compiz-settings-manager package command ccsm->utility->workarounds->
"force full screen redraws on repaint" setting, in which case my figures
were on or about yours. Because I like my dvd's un-torn, I reset the setting.
(NB I got this tip from somewhere on the net).

Benchmarks from my system.

1) Compiz full screen redraws set.
$ optirun glxgears
1824 frames in 5.0 seconds = 364.391 FPS
1672 frames in 5.0 seconds = 334.263 FPS
1629 frames in 5.0 seconds = 325.675 FPS
1627 frames in 5.0 seconds = 325.275 FPS
1633 frames in 5.0 seconds = 326.568 FPS
1824 frames in 5.0 seconds = 364.265 FPS

$ optirun glxspheres
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 540M/PCIe/SSE2
129.562550 frames/sec - 144.591805 Mpixels/sec
127.488875 frames/sec - 142.277585 Mpixels/sec
131.088293 frames/sec - 146.294535 Mpixels/sec
136.656429 frames/sec - 152.508575 Mpixels/sec
132.135017 frames/sec - 147.462679 Mpixels/sec
131.454289 frames/sec - 146.702986 Mpixels/sec
132.897055 frames/sec - 148.313113 Mpixels/sec
131.981073 frames/sec - 147.290877 Mpixels/sec
134.434321 frames/sec - 150.028702 Mpixels/sec
134.227708 frames/sec - 149.798122 Mpixels/sec

2) Compiz full screen redraws unset.
$ optirun glxgears
2837 frames in 5.0 seconds = 567.161 FPS
2437 frames in 5.0 seconds = 487.216 FPS
2496 frames in 5.0 seconds = 499.056 FPS
2580 frames in 5.0 seconds = 515.894 FPS
2442 frames in 5.0 seconds = 488.062 FPS
2551 frames in 5.0 seconds = 510.015 FPS
2354 frames in 5.0 seconds = 470.678 FPS
2496 frames in 5.0 seconds = 499.110 FPS
2803 frames in 5.0 seconds = 560.427 FPS

$ optirun glxspheres
134.945369 frames/sec - 150.599032 Mpixels/sec
139.204486 frames/sec - 155.352206 Mpixels/sec
138.760033 frames/sec - 154.856196 Mpixels/sec
136.760540 frames/sec - 152.624762 Mpixels/sec
135.488611 frames/sec - 151.205290 Mpixels/sec
139.077046 frames/sec - 155.209983 Mpixels/sec
136.160370 frames/sec - 151.954973 Mpixels/sec
140.133521 frames/sec - 156.389009 Mpixels/sec

Obviously the decrease in performance by applying the setting
is much less with glxspheres than with glxgears, probably because
of the higher framerate. I can live with the
lower framerate, but not the video rips.

I was going to try different versions of the intel X11 driver, but
perhaps the bios might be more productive. If you could find any version
information on that, would be great.

Much thanks,
Peter Garrone

On Sat, Jun 09, 2012 at 01:18:21PM +0200, Michal Biskup wrote:
> Hi,
> 
> I have the following packages installed:
> xorg 1:7.6+4ubuntu3.2
> nvidia-current 280.04-0~nattyubuntu4
> kernel 2.6.38.13.28
> ironhide 1.0-1~nattyubuntu40
> 
> This may be a bit outdated, because I didn't have time to upgrade to
> a newer distro, but it works - maybe later versions introduced a
> regression? I will check this myself soon.
> There is no need to change distribution. Linux Mint is based on
> Ubuntu - my version actually uses Ubuntu Natty as a package base.
> Everything works great when the HDMI is plugged in before booting
> the system. After your post I have attempted to remove and plug in
> again the HDMI cable several times while the system was running -
> and indeed sometimes I have ended up in a situation where I would
> only see a black screen and had to hit the power button.
> 
> glxgears performance for reference, intel is v-synced, so no
> performance comparison between intel and nvidia :-(
> 
> eiver@eiver-N53SV ~ $ glxgears
> Running synchronized to the vertical refresh.  The framerate should be
> approximately the same as the monitor refresh rate.
> 300 frames in 5.0 seconds = 59.990 FPS
> 301 frames in 5.0 seconds = 60.001 FPS
> 
> eiver@eiver-N53SV ~ $ optirun glxgears
>  * Starting Ironhide X server ironhide
> DON Enabling nVidia card succeeded.
> . [ OK ]
> 2428 frames in 5.0 seconds = 485.467 FPS
> 2153 frames in 5.0 seconds = 430.568 FPS
> 2204 frames in 5.0 seconds = 440.681 FPS
> 2316 frames in 5.0 seconds = 463.059 FPS
> 2196 frames in 5.0 seconds = 439.084 FPS
>  * Stopping Ironhide X server ironhide
> _OFF Disabling nVidia card succeeded.
> [ OK ]
> 
> Best Regards,
> 
> Michal Biskup
> eiver@xxxxxxxxx
> 


References