Re: is 4k desktop possible on freebsd-12?

2018-10-16 Thread tech lists
On 10/10/2018 11:17, tech-lists wrote:
> I'm trying to get xorg to display 4k. The context is:
> 
> FreeBSD 12.0-ALPHA8 r339084 amd64
> ports r481640
> AMD RX580 GPU
> Asus X99 Extreme3 mobo
> cpu: intel e5-2699v4
> 48GB RAM
> Samsung UE48JU6410U monitor connected via HDMI
> 
> drm-next-kmod-4.11.g20180822

Hi, just to follow up to this,

I'd run out of time to work on this so installed latest ubuntu desktop,
then ran xrandr and it showed 4k as the top resolution. I didn't have to
make any modifications:

[snip]
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected primary 1920x1080+0+0 (normal left inverted right x
axis y axis) 1872mm x 1053mm
   3840x2160 30.00 +  25.0024.0029.9723.98
   4096x2160 30.0025.0024.0029.9723.98
[/snip]

and then, additionally, installed boinc-client-opencl and boinc was able
to see the GPUand use it for crunching.

On FreeBSD I couldn't see a way of making the boinc client OpenCL-aware.

On the plus side, FreeBSD was much more stable on this hardware than
Ubuntu. Had to disable hyperthreading in the BIOS to stop it crashing
every few hrs on Ubuntu.

It would be interesting to know, if possible, what Ubuntu is doing that
FreeBSD isn't on this hardware.

thanks to all who replied/tried to help,
-- 
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-11 Thread tech-lists

On 11/10/2018 10:18, Johannes Lundberg wrote:

Do you have anything configured in /etc/X11/xorg.conf?


no. But there's a section in the handbook I missed; am reading it now

thanks,

--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-11 Thread Johannes Lundberg
On Thu, Oct 11, 2018 at 9:58 AM tech-lists  wrote:

> On 10/10/2018 15:24, Slawa Olhovchenkov wrote:
> > You need check HDMI 2.0 available on video card and monitor.
> > For HDMI 1.4 you need check of support both card and monitor support
> 4K@24.
>
> Yes, the card, cable and monitor are all capable of 4k@30fps. The cable
> and monitor were tested by connecting a laptop running linux mint. This
> gave a 4k display @ 30fps. So for some reason, the card (AMD RX580)
> isn't sending 4k.
>
> Is there a resource explaining how/can anyone tell me how to make the
> card send 4k? The xorg section of the handbook unfortunately hasn't been
> much help.
>
>
Do you have anything configured in /etc/X11/xorg.conf? If so, remove the
file and let X auto configure.
Otherwise try switching DDX driver, modesetting or amdgpu

/etc/X11/xorg.conf:

Section "Device"
Driver  "amdgpu"
EndSection

VS

Section "Device"
Driver  "modesetting"
EndSection


thanks,
> --
> J.
> ___
> freebsd-...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-11 Thread tech-lists

On 10/10/2018 15:24, Slawa Olhovchenkov wrote:

You need check HDMI 2.0 available on video card and monitor.
For HDMI 1.4 you need check of support both card and monitor support 4K@24.


Yes, the card, cable and monitor are all capable of 4k@30fps. The cable 
and monitor were tested by connecting a laptop running linux mint. This 
gave a 4k display @ 30fps. So for some reason, the card (AMD RX580) 
isn't sending 4k.


Is there a resource explaining how/can anyone tell me how to make the 
card send 4k? The xorg section of the handbook unfortunately hasn't been 
much help.


thanks,
--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread cpghost
On 10/10/18 4:24 PM, Slawa Olhovchenkov wrote:
> On Wed, Oct 10, 2018 at 02:57:39PM +0100, tech-lists wrote:
> 
>> On 10/10/2018 13:45, Slawa Olhovchenkov wrote:
>>> for 4K@60FPS you need DP connection.
>>
>> problem is monitor only has HDMI. I'm not sure it'll 4k@30fps is an 
>> acceptable mode for it; need to check
> 
> You need check HDMI 2.0 available on video card and monitor.
> For HDMI 1.4 you need check of support both card and monitor support 4K@24.

And you need a high quality HDMI 2.0 cable which is not too long.
All too often, people can't get 4K on HDMI because of bad cables.

-cpghost.

> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 




smime.p7s
Description: S/MIME Cryptographic Signature


Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread Slawa Olhovchenkov
On Wed, Oct 10, 2018 at 02:57:39PM +0100, tech-lists wrote:

> On 10/10/2018 13:45, Slawa Olhovchenkov wrote:
> > for 4K@60FPS you need DP connection.
> 
> problem is monitor only has HDMI. I'm not sure it'll 4k@30fps is an 
> acceptable mode for it; need to check

You need check HDMI 2.0 available on video card and monitor.
For HDMI 1.4 you need check of support both card and monitor support 4K@24.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread tech-lists

On 10/10/2018 13:45, Slawa Olhovchenkov wrote:

for 4K@60FPS you need DP connection.


problem is monitor only has HDMI. I'm not sure it'll 4k@30fps is an 
acceptable mode for it; need to check


--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread tech-lists

On 10/10/2018 14:00, Johannes Lundberg wrote:

Hi

What is the actual problem? Do you get any 4K modes listed when you run 
'xrandr' ?


The problem is, I'd like 4k output but it seems I'm not getting it even 
though the card and monitor are both capable of it. Problem also is my 
lack of expertise in this area.


xrandr output:

Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected primary (normal left inverted right x axis y 
axis)

DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 connected 1920x1080+0+0 (normal left inverted right x axis y 
axis) 1872mm x 1053mm

1920x1080 60.00*
1680x1050 59.88
1600x900 60.00
1280x1024 75.02 60.02
1440x900 59.90
1280x800 59.91
1152x864 75.00
1280x720 60.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32
640x480 75.00 72.81 66.67 59.94
720x400 70.08
DVI-D-0 disconnected (normal left inverted right x axis y axis)
$

I've been running 4K@60FPS on an external display for a long time on my 
Intel laptops. However, that requires DP output. Your HDMI output is 
most likely limited to 30 FPS (but should still display 4K resolution...).


Would that work at 30 fps given that Xorg.0.log shows the following:

[  3474.097] (II) AMDGPU(0): Printing DDC gathered Modelines:
[  3474.098] (II) AMDGPU(0): Modeline "3840x2160"x0.0  297.00  3840 4016
4104 4400  2160 2168 2178 2250 +hsync +vsync (67.5 kHz eP)

[  3474.211] (II) AMDGPU(0): Printing DDC gathered Modelines:
[  3474.211] (II) AMDGPU(0): Modeline "3840x2160"x0.0  297.00  3840 4016
4104 4400  2160 2168 2178 2250 +hsync +vsync (67.5 kHz eP)

ie, 4k @67.5kHz card output if I'm understanding correctly.

thanks,
--
J.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread Johannes Lundberg
On Wed, Oct 10, 2018 at 11:18 AM tech-lists  wrote:

> Hi,
>
> I'm trying to get xorg to display 4k. The context is:
>
> FreeBSD 12.0-ALPHA8 r339084 amd64
> ports r481640
> AMD RX580 GPU
> Asus X99 Extreme3 mobo
> cpu: intel e5-2699v4
> 48GB RAM
> Samsung UE48JU6410U monitor connected via HDMI
>
> drm-next-kmod-4.11.g20180822
> libdrm-2.4.93,1
> xf86-video-amdgpu-18.1.0
> xf86-video-ati-18.1.0,1
> xf86-video-openchrome-0.6.0_3
> xf86-video-scfb-0.0.4_7
> xf86-video-vesa-2.4.0_2
> linux_base-c7-7.4.1708_6 and all its xorg/mesa libs
>
> /var/log/Xorg.0.log has this:
>
> [  3470.966] (II) AMDGPU(0): Printing probed modes for output HDMI-A-0
> [  3470.966] (II) AMDGPU(0): Modeline "1920x1080"x60.0  148.50  1920
> 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
> [  3470.966] (II) AMDGPU(0): Modeline "1680x1050"x59.9  119.00  1680
> 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz e)
> [  3470.966] (II) AMDGPU(0): Modeline "1600x900"x60.0  108.00  1600 1624
> 1704 1800  900 901 904 1000 +hsync +vsync (60.0 kHz e)
>
> but further along we have this:
>
> [  3474.097] (II) AMDGPU(0): EDID vendor "SAM", prod id 3140
> [  3474.097] (II) AMDGPU(0): Using EDID range info for horizontal sync
> [  3474.097] (II) AMDGPU(0): Using EDID range info for vertical refresh
> [  3474.097] (II) AMDGPU(0): Printing DDC gathered Modelines:
> [  3474.098] (II) AMDGPU(0): Modeline "3840x2160"x0.0  297.00  3840 4016
> 4104 4400  2160 2168 2178 2250 +hsync +vsync (67.5 kHz eP)
> [  3474.098] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008
> 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
> [  3474.098] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968
> 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
>
> and
>
> [  3474.211] (II) AMDGPU(0): Printing DDC gathered Modelines:
> [  3474.211] (II) AMDGPU(0): Modeline "3840x2160"x0.0  297.00  3840 4016
> 4104 4400  2160 2168 2178 2250 +hsync +vsync (67.5 kHz eP)
> [  3474.211] (II) AMDGPU(0): Modeline "1920x1080"x0.0  148.50  1920 2008
> 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
> [  3474.211] (II) AMDGPU(0): Modeline "800x600"x0.0   40.00  800 840 968
> 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
>
> so would this indicate the card is 4k capable but the HDMI port on the
> card is not? Or the port on the monitor? Or something else?
>
>
Hi

What is the actual problem? Do you get any 4K modes listed when you run
'xrandr' ?
I've been running 4K@60FPS on an external display for a long time on my
Intel laptops. However, that requires DP output. Your HDMI output is most
likely limited to 30 FPS (but should still display 4K resolution...).

thanks,
>
> --
> J.
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: is 4k desktop possible on freebsd-12?

2018-10-10 Thread Slawa Olhovchenkov
On Wed, Oct 10, 2018 at 11:17:03AM +0100, tech-lists wrote:

> 
> so would this indicate the card is 4k capable but the HDMI port on the 
> card is not? Or the port on the monitor? Or something else?

for 4K@60FPS you need DP connection.
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"