Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Tim via users
On Sat, 2021-06-12 at 11:59 +1000, Stephen Morris wrote:
> It's High Dynamic Range, its a methodology for improving the colour 
> range, brightness range and detail. I think it is the video
> equivalent of HDR for photography.

With photography, it's generally the combination of two photos one
where the exposure is made to favour dark end of the scale, the other
where the exposure is made to favour the bright end of the scale, and
they're combined together, giving you an image that doesn't have blown
out highlights and crushed blacks.

With video it could simply be that there's more individual steps
between black and full white (mimicing the above photography
technique), but often it's engineered to simply add brighter and
brighter steps above the original video range.  Which seems to be how
my bluray player and TV make use of it.

You see that on TV sets where they can be used in full daylight, and
you can almost feel the picture across the room.  By the time you've
turned the contrast down to acceptable levels to watch a movie or tv
show, there isn't much advantage in the scheme, the way of lot of
things are filmed.  And they really do need to be produced with HDR in
mind, if they're to take proper advantage of it (i.e. every shot is not
exposed for full contrast, only really bright objects should hit peak
intensity).  A lot of the more recent British TV programs are often
filmed that way, the ones trying for a cinematic look.  Any scene
that's not supposed to be a bright summer's day is often only half
contrast.

With computing, not only would you need to tell the graphic system to
work in that mode, you'd also need programs with the ability (e.g. your
media player, and other programs that display things).
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Samuel Sieb

On 2021-06-11 6:46 p.m., Stephen Morris wrote:
Below are the modelines that I had to add into the config over and above 
what xrandr provided as the supported resolutions, coincidentally the 
supported resolutions that xrandr displayed also happened to match the 
resolutions that Wayland uses (I've forgotten the name of the Wayland 
location I would have to look it up on the net again. As a side issue, 
when I was looking for info on how to get KDE to auto-scale like Gnome 
does, I found a bug report that someone raised for scaling issues in F34 
and I thought they were saying that the Wayland support in KDE was not 
stable, is that still the case?):


# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 
2237 -hsync +vsync

# 3840x2075 59.99 Hz (CVT) hsync: 128.92 kHz; pclk: 682.75 MHz
    Modeline "3840x2075_60.00"  682.75  3840 4152 4568 5296  2075 2078 
2088 2149 -hsync +vsync

# 3840x2071 59.99 Hz (CVT) hsync: 128.68 kHz; pclk: 681.50 MHz
Modeline "3840x2071_60.00"  681.50  3840 4152 4568 5296  2071 2074 2084 
2145 -hsync +vsync

# 3840x2069 59.98 Hz (CVT) hsync: 128.54 kHz; pclk: 680.75 MHz
Modeline "3840x2069_60.00"  680.75  3840 4152 4568 5296  2069 2072 2082 
2143 -hsync +vsync


I use kvm for my VMs and this is what I get with a default workstation 
install.  I'm using the virtio display option in qemu.  I've attached a 
screenshot of the default list of resolutions that Gnome has.  I don't 
have a 4K display, but all the standard resolutions are included anyway. 
 I can pick the display size and the VM resizes, with scrollbars if 
necessary.


But if I turn on the "auto-resize VM with window" option, then whenever 
I resize the VM window or go full-screen, Gnome will switch to the 
resolution to fit it exactly without scrollbars.  This works for both 
the virtio and QXL display options, but not VGA.  So the problem is just 
with vmware and virtualbox not properly communicating the screen size 
changes to the VM.


Default window size:
# monitor-get-edid | monitor-parse-edid
Name: QEMU Monitor
EISA ID: RHT1234
EDID version: 1.4
EDID extension blocks: 1
Screen size: 26.0 cm x 19.5 cm (12.80 inches, aspect ratio 4/3 = 1.33)
Gamma: 2.2
Digital signal
Max video bandwidth: 1200 MHz

HorizSync 30-160
VertRefresh 50-125

	# Monitor preferred modeline (75.0 Hz vsync, 59.5 kHz hsync, ratio 4/3, 
