mythfrontend on fglrx: startup crash "floating point exception"

Bug #77291 reported by jerome
12
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: mythtv

I had mythfrontend working fine. I setup my radeon 9550 to be dual display. Worked fine there too. I was able to start it on the left or right (which is a TV) screen.
I then decided to change the resolution of the second screen (TV) down to 640x480 (from 800x600). Mythfrontend now crashes on startup. I tried to change the resolution back to 800x600 but it still crashes.

Revision history for this message
jerome (jeromen) wrote :
Revision history for this message
nes (eric-lesport) wrote :

Just to add that I have the exact same problem using a Radeon X1900 with the 8.32.5 fglrx driver and MythTV 0.20 from the repos.

Revision history for this message
jerome (jeromen) wrote :

Just FYI, for other reasons I have moved that PC back to a Windows platform. I unfortunately won't be in a position to test a solution.
Great looking package while it ran though, maybe I'll be able to go back one day.
Thanks.

Revision history for this message
dishevld (dishevld) wrote :

I also am seeing :"floating point exception" error when attempting to start mythtv in terminal. If I attempt to launch mythtv from the applications menu, nothing visually happens (it just doesn't launch).

To 'correct' the problem, I have to set the resolution for my Radeon 9250 card to the highest setting (1024x768).

What is unfortunate is that this resolution makes Ubuntu look like crap on my TV (though the GUI in mythtv looks fine).

I came across this problem while troubleshooting a problem with the viewable area of LiveTV (image is too large for screen).

I will attach files.

Revision history for this message
dishevld (dishevld) wrote :

Added Note: The previous crash log file was after attempting to run mythtv setup from Terminal. But I get the same crash id I attempt to start mythtv frontend with a lower screen resolution.

Revision history for this message
Secesh (matt-mattchase) wrote :

I have Radeon 9550 with fglrx. Mythtv will not run (frontend or setup) locally. I can run them through SSH with x-forwarding, but locally, I get "Floating point exception" -- at any resolution. I show 1024x768, 800x600, and 640x480. none work.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 77291] Re: mythfrontend startup crash - floating point exception

Try launching mythfrontend like this:
 LD_PRELOAD=/usr/lib/fglrx/libGL.so.1.2.xlibmesa mythfrontend

On 2/19/07, Secesh <email address hidden> wrote:
>
> I have Radeon 9550 with fglrx. Mythtv will not run (frontend or setup)
> locally. I can run them through SSH with x-forwarding, but locally, I
> get "Floating point exception" -- at any resolution. I show 1024x768,
> 800x600, and 640x480. none work.
>
> --
> mythfrontend startup crash - floating point exception
> https://launchpad.net/bugs/77291
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
dgoodrum (dgoodrum) wrote : Re: mythfrontend startup crash - floating point exception

I also encounter this problem. I have a Radeon X1300. If I restore from a backup, it works again. I tried the launching with the command suggested by Mario, but it still gives me a floating point exception.

I have attached the crash report.

Kees Cook (kees)
Changed in mythtv:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Revision history for this message
Alex Chiang (achiang) wrote :

This looks like it's due to https://launchpad.net/ubuntu/+source/qt-x11-free/+bug/81686 .

You can verify by running 'xdpyinfo | grep resolution'. If you get some huge crazy numbers, then that's probably it.

The workaround is to manually set the DPI information. I did this in my xorg.conf file in the Monitor section. You need to add the following line:

        DisplaySize xxx yyy

To calculate xxx, multiply the horizontal resolution of your display by 25.4 and then divide that answer by 96.

To calculate yyy, do the same with your vertical resolution.

For my 800x600 setup, I used the following line:

        DisplaySize 211 158

Restart X and then rerun xdpyinfo | grep resolution to verify that you successfully changed the DPI setting. I got mythtv working again using this.

Changed in mythtv:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.