Arandr won't start on Ubuntu Studio 13.04 Beta 2

Bug #1167553 reported by Maik Adamietz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Studio
Fix Released
High
Unassigned
arandr (Debian)
Fix Released
Unknown
arandr (Ubuntu)
Fix Released
High
Unassigned

Bug Description

In the live session and after the actuall installation onto the hard drive i found that Arandr doesn't start up on Ubuntu Studio 13.04 Beta 2 64bit.

When i try to start it from the terminal i get the following messages:

Traceback (most recent call last):
  File "/usr/bin/arandr", line 42, in <module>
    main()
  File "/usr/lib/python2.7/dist-packages/screenlayout/gui.py", line 318, in main
    force_version=options.force_version
  File "/usr/lib/python2.7/dist-packages/screenlayout/gui.py", line 159, in __init__
    self.filetemplate = self.widget.load_from_x()
  File "/usr/lib/python2.7/dist-packages/screenlayout/widget.py", line 93, in load_from_x
    self._xrandr.load_from_x()
  File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 150, in load_from_x
    o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
  File "/usr/lib/python2.7/dist-packages/screenlayout/auxiliary.py", line 53, in __new__
    arg = tuple(arg)
  File "/usr/lib/python2.7/dist-packages/screenlayout/xrandr.py", line 150, in <genexpr>
    o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
ValueError: invalid literal for int() with base 10: '1080i'

Since i can't use arandr it's hard for me to set it up and work with two screen on this Beta 2 release. It worked flawless on Ubuntu Studio 12.04.

description: updated
Revision history for this message
Maik Adamietz (darkera-deactivatedaccount) wrote :

I downloaded the 64bit Daily built today and ran it from a usb stick. Still Arandr won't start, also from the terminal i got the same messages as mentioned previously.

Revision history for this message
Len Ovens (len-ovenwerks) wrote :

Arandr works fine for me using the 32 bit version of Studio 13.04

Revision history for this message
Maik Adamietz (darkera-deactivatedaccount) wrote :

Sure it might work on the 32 bit but this doesn't have anything to do with Arandr not working on the 64bit. So it must be a bug in the 64 bit iso only then.

Revision history for this message
Howard Chan (smartboyhw) wrote :

Hmm my Ubuntu Studio 13.04 (constantly updated) 64-bit install can launch Arandr.

Changed in ubuntustudio:
milestone: none → raring-13.04-final-release
Revision history for this message
Maik Adamietz (darkera-deactivatedaccount) wrote :

After Len pointed me towards running xrandr in the terminal to see if that works i have to confirm that xrandr lists the displays, their info and resolutions.

Thank you Len for pointing me into that direction, i didn't think about that at all and appreciate your help. So with xrandr working something else must be wrong then.

Revision history for this message
Howard Chan (smartboyhw) wrote :

The Arandr package depends on Python 2.7. However it clearly seems that none of us (len-ovenwerks) and me (smartboyhw) has this error in a 13.04 install (32-bit or 64-bit). And clearly, I did start it from a terminal and it successfully started without errors.

I am going to test this in a ISO install.

Revision history for this message
Howard Chan (smartboyhw) wrote :

Hey I discovered something:

On the ARandr homepage (http://christian.amsuess.com/tools/arandr/) it says in the "Bugs and Communication" section:

Versions before 0.1.7 depended on all modes to have a <width>x<height> name (see debian bug #507521); if ARandR does not start up, please install the latest version. (On different bugtrackers, this is called the ValueError / "1080p" / "1024x768i" problem).

I'm targetting this bug to the arandr package and I clearly need to update this then.

Howard Chan (smartboyhw)
Changed in arandr (Ubuntu):
status: New → Confirmed
assignee: nobody → Howard Chan (smartboyhw)
Revision history for this message
Howard Chan (smartboyhw) wrote :

OK I know the problem now: I need to sync from Debian unstable (main) for this. Let me report a bug.

Revision history for this message
Maik Adamietz (darkera-deactivatedaccount) wrote :

Howard Chan, many thanks.

I just tried the 32 bit from live usb session and also there Arandr won't start. Starting it from the terminal results in the same message from the first post.

Since i have a nVidia card and use Nouveau because the nVidia driver just won't install properly, i started to believe it could be a issue with Nouveau maybe.

Revision history for this message
Howard Chan (smartboyhw) wrote :

Maik, no it's not your problem about Nouveau, it is a known upstream bug, and there is a fix version in Debian already. I need to report a bug to sync though, but I'm still not sure whether it needs a Feature Freeze Exception.

Changed in arandr (Debian):
status: Unknown → Fix Released
Revision history for this message
Maik Adamietz (darkera-deactivatedaccount) wrote :

Howard Chan, ok, thanks for explaining and the info.

Revision history for this message
chrysn (chrysn) wrote :

thank you for taking this bug up that quickly. it is indeed independent of 32/64bit, and solely depends on which mode names the graphics driver provides. (which driver is used could depend on the address length, though.)

if this can be fasttracked to the next ubuntu lease, please do so, and let me know if you need help providing a minimal patch.

best regards
chrysn
arandr developer and debian package author

Revision history for this message
Scott Kitterman (kitterman) wrote :

This bug was fixed in the package arandr - 0.1.7.1-1
Sponsored for Howard Chan (smartboyhw)

---------------
arandr (0.1.7.1-1) unstable; urgency=low

  * New upstream release
    - Compatibility with non "<width>x<height" modes (Closes: #507521)
    - Compatibility with xrandr client 1.4.0 ("primary" issue)
    - New translations
  * Note new translations and contributor in copyright file
  * Change Standards-Version to 3.9.4 (no changes)
    - Specify branch of Vcs-git field
  * Add a Debian menu file (Closes: #692176)

 -- Christian M. Amsüss <email address hidden> Mon, 04 Mar 2013 19:11:30 +0100

Changed in arandr (Ubuntu):
status: Confirmed → Fix Released
importance: Undecided → High
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.