100 dpi)

ModeLine "1024x768" 82.29 1024 1280 1310 1382 768 771 774 794 -hsync 
-vsync

	# Monitor supported CEA modeline (50.0 Hz vsync, 56.2 kHz hsync, ratio 
16/9, 187x140 dpi) (bad ratio)
	ModeLine "1920x1080" 148.5 1920 2448 2492 2640 1080 1084 1089 1125 
+hsync +vsync



Maximized window:
	# Monitor preferred modeline (75.0 Hz vsync, 82.4 kHz hsync, ratio 
1.81, 101 dpi)
	ModeLine "1920x1062" 213.64 1920 2400 2457 2592 1062 1067 1072 1099 
-hsync -vsync



Fullscreen:
	# Monitor preferred modeline (75.0 Hz vsync, 93.1 kHz hsync, ratio 
16/10, 101 dpi)
	ModeLine "1920x1200" 241.44 1920 2400 2457 2592 1200 1206 1212 1242 
-hsync -vsync
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Long wait for start job

2021-06-11 Thread Joe Zeff

On 6/11/21 8:16 PM, Frank McCormick wrote:


The boot is interrupted for a longtime (2 minutes) while
a start job runs for wait for udev to complete initialization.

The timeout is three minutes and it almost reaches that point
before continuing.


Run systemd-analyze blame and take a look at the first items listed.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Long wait for start job

2021-06-11 Thread Frank McCormick
Just did a new installation of the basic fedora 34 desktop the one which 
provides a bunch of basic window managers using a netinstall iso.


The boot is interrupted for a longtime (2 minutes) while
a start job runs for wait for udev to complete initialization.

The timeout is three minutes and it almost reaches that point
before continuing.

I have looked through
the syslogs but the only obvious problem is a core dump
by alsa control which I don't understand because prior to this running 
Fedora 33 nothing similar happened.


Need some advice on how to debug this.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Stephen Morris

On 11/6/21 21:48, Tim via users wrote:

On Fri, 2021-06-11 at 20:08 +1000, Stephen Morris wrote:

I don't know whether its a design of the monitor, but under windows,
windows does not provide HDR capability natively, I have to install
a monitor specific driver supplied by the vendor, which unfortunately
they don't supply for linux.

What do you mean by HDR?  High Display Resolutions, High Dynamic Range?

For what it's worth, most manufacturers don't supply any drivers for
the hardware that Linux runs.  Other people have figured them out.
It's High Dynamic Range, its a methodology for improving the colour 
range, brightness range and detail. I think it is the video equivalent 
of HDR for photography.
Windows would not say the Monitor was HDR compatible and hence provide 
configuring of it in its monitor settings until I installed the BENQ 
driver for this monitor.


regards,
Steve
  

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Stephen Morris

On 11/6/21 20:25, Ed Greshko wrote:

On 11/06/2021 18:08, Stephen Morris wrote:
My issue with the system settings under both gnome and kde, is I am 
using a 4K monitor and the system settings don't offer a 4K 
resolution, even if the vm is running fullscreen, and also neither 
does xrandr specify that a 4K resolution is available. The system 
settings only show that a 4K resolution is accessible when I put in 
the relevant modeline. The system settings also only show a 
resolution of 3840x2075 which is the maximum resolution under gnome 
if I run the vm windowed, or 3840x2069 which is the same maximum 
resolution under KDE (I'm not sure 
yet why there is this difference), if I put in modelines.


Are you running KDE and GNOME from the same VM image?  Meaning you're 
running KDE with gdm?
I'm running KDE and GNOME from the same vm image and using logout, 
restart or cold start to switch between the two. I'm using vmware player 
at the moment, but I also had the same issues when running under 
virtualbox. I was using virtualbox because it supports UEFI whereas 
vmware player doesn't, but I stopped using it a while ago when an 
antivirus program broke the virtualbox program because it removed what 
it considered to be malware.


Sometimes the below works, and sometimes it doesn't.  With nVidia 
drivers it fails, with nouveau it works.
It looks like it doesn't work for me with the vmware driver, I get the 
following issues:

[root@localhost ~]# sudo su -
[root@localhost ~]# monitor-get-edid
mmap /dev/mem: Permission denied

I tried putting an acl on /dev/mem to give myself rwx access but that 
made no difference to the above issue.


Below are the modelines that I had to add into the config over and above 
what xrandr provided as the supported resolutions, coincidentally the 
supported resolutions that xrandr displayed also happened to match the 
resolutions that Wayland uses (I've forgotten the name of the Wayland 
location I would have to look it up on the net again. As a side issue, 
when I was looking for info on how to get KDE to auto-scale like Gnome 
does, I found a bug report that someone raised for scaling issues in F34 
and I thought they were saying that the Wayland support in KDE was not 
stable, is that still the case?):


# 3840x2160 59.98 Hz (CVT 8.29M9) hsync: 134.18 kHz; pclk: 712.75 MHz
Modeline "3840x2160_60.00"  712.75  3840 4160 4576 5312  2160 2163 2168 
2237 -hsync +vsync

# 3840x2075 59.99 Hz (CVT) hsync: 128.92 kHz; pclk: 682.75 MHz
   Modeline "3840x2075_60.00"  682.75  3840 4152 4568 5296  2075 2078 
2088 2149 -hsync +vsync

# 3840x2071 59.99 Hz (CVT) hsync: 128.68 kHz; pclk: 681.50 MHz
Modeline "3840x2071_60.00"  681.50  3840 4152 4568 5296  2071 2074 2084 
2145 -hsync +vsync

# 3840x2069 59.98 Hz (CVT) hsync: 128.54 kHz; pclk: 680.75 MHz
Modeline "3840x2069_60.00"  680.75  3840 4152 4568 5296  2069 2072 2082 
2143 -hsync +vsync



The 3840x2075 is the resolution that Gnome auto-scales to when I have 
the vm window maximised to 4K. The 3840x2160 is the 4K resolution I need 
for Xorg to scale to 4K when I am running the vm fullscreen. The 
3840x2071 was the modeline I was playing around with the get KDE to 
scale to the maximum window size without the horizontal and vertical 
scroll bars and 3480x2069 is maximum resolution I could get KDE to scale 
to without producing the scrollbars, and as I said earlier, I don't know 
why KDE doesn't work without scrollbars at the 3840x2071 resolution that 
Gnome works with.


regards,
Steve



Can you install monitor-edid.  Then do something like I've done on 
laptop.


[root@acer ~]# monitor-get-edid | monitor-parse-edid
EISA ID: CMO1552
EDID version: 1.3
EDID extension blocks: 0
Screen size: 33.1 cm x 20.7 cm (15.37 inches, aspect ratio 16/10 = 1.60)
Gamma: 2.2
Digital signal

    # Monitor preferred modeline (59.9 Hz vsync, 49.3 kHz hsync, 
ratio 16/10, 98 dpi)
    ModeLine "1280x800" 71 1280 1328 1360 1440 800 803 809 823 
-hsync -vsync




___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Tim via users
On Fri, 2021-06-11 at 20:08 +1000, Stephen Morris wrote:
> I don't know whether its a design of the monitor, but under windows, 
> windows does not provide HDR capability natively, I have to install
> a monitor specific driver supplied by the vendor, which unfortunately
> they don't supply for linux.

What do you mean by HDR?  High Display Resolutions, High Dynamic Range?

For what it's worth, most manufacturers don't supply any drivers for
the hardware that Linux runs.  Other people have figured them out.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Ed Greshko

On 11/06/2021 18:08, Stephen Morris wrote:

My issue with the system settings under both gnome and kde, is I am using a 4K 
monitor and the system settings don't offer a 4K resolution, even if the vm is 
running fullscreen, and also neither does xrandr specify that a 4K resolution 
is available. The system settings only show that a 4K resolution is accessible 
when I put in the relevant modeline. The system settings also only show a 
resolution of 3840x2075 which is the maximum resolution under gnome if I run 
the vm windowed, or 3840x2069 which is the same maximum resolution under KDE 
(I'm not sure yet why there is this difference), if I put in modelines.


Are you running KDE and GNOME from the same VM image?  Meaning you're running 
KDE with gdm?

Sometimes the below works, and sometimes it doesn't.  With nVidia drivers it 
fails, with nouveau it works.

Can you install monitor-edid.  Then do something like I've done on laptop.

[root@acer ~]# monitor-get-edid | monitor-parse-edid
EISA ID: CMO1552
EDID version: 1.3
EDID extension blocks: 0
Screen size: 33.1 cm x 20.7 cm (15.37 inches, aspect ratio 16/10 = 1.60)
Gamma: 2.2
Digital signal

    # Monitor preferred modeline (59.9 Hz vsync, 49.3 kHz hsync, ratio 
16/10, 98 dpi)
    ModeLine "1280x800" 71 1280 1328 1360 1440 800 803 809 823 -hsync -vsync


--
Remind me to ignore comments which aren't germane to the thread.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Can Someone Tell me What the Below Messages Mean

2021-06-11 Thread Stephen Morris

On 11/6/21 10:04, Tom Horsley wrote:

On Thu, 10 Jun 2021 16:53:11 -0700
Samuel Sieb wrote:


Those are just info messages from scanning the PCI bus.  If you aren't
having any problems, you can ignore them.

Yep, the system log exists to have a place to look if you
notice problems. If you don't notice problems, you can mostly
ignore the logs.
Thankyou. I was just concerned that it might be indicating potentially 
problems with the onboard raid controllers or the raid array.


regards,
Steve


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Xorg Scaling Issues (Solved)

2021-06-11 Thread Stephen Morris

On 11/6/21 15:04, Ed Greshko wrote:

On 11/06/2021 12:46, Tim via users wrote:

On Fri, 2021-06-11 at 09:35 +1000, Stephen Morris wrote:

I am using a 4K monitor that has HDR capabilities which, like
windows, I won't get that functionality in linux without a monitor
specific driver, which doesn't exist for linux.

Is it really a case of needing a "driver," or is it just that we need a
way to supply new EDID info to the system?  There are EDID editors.

In most cases, you just need to set information like pixel dimensions,
screen dimensions, and clock rate, to get the graphics chipset to
output the right things.  It's not like you're also remote controlling
the buttons that a monitor might have (well, not usually).
I don't know whether its a design of the monitor, but under windows, 
windows does not provide HDR capability natively, I have to install a 
monitor specific driver supplied by the vendor, which unfortunately they 
don't supply for linux.


Or, since he is using a VM, could it be the same behavior I see in my 
qemu VM's?


If I run a KDE or GNOME desktop with gdm as my display manager the 
display will resize to whatever

the VM's window size is.
I'm using gdm and with Gnome under xorg the display scales when I expand 
the vm window dimensions, but if I start the vm with the window 
maximised the display does not scale. I have to unmaximize the window 
and then remaximize it for the display to scale. With kde it doesn't 
scale at all unless I put modelines in.


If I use sddm, then it doesn't.  And I have to pick the resolution 
from what the system-settings has
determined to be available.  I've not gone so far as to try adding 
modlines since for what I'm doing

with my VMs the available resolutons are just fine.
My issue with the system settings under both gnome and kde, is I am 
using a 4K monitor and the system settings don't offer a 4K resolution, 
even if the vm is running fullscreen, and also neither does xrandr 
specify that a 4K resolution is available. The system settings only show 
that a 4K resolution is accessible when I put in the relevant modeline. 
The system settings also only show a resolution of 3840x2075 which is 
the maximum resolution under gnome if I run the vm windowed, or 
3840x2069 which is the same maximum resolution under KDE (I'm not sure 
yet why there is this difference), if I put in modelines.


regards,
Steve


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure