[ Snacker @ 27.02.2015. 09:39 ] @
Zdravo svima.

Metnuh Debian na laptop, odlučio se za XFCE. Potrebna mi je pomoć oko podešavanja dodatnog monitora.

Koraci koje sam preduzeo:

1. u Settings --> Display --> omogućio korišćenje monitora

2.
Code:
xrandr

output:
Code:
Screen 0: minimum 320 x 200, current 1366 x 1024, maximum 1366 x 1366
VGA-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1280x1024      75.0*    60.0  
   1280x800       59.8  
   1152x864       75.0  
   1280x720       60.0  
   1024x768       75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     66.7     59.9  
   720x400        70.1  
LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768       60.0*+
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   640x480        59.4  
HDMI-0 disconnected (normal left inverted right x axis y axis)
 


3. Probam da uradim nesto, bilo šta :D sa ARandr. Problem je što je prozor koji dobijem skučen, odnosno ograničen i ne mogu da vršim nikakva pomeranja unutar njega i time odredim na koju ću stranu VGA i LVDS.


4.
Code:
xrandr --output VGA-0 --left-of LVDS 
- u ovom trenutnu nebitno da li je --left-of ili --right-of
Dobijam output
Code:
xrandr: screen cannot be larger than 1366x1366 (desired size 2646x1024)


Pretpostavljam da moram da čeprkam nešto oko xorg.conf

Šta činiti?
Hvala unapred.



[Ovu poruku je menjao Snacker dana 27.02.2015. u 12:10 GMT+1]
[ Snacker @ 27.02.2015. 09:50 ] @
Izguglah na netu sledeće. Pokušaću pa... šta bude. :D


-----------------------SOLUTION FOR xrandr: screen cannot be larger than-------------

Step .1 Check if you have xorg.conf file in /etc/X11 .....yes: goto step 3 else step 2

Step .2 Create xorg.conf file using following step

Step 2.a switch to console mode: Alt+Ctrl+F1
Step 2.b kill x server: sudo service lightdm stop
Step 2.c generate new xorg.conf file: sudo X -configure -- this
will create xorg.conf.new file in your current dir
Step 2.d rename and move: sudo mv xorg.conf.new /etc/X11/xorg.conf
Step 2.e return to GUI: sudo start lightdm
Step .3 Open /etc/X11/xorg.conf and add "Virtual 3200 1080" under subsection "Display"

Step 3.a vi /etc/X11/xorg.conf
Step 3.b Add "Virtual 3200 1080" to ALL SubSection "Display"
FOR ALL SCREEN if you have more than one "Display"
Subsection and more than 1 screen (replace 3200 1080
with your desired screen resolution)
FOR EXAMPLE:
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
Virtual 3200 1080
EndSubSection
EndSection
Section "Screen"
Identifier "Screen2"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
Virtual 3200 1080
EndSubSection
EndSection
Step 4. Restart your computer/laptop

Step 5. Create a script (vi /etc/X11/dual_monitor.sh) and include following

xrandr --output DVI-0 --mode 1280x1024
xrandr --output DVI-1 --mode 1920x1080
xrandr --output DVI-0 --auto --right-of DVI-1 --pos 1920x0
change the file permission chmod 755 /etc/X11/dual_monitor.sh (note: my screen1 is DVI-1 and screen2 is DVI-0, and replace resolution as per need) Step 6. Execute the script and see if it works. (/etc/X11/dual_monirot.sh)

Step 7. If the script works, include the script to Auto Start

Menu >> Settings >> Session and Startup >> Application Autostart >> Add
Name: Dual Monitor Xfce
Description: Dual Monitor Xfce
Command: /etc/X11/dual_monitor.sh
Step 8. Restart and enjoy

Step 9. Redo step 7 for all users logged in as the user
[ Snacker @ 27.02.2015. 11:07 ] @
Problem rešen. :)

Kada se dizao sistem, nisam video poruku koja je glasila: "radeon kernel modesetting for r600 or later requires firmware-linux-nonfree"
To je bio uzrok problema.

Ukoliko neko od budućih korisnika bude imao isti problem, evo šta uraditi:



U /etc/apt/sources.list sam već imao

Code:
deb http://http.us.debian.org/debian/ wheezy main contrib non-free


A zatim

Code:
sudo apt-get update
sudo apt-get install firmware-linux-nonfree


Pojavila se poruka: "possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169"

Potrebno je instalirati package firmware-realtek.

Code:
sudo apt-get install firmware-realtek



Nakon toga sa komandne linije pokrenuti arandr i u prozoru napraviti željeni raspored VGA i LVDS.





[ lega99 @ 27.02.2015. 15:15 ] @
Kakve veze ima firmware-realtek sa radeon grafikom?
Debian je tek sad ponovo dozvolio da mogu AMD vlasnicki drajveri za grafiku.
[ Snacker @ 27.02.2015. 18:03 ] @
Ne znam, ali to je rešilo problem.
[ tuxserbia @ 27.02.2015. 18:40 ] @
Nema nikakve veze sa grafikom, samo si nakon instaliranja prvog paketa primetio poruku vezanu za mrežnu karticu. Debian je mnogo konzervativniji što se tiče neslobodnog softvera, pa zato i preporučuju da se pre instalacije, ako ima potrebe naravno, dovuče firmware za raznorazne uređaje. Ostatak linux društva već ima podrazumevano instalirano. To se može proveriti u /lib/firmware, ili sa

Code:

dmesg | grep -i firmware


[ Djetvan @ 27.02.2015. 18:59 ] @
Pre će biti da je problem rešila instalacija :

sudo apt-get install linux-firmware-nonfree

Izvod iz Synaptic-a :

"Most of the firmware in this package is for television tuner cards."



[Ovu poruku je menjao Djetvan dana 28.02.2015. u 10:26 GMT+1]
[ tuxserbia @ 27.02.2015. 19:20 ] @
Pa da, to sam i rekao, prvi paket. Ovaj realtek je za mrežnu, ali je sigurno tad video poruku, pa instalirao i njega.
[ Snacker @ 27.02.2015. 20:04 ] @
Napisao sam redom šta sam sve radio, u gužvi nisam baš mnogo vodio računa šta se kad desilo. Bitno je da radi. :D Hvala svima.