Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
neue Grafikkarte neuer Monitor
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Fri Oct 30, 2020 11:03 am    Post subject: neue Grafikkarte neuer Monitor Reply with quote

Hallo, ich habe aufgerüstet
- ASUS TUF X3 Nvidia GeForce GTX 1660 Super 6GB Advanced Edition Gaming Grafikkarte (GDDR6 Speicher, PCIe 3.0, 1x HDMI 2.0b, 1x DVI, 1x DisplayPort 1.4, TUF 3-GTX1660S-A6G-GAMING)
- Samsung U28E590D Monitor (HDMI, 28 Zoll, 71,12cm, 1ms Reaktionszeit, 60Hz Aktualisierungsrate, 3840 x 2160 Pixel)
Jetzt passt meine Konfiguration nicht mehr. Eine /etc/X11/xorg.conf nutze ich nicht. Die 20-nvidia.conf
Code:
Section "Device"
        Identifier      "nvidia"
        Driver          "nvidia"
        VendorName      "NVIDIA Corporation"
        BoardName       "GeForce GTX 560 Ti"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib64/extensions/nvidia/"
EndSection
Würde ich ersetzten
Code:
Section "Device"
   Identifier  "nvidia"
   Driver      "nvidia"
EndSection
Die 30-monitor.conf
Code:
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BenQ FP202W"
    HorizSync       30.0 - 84.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
    Option         "PreferredMode" "1680x1050"
EndSection
würde ich ersatzlos löschen. Die 50-nvidia-drm-outputclass.conf
Code:
Section "OutputClass"
    Identifier     "nvidia"
    MatchDriver    "nvidia-drm"
    Driver         "nvidia"
EndSection
würde ich so lassen. Kann man das anders/besser machen?
Ich habe jetzt noch die 20opengl.conf
Code:
Section "Files"
        ModulePath "/usr/lib64/opengl/nvidia"
        ModulePath "/usr/lib64/xorg/modules"
EndSection
gelöscht, weil es den Pfad
Code:
/usr/lib64/opengl/nvidia
nicht mehr gibt. Allerdings werden alle gtk Schriftarten in kde Plasma enorm klein dargestellt. Der Desktop arbeitet gefühlt nicht so geschmeidig wie unter Windows 10, der mit der alten GraKa/ Monitor Kombination. Vielleicht liegen irgendwo alte Konfigurationsdateien oder ich muss aktuelle anpassen...?
Code:
emerge --info
Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.3.0, glibc-2.31-r6, 5.7.11-gentoo x86_64)
=================================================================
System uname: Linux-5.7.11-gentoo-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-gentoo-2.7
KiB Mem:    32858188 total,  24027500 free
KiB Swap:   34529276 total,  34529276 free
Timestamp of repository gentoo: Fri, 30 Oct 2020 10:00:01 +0000
Head commit of repository gentoo: 8f5e71a8dd2195f4edb2d5507db28f674b2b81d4
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.5::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r1::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r6::gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA genymotion PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/cxoffice/etc/cxoffice.conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver2 -pipe"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
USE="64bit X a52 aac aalib acl acpi activities alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdparanoia cdr cdrom cli crypt cups dbus declarative dga dhcp dri dts dv dvbpsi dvd dvdr emboss encode equalizer exif ffmpeg flac fortran gdbm gif gpm gtk gui https iconv icu ios ipv6 joystick jpeg jpeg2k kde kipi kwallet lcms libglvnd libnotify libsamplerate libtirpc linguas_de linguas_de_DE mad matroska mjpeg mmxext mng mobi mp3 mp4 mpeg mtp multilib musicbrainz ncurses nls nptl nvidia ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt4 qt5 quicktime raw readline rtc scanner sdl seccomp semantic-desktop shorten socks5 spell split-usr ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upnp upower usb vcd vdpau vorbis vulkan widgets wifi wxwidgets x264 xattr xcb xinerama xml xv xvid xvmc zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump karbon krita words sheets stage" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 pentax polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sip sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11 tp6801" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-32 efi-64 pc" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="de de-DE" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby27" SANE_BACKENDS="canon pixma" USERLAND="GNU" VIDEO_CARDS="vesa nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Code:
kde-plasma 5.20.2
kde-frameworks-5.75.0
kde-apps-20.08.2
Back to top
View user's profile Send private message
arfe
Apprentice
Apprentice


Joined: 24 Aug 2005
Posts: 298
Location: Essen

PostPosted: Sun Nov 01, 2020 2:34 pm    Post subject: Reply with quote

Viel Vergnügen beim Lesen!


https://www.google.com/search?start=10&client=firefox-b-e&nfpr=1&sxsrf=ALeKk02RMQx_HBwASnAlkWQ429-FhqVz2Q:1604241294352&q=HIdpi+linux&spell=1&sa=X&ved=2ahUKEwj89-7DyOHsAhXNzqQKHX-bDho4ChAFKAB6BAgLEC4&biw=2104&bih=1166
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Mon Nov 02, 2020 6:02 pm    Post subject: Reply with quote

hiDPI on Linux ist ein anderes Thema. Dazu wollte ich einen anderen Beitrag aufmachen. Hier geht es um die Performance speziell beim Compositing. Der Desktop mit Compositing funktioniert. Ist aber nicht so der Kracher, wie ich mir das mit er neuen GraKa erhofft habe. Naja, ist vielleicht nicht besser hinzubekommen.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Nov 02, 2020 6:33 pm    Post subject: Reply with quote

Quote:
Ist aber nicht so der Kracher, wie ich mir das mit er neuen GraKa erhofft habe. Naja, ist vielleicht nicht besser hinzubekommen.

Du sprichst in Rätseln. Was genau geht denn nicht wie erhofft?

Ich habe eine uralte Intel CPU mit GPU auf dem Prozessor. Alles funktioniert wunderbar - ich hatte noch nie das Gefühl, dass etwas zu langsam ist.

Also sollte es mit Deiner neuen NVidia Grafikkarte, die bestimmt 100, nein 1000 Mal schneller ist, doch überhaupt keinen Grund zur Klage geben???

Wenn doch, dann schau Dir die Ausgabe in Xorg.log an. Gibt es dort Warnungen oder Fehlermeldungen? Oder fehlt irgendeine der gewünschten Beschleunigungstechniken?
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Tue Nov 03, 2020 5:34 pm    Post subject: Reply with quote

Als ich den Beitrag geschrieben habe hatte ich bei glxgears ca. 25.000 FPS. Jetzt bin ich bei ca. 60.000 FPS.
Code:
301 frames in 5.0 seconds = 60.101 FPS
Das ist schon besser. Ich habe aber leider keine Vergleichswerte.
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Nov 03, 2020 6:20 pm    Post subject: Reply with quote

Es sind vermutlich nicht 60.000, sondern 60,0... Letztendlich hast Du die Bildwiederholfrequenz Deines Monitors gemessen. :)

Wiederhole den Test noch einmal mit:
Code:
vblank_mode=0 glxgears

Einmal mit der Originalgröße des Fensters und einmal mit Fullscreen. Lass den Test jeweils eine Minute lang laufen - die ersten Werte sind manchmal verfälscht.

Bei meiner Uralt-CPU von 2012 mit integrierter GPU (Intel Core i5-3570K) erhalte ich folgende Ergebnisse:
  • Originalgröße des Fensters: 8900 FPS
  • Fullscreen (1920*1200): 370 FPS

Welche Werte erhältst Du? Sie müssten eigentlich deutlich höher sein.

Vielleicht hat ja auch jemand anderes eine aktuelle Grafikkarte und kann seine Ergebnisse posten.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5205

PostPosted: Tue Nov 03, 2020 7:23 pm    Post subject: Reply with quote

glxgears ist kein benchmark!
Um wirklich die 3D-Grafik Leistung zu testen braucht es einen richtigen Benchmark.
z.b. glmark2 oder die Unigine Benchmark (Valley, Heaven, Tropics und Sanctuary )
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Tue Nov 03, 2020 7:32 pm    Post subject: Reply with quote

In beiden Fällen im Durchschnitt
Code:
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.992 FPS
300 frames in 5.0 seconds = 59.990 FPS
Back to top
View user's profile Send private message
arfe
Apprentice
Apprentice


Joined: 24 Aug 2005
Posts: 298
Location: Essen

PostPosted: Tue Nov 03, 2020 8:16 pm    Post subject: Reply with quote

flammenflitzer wrote:
hiDPI on Linux ist ein anderes Thema. Dazu wollte ich einen anderen Beitrag aufmachen. Hier geht es um die Performance speziell beim Compositing. Der Desktop mit Compositing funktioniert. Ist aber nicht so der Kracher, wie ich mir das mit er neuen GraKa erhofft habe. Naja, ist vielleicht nicht besser hinzubekommen.


https://www.google.com/search?client=firefox-b-e&q=glx+benchmark+linux+gentoo


Viel Spaß beim Lesen!
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Nov 03, 2020 8:37 pm    Post subject: Reply with quote

firefly wrote:
glxgears ist kein benchmark!
Um wirklich die 3D-Grafik Leistung zu testen braucht es einen richtigen Benchmark.
z.b. glmark2 oder die Unigine Benchmark (Valley, Heaven, Tropics und Sanctuary )

Stimmt! Es ist aber ein schneller Test um zu überprüfen, ob alles in Ordnung ist...

Und wenn Flammenflitzer das erhält:
Code:
300 frames in 5.0 seconds = 59.999 FPS

dann funktioniert vermutlich die Umgebungsvariable "vblank_mode=0" nicht.

Ich habe gegoogelt und hier schreibt jemand , dass es bei Nvidia GPUs so funktioniert:
Code:
# __GL_SYNC_TO_VBLANK=1 glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
299 frames in 5.0 seconds = 59.631 FPS

# __GL_SYNC_TO_VBLANK=0 glxgears
123259 frames in 5.0 seconds = 24651.678 FPS

Also, Flammenflitzer, bitte probiere mal:
Code:
__GL_SYNC_TO_VBLANK=0 glxgears
Back to top
View user's profile Send private message
arfe
Apprentice
Apprentice


Joined: 24 Aug 2005
Posts: 298
Location: Essen

PostPosted: Tue Nov 03, 2020 9:39 pm    Post subject: Reply with quote

mike155 wrote:

# __GL_SYNC_TO_VBLANK=0 glxgears
123259 frames in 5.0 seconds = 24651.678 FPS[/code]
Also, Flammenflitzer, bitte probiere mal:
Code:
__GL_SYNC_TO_VBLANK=0 glxgears



Bevor wieder nur Spekulationen kommen:

https://download.nvidia.com/XFree86/Linux-x86_64/352.79/README/openglenvvariables.html

Viel Vergnügen beim Lesen!
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Wed Nov 04, 2020 5:33 pm    Post subject: Reply with quote

Danke.
Code:
__GL_SYNC_TO_VBLANK=0 glxgears
61079 frames in 5.0 seconds = 12215.780 FPS
64065 frames in 5.0 seconds = 12812.895 FPS
63925 frames in 5.0 seconds = 12784.869 FPS
60514 frames in 5.0 seconds = 12102.693 FPS
64173 frames in 5.0 seconds = 12834.500 FPS
63737 frames in 5.0 seconds = 12747.229 FPS
63719 frames in 5.0 seconds = 12743.724 FPS
Hat vielleicht jemand Referenzwerte einer aktuellen GraKa? Vielleicht GTX 1660 SUPER :wink:
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Wed Nov 04, 2020 6:45 pm    Post subject: Reply with quote

Code:
63719 frames in 5.0 seconds = 12743.724 FPS

Das sieht schon mal deutlich besser aus. Ich nehme an, das ist der Wert für das Standard-Fenster? Oder ist das schon der Wert für Full-Screeen?

Werte für Nvidia habe ich nicht - aber ich habe ja oben die Werte für die alte Intel CPU gepostet. Und, wie @firefly schon richtig geschrieben hat: glxgears ist kein Benchmark - die Werte sagen also nicht viel aus. Nichtsdestotrotz lasse ich glxgears nach Systemänderungen oder Änderungen am Grafikstack laufen. Wenn ich meinen Referenzwert erhalte, weiß ich, dass vermutlich alles in Ordnung ist. Das Tools hat mich nach Updates jedenfalls schon ein paar mal darauf aufmerksam gemacht, dass etwas nicht stimmt.


Last edited by mike155 on Wed Nov 04, 2020 8:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3488
Location: Berlin

PostPosted: Wed Nov 04, 2020 7:35 pm    Post subject: Reply with quote

Standard-Fenster oder Full-Screeen macht keinen Unterschied.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5205

PostPosted: Wed Nov 04, 2020 8:13 pm    Post subject: Reply with quote

Hier ein weiterer beweis das glxgears kein benschmark ist ;)
(In standard fenstergröße)
Quote:

$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
109464 frames in 5.0 seconds = 21892.695 FPS
112139 frames in 5.0 seconds = 22427.643 FPS
111371 frames in 5.0 seconds = 22274.115 FPS
111102 frames in 5.0 seconds = 22220.400 FPS
111435 frames in 5.0 seconds = 22286.830 FPS


Das ganze mit mesa 20.2.1 und amdgpu kernel treiber (5.8.16)
Mit einer Radeon RX 590
CPU Ryzen 9 3900x

Laut dieser Webseite ist eine NVIDIA GTX 1660 SUPER performanter im 3D-Rendering als die Radeon RX 590
https://gpu.userbenchmark.com/Compare/Nvidia-GTX-1660S-Super-vs-AMD-RX-590/4056vs4033
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum