Docking station issues

It didn’t do anything. It didn’t print something in the terminal or didn’t activate any monitor. :confused:

 $ optirun vlc
VLC media player 3.0.11.1 Vetinari (revision 3.0.11.1-0-g52483f3ca2)
[0000561c745d15b0] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[0000561c746e6890] qt interface error: Xlib not initialized for threads
../include/vlc_xlib.h:46:vlc_xlib_init: Xlib not initialized for threads.
This process is probably using LibVLC incorrectly.
Pass "--no-xlib" to libvlc_new() to fix this.
[0000561c746e6890] skins2 interface error: Xlib not initialized for threads
[0000561c746e6890] skins2 interface error: initializing xlib for multi-threading failed
[0000561c746e6890] skins2 interface error: cannot initialize OSFactory
[0000561c74673900] main playlist: playlist is empty
[0000561c746e6890] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.11.1 Vetinari
Command Line Interface initialized. Type `help' for help.

Well obviously it did create a virtual Display. What is this good for? =)

I just realized that you need to run it with optirun, so can you run sudo killall intel-virtual-output && optirun intel-virtual-output -f?

It seems to just stop working until i press ctrl+c to quit the operation. It’s just showing the courser in a new line and doesn’t do anything visible.

No output is expected. Since I have no other idea, can you connect the external monitor, leave it turned on, start optirun intel-virtual-output -f in a terminal, and leave it running; then what’s the output of xrandr and DISPLAY=:8 xrandr? What happens if you run DISPLAY=:8 optirun glxgears?

[XXX@YYY ~]$ optirun intel-virtual-output -f

[XXX@YYY ~]$ xrandr
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
eDP1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.01 +  59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      60.00*   59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1368x768      60.00    59.88    59.85  
   1280x800      59.81    59.91  
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 connected (normal left inverted right x axis y axis)
   1024x768      60.00  
   1600x900      59.82  
   1400x900      59.88  
   1368x768      59.88    59.85  
   1280x800      59.91    59.81  
   1280x720      59.86    59.74  
   1024x576      59.90    59.82  
   960x540       59.82    59.63  
   864x486       59.92    59.57  
   VIRTUAL1.750-800x600  72.19  
   800x600       60.32    56.25  
   VIRTUAL1.753-800x450  59.82  
   VIRTUAL1.754-700x450  59.88  
   VIRTUAL1.755-684x384  59.88  
   VIRTUAL1.756-684x384  59.85  
   640x480       59.94  
   VIRTUAL1.758-640x400  59.98  
   VIRTUAL1.759-640x400  59.88  
   VIRTUAL1.760-640x360  59.86  
   VIRTUAL1.761-640x360  59.83  
   VIRTUAL1.762-512x384  60.00  
   VIRTUAL1.763-512x288  60.00  
   VIRTUAL1.764-512x288  59.92  
   VIRTUAL1.765-480x270  59.82  
   VIRTUAL1.766-480x270  59.63  
   VIRTUAL1.767-432x243  59.92  
   VIRTUAL1.768-432x243  59.57  
   VIRTUAL1.769-400x300  72.19  
   VIRTUAL1.770-320x240  60.05  
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
VIRTUAL3 disconnected (normal left inverted right x axis y axis)

[XXX@YYY ~]$ DISPLAY=:8 xrandr
Can't open display :8

[XXX@YYY ~]$ DISPLAY=:8 optirun glxgears
263 frames in 5.0 seconds = 52.452 FPS
299 frames in 5.0 seconds = 59.609 FPS
300 frames in 5.0 seconds = 59.808 FPS
299 frames in 5.0 seconds = 59.608 FPS
301 frames in 5.0 seconds = 60.009 FPS
301 frames in 5.0 seconds = 60.009 FPS
300 frames in 5.0 seconds = 59.998 FPS
301 frames in 5.0 seconds = 60.008 FPS
301 frames in 5.0 seconds = 60.009 FPS
301 frames in 5.0 seconds = 60.006 FPS
301 frames in 5.0 seconds = 60.008 FPS
^C[ 9647.678827] [WARN]Received Interrupt signal.

I interrupted the last Command on purpose

This is the xrandr command with my display plugged in the “normal” display socket (not the docking station)

$ xrandr
Screen 0: minimum 8 x 8, current 3520 x 1080, maximum 32767 x 32767
eDP1 connected 1600x900+0+90 (normal left inverted right x axis y axis) 340mm x 190mm
   1920x1080     60.01 +  59.93  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      60.00*   59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1368x768      60.00    59.88    59.85  
   1280x800      59.81    59.91  
   1280x720      59.86    60.00    59.74  
   1024x768      60.00  
   1024x576      60.00    59.90    59.82  
   960x540       60.00    59.63    59.82  
   800x600       60.32    56.25  
   864x486       60.00    59.92    59.57  
   640x480       59.94  
   720x405       59.51    60.00    58.99  
   640x360       59.84    59.32    60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 connected primary 1920x1080+1600+0 (normal left inverted right x axis y axis) 520mm x 290mm
   1920x1080     60.00*+  50.00    59.94  
   1680x1050     59.88  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 connected (normal left inverted right x axis y axis)
   1024x768      60.00  
   1600x900      59.82  
   1400x900      59.88  
   1368x768      59.88    59.85  
   1280x800      59.91    59.81  
   1280x720      59.86    59.74  
   1024x576      59.90    59.82  
   960x540       59.82    59.63  
   864x486       59.92    59.57  
   VIRTUAL1.750-800x600  72.19  
   800x600       60.32    56.25  
   VIRTUAL1.753-800x450  59.82  
   VIRTUAL1.754-700x450  59.88  
   VIRTUAL1.755-684x384  59.88  
   VIRTUAL1.756-684x384  59.85  
   640x480       59.94  
   VIRTUAL1.758-640x400  59.98  
   VIRTUAL1.759-640x400  59.88  
   VIRTUAL1.760-640x360  59.86  
   VIRTUAL1.761-640x360  59.83  
   VIRTUAL1.762-512x384  60.00  
   VIRTUAL1.763-512x288  60.00  
   VIRTUAL1.764-512x288  59.92  
   VIRTUAL1.765-480x270  59.82  
   VIRTUAL1.766-480x270  59.63  
   VIRTUAL1.767-432x243  59.92  
   VIRTUAL1.768-432x243  59.57  
   VIRTUAL1.769-400x300  72.19  
   VIRTUAL1.770-320x240  60.05  
VIRTUAL2 disconnected (normal left inverted right x axis y axis)
VIRTUAL3 disconnected (normal left inverted right x axis y axis)

It could be, the way I see it, that “HDMI2” might be the docking station connection. What do you think?

I’m not sure. If you stop intel-virtual-output, and then start optirun intel-virtual-output -v, what does it print?

Its just weird because I would guess that “DP1” and “DP2” stands for Displayport, because it is a Displayport socket I’m using to connect my display without the docking station (only the docking station is providing me with one HDMI socket - not two)

It’s printing a lot! I am not sure if it’s a good idea to post so much output here? Also do you want me run this command with my display connected threw the docking station or the “regular” Display port socket?

here a small sample out of the endless print (connected with the “regular” socket and not threw the docking station)

                
                
                
                
                
                
                
                
        +       
                
                
                
                
                
                
                
:8 marking cursor changed
context_enable_timer timer active? 0
polling - enable timer? 1, nfd=4, ndisplay=2
poll reports 1 fd awake
:0 timer expired (count=1)
:8 setting cursor position (0, 0), visible? 1
:8 updating cursor 16x16, serial 36
:8 setting cursor shape 20007c
:8 mark flush (flush=0)
context_enable_timer timer active? 1
display_flush(:8)
:0 timer still active? 0
polling - enable timer? 0, nfd=4, ndisplay=2
poll reports 1 fd awake
record_callback
record_callback -- from server, event type 6, root 311 (ours? 1)
polling - enable timer? 0, nfd=4, ndisplay=2
poll reports 1 fd awake
:0 woken up
:0 received event 88
:0 cursor changed
:0 cursor image 32x32, serial 37:
                                
                                
                                
                                
             .......            
           ...........          
           ..xxxxxxx..          
          ...xxxxxxx...         
          ...xxxxxxx...         
          .....xxx.....         
           ....xxx....          
           ....xxx....          
            ...xxx...           
            ...xxx...           
            ...xxx...           
            ...xxx...           
            ...x+x...           
            ...xxx...           
            ...xxx...           
            ...xxx...           
            ...xxx...           
           ....xxx....          
           ..xxxxxxx..          
          ...xxxxxxx...         
          ...xxxxxxx...         
          .............         
           ...........          
           ...........          
             .......            
                                
                                
                                
:8 marking cursor changed
context_enable_timer timer active? 0
polling - enable timer? 1, nfd=4, ndisplay=2
poll reports 1 fd awake
:0 timer expired (count=1)
:8 setting cursor position (0, 0), visible? 1
:8 updating cursor 32x32, serial 37
:8 setting cursor shape 200080
:8 mark flush (flush=0)
context_enable_timer timer active? 1
display_flush(:8)
:0 timer still active? 0
polling - enable timer? 0, nfd=4, ndisplay=2
poll reports 1 fd awake
record_callback
record_callback -- from server, event type 6, root 311 (ours? 1)
polling - enable timer? 0, nfd=4, ndisplay=2
poll reports 1 fd awake
record_callback
record_callback -- from server, event type 6, root 311 (ours? 1)
polling - enable timer? 0, nfd=4, ndisplay=2
poll reports 1 fd awake
record_callback
record_callback -- from server, event type 6, root 311 (ours? 1)
polling - enable timer? 0, nfd=4, ndisplay=2
^C[10657.582484] [WARN]Received Interrupt signal.
X11 error from display :8, serial=398, error=8, req=140.29
X11 error from display :8, serial=400, error=8, req=140.29
:8 failed to clear panning on CRTC:730
:8 CRTC:730 x=0, y=0, rotation=0, mode=0
:8 CRTC:730 panning (0, 0)x(0, 0), tracking (0, 0)x(0, 0), border (0, 0),(0, 0)
X11 error from display :8, serial=403, error=8, req=140.29
X11 error from display :8, serial=405, error=8, req=140.29
:8 failed to clear panning on CRTC:731
:8 CRTC:731 x=0, y=0, rotation=0, mode=0
:8 CRTC:731 panning (0, 0)x(0, 0), tracking (0, 0)x(0, 0), border (0, 0),(0, 0)
X11 error from display :8, serial=408, error=8, req=140.29
X11 error from display :8, serial=410, error=8, req=140.29
:8 failed to clear panning on CRTC:732
:8 CRTC:732 x=0, y=0, rotation=0, mode=0
:8 CRTC:732 panning (0, 0)x(0, 0), tracking (0, 0)x(0, 0), border (0, 0),(0, 0)
X11 error from display :8, serial=413, error=8, req=140.29
X11 error from display :8, serial=415, error=8, req=140.29
:8 failed to clear panning on CRTC:733
:8 CRTC:733 x=0, y=0, rotation=0, mode=0
:8 CRTC:733 panning (0, 0)x(0, 0), tracking (0, 0)x(0, 0), border (0, 0),(0, 0)

When you ran this, did you see the gears on your screen?

no i did not see any gears (I know what you are talking about though)

Can you run optirun nvidia-settings?

sorry I was away for a week

is this going to help me with the docking station?
What is it going to do?
Well… I tried it and I got new errors I do nothing know about. It seams to be a pain in the rear to get this running. Unfortunately.

I don’t know what to do at this point. Also I got an awful amount of screen tearing going on lately its just the worst.

What should I do now? I try to fix this for months now but no luck I am just not good at this obviously.

-Cheers