Elive

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Installed Mode
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version 3.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Elive
Opened by ChrisPHL - 2020-12-08

FS#754 - elive-multiscreens | "Screen settings" not starting properly .. Overscan support missing.

I’ve just installed Elive 3.0.6 on an old Mac Mini (Core2Duo).
Since I want to make use of it as a media center, I connected to my TV. Because of the TV’s overscan function I cannot see the edges of the screen. :-/ When trying to start “Screen settings” I get two dialogs before nothing further happens:
1st:
Information
Use the next tool to configure your screens. If you want that Elive use it when starting the system you need to save the configuration.

There’s just an OK button, I click it:

2nd:
Question
You don’t have saved any configuration, so Elive cannot use it to remember your screens setup. Do you want to try again? You need to select the option to ‘Save As’ and type a desired name in the default location.

I can click No|Yes but whatever I do that’s it. No Screen setup window pops up.

When I manually start “Screen settings” from command line using “elive-multiscreens” I get the following python stack trace after clicking OK on the first dialog:

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’

I’m able to circumvent the error by exchanging line 150 of with these lines:

              try:
                  o.modes.append(Size(int(a) for a in d.strip().split(" ")[0].split("x")))
              except ValueError as e:
                  print("Error on parsing screen sizes.", e)

After that the “Screen Layout Editor” opens and shows my display configuration.
Unfortunately there’s no easy way to just circumvent the TV’s overscan.

Please let me know if you need any further information on that issue.

Project Manager
You don’t have saved any configuration, so Elive cannot use it to remember your screens setup. Do you want to try again? You need to select the option to ‘Save As’ and type a desired name in the default location.

Hm, that's supposed to come after the screen setup.

I get the following python stack trace after clicking OK on the first dialog:

That would be the reason the screen setup doesn't popup. It crashes.

Unfortunately there’s no easy way to just circumvent the TV’s overscan.

Let me check the source code, i'll see if it has anything like it.

Project Manager

I can't find anything in the source code; does this link help you?

https://askubuntu.com/questions/508358/overscanning-picture-problem-using-hdmi-with-intel-graphics

I do think that over/underscan should be added to Arandr (the screen setup program we use), or to use another.

I found that page before but had no luck to get the correct setting.
On my elive system the xrandr does not support "underscan on" and –set "underscan hborder" 40 or the like… The option "–transform" is supported and I'm able to change the screens view. But as I do not understand usage of transformation matrix I'm not able to set some screen fitting settings. :-/

Project Manager

For future reference, more people see bug reports when it's posted to the Forums: h t t p s :// forum . elivelinux . org (turn that into a real link)

Project Manager
On my elive system the xrandr does not support "underscan on" and –set "underscan hborder" 40 or the like… The option "–transform" is supported and I'm able to change the screens view. But as I do not understand usage of transformation matrix I'm not able to set some screen fitting settings. :-/

Hm…I'm not sure. Try psoting it on the forum, or if you don't want to I can ask on the forum.

I took the IRC chat to get help and they told me to open an issue… So I did. ;-)

Project Manager

Yep, opening an issue is a good idea.

I do suggest posting it on the forum. Not sure why that isn't the first step recommended, because this page has very very very low activity. I never check it myself.

Date User Effort (H:M) Comment
watch my effort tracking timers

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